<86>Mar 6 13:49:24 userdel[2319612]: delete user 'rooter' <86>Mar 6 13:49:24 userdel[2319612]: removed group 'rooter' owned by 'rooter' <86>Mar 6 13:49:24 userdel[2319612]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 6 13:49:24 groupadd[2319665]: group added to /etc/group: name=rooter, GID=687 <86>Mar 6 13:49:24 groupadd[2319665]: group added to /etc/gshadow: name=rooter <86>Mar 6 13:49:24 groupadd[2319665]: new group: name=rooter, GID=687 <86>Mar 6 13:49:24 useradd[2319751]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Mar 6 13:49:24 userdel[2319891]: delete user 'builder' <86>Mar 6 13:49:24 userdel[2319891]: removed group 'builder' owned by 'builder' <86>Mar 6 13:49:24 userdel[2319891]: removed shadow group 'builder' owned by 'builder' <86>Mar 6 13:49:24 groupadd[2319913]: group added to /etc/group: name=builder, GID=688 <86>Mar 6 13:49:24 groupadd[2319913]: group added to /etc/gshadow: name=builder <86>Mar 6 13:49:24 groupadd[2319913]: new group: name=builder, GID=688 <86>Mar 6 13:49:24 useradd[2319939]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/rosegarden-17.12-alt2.src.rpm: The use of such a license name is ambiguous: GPL warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %cmakeinstall_std not found <13>Mar 6 13:49:31 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Mar 6 13:49:31 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 6 13:49:31 rpmi: libxkbcommon-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Mar 6 13:49:32 rpmi: qt5-base-common-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:32 rpmi: libfftw3-common-3.3.8-alt1 sisyphus+226899.100.1.1 1554782385 installed <13>Mar 6 13:49:32 rpmi: libgomp1-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 6 13:49:32 rpmi: libglvnd-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:32 rpmi: qt5-declarative-common-5.12.7-alt2 sisyphus+247234.100.1.1 1583224447 installed <13>Mar 6 13:49:32 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Mar 6 13:49:32 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Mar 6 13:49:32 rpmi: libjack-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043818 installed <13>Mar 6 13:49:32 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 6 13:49:32 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 6 13:49:32 rpmi: qt5-tools-common-5.12.7-alt1 sisyphus+246056.340.5.1 1582105860 installed <13>Mar 6 13:49:32 rpmi: libmtdev-1.1.5-alt1 sisyphus+220715.100.1.1 1549364509 installed <13>Mar 6 13:49:32 rpmi: udev-rules-1:244.3-alt2 sisyphus+246535.200.2.1 1581950419 installed <13>Mar 6 13:49:32 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 6 13:49:32 rpmi: libquadmath0-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 6 13:49:32 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 6 13:49:32 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 6 13:49:32 rpmi: libraw1394-11-2.1.2-alt1 sisyphus+225496.100.2.1 1553244590 installed <13>Mar 6 13:49:32 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 6 13:49:32 rpmi: liblo-0.30-alt1 sisyphus+232988.100.1.1 1561297798 installed <13>Mar 6 13:49:32 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Mar 6 13:49:32 rpmi: libiec61883-1.2.0-alt1.qa1 1460815903 installed <13>Mar 6 13:49:32 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 6 13:49:32 rpmi: libquadmath8-devel-8.3.1-alt7 sisyphus+239632.200.3.1 1571787152 installed <13>Mar 6 13:49:32 rpmi: libfftw3q-3.3.8-alt1 sisyphus+226899.100.1.1 1554783258 installed <13>Mar 6 13:49:32 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 6 13:49:32 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855667 installed <13>Mar 6 13:49:32 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Mar 6 13:49:32 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Mar 6 13:49:32 rpmi: libGLES-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:32 rpmi: libOpenGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:32 rpmi: libfftw3-3.3.8-alt1 sisyphus+226899.100.1.1 1554783258 installed <13>Mar 6 13:49:32 rpmi: libfftw3f-3.3.8-alt1 sisyphus+226899.100.1.1 1554783258 installed <13>Mar 6 13:49:32 rpmi: libfftw3l-3.3.8-alt1 sisyphus+226899.100.1.1 1554783258 installed <13>Mar 6 13:49:32 rpmi: rpm-macros-qt5-5.12.7-alt1 sisyphus+246056.100.5.1 1582103956 installed <13>Mar 6 13:49:32 rpmi: xxd-4:8.2.0011-alt1 sisyphus+243069.100.2.2 1577124772 installed <13>Mar 6 13:49:32 rpmi: vulkan-filesystem-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091259 installed <13>Mar 6 13:49:32 rpmi: libvulkan1-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091322 installed <13>Mar 6 13:49:32 rpmi: libsqlite3-3.31.0-alt1 sisyphus+244880.100.1.1 1579796940 installed <13>Mar 6 13:49:32 rpmi: libts-1.0-alt1.qa1 1366249315 installed <13>Mar 6 13:49:32 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818599 installed <13>Mar 6 13:49:32 rpmi: libpcre2-10.34-alt1 sisyphus+241619.100.1.1 1574686794 installed <13>Mar 6 13:49:32 rpmi: libyajl-2.1.0-alt1 1399891591 installed <13>Mar 6 13:49:32 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Mar 6 13:49:32 rpmi: libwacom-data-1.2-alt1 sisyphus+243430.100.1.1 1577100525 installed <13>Mar 6 13:49:34 rpmi: libicu65-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Mar 6 13:49:34 rpmi: libqt5-core-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:34 rpmi: libqt5-xml-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:35 rpmi: libqt5-sql-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:35 rpmi: libqt5-concurrent-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:35 rpmi: libqt5-test-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:35 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855273 installed <13>Mar 6 13:49:35 rpmi: libwacom-1.2-alt1 sisyphus+243430.100.1.1 1577100528 installed <13>Mar 6 13:49:35 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Mar 6 13:49:35 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Mar 6 13:49:35 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Mar 6 13:49:35 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Mar 6 13:49:36 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 6 13:49:36 rpmi: libevdev-1.8.0-alt1 sisyphus+236608.100.1.1 1566815743 installed <13>Mar 6 13:49:36 rpmi: libinput-1.15.1-alt1 sisyphus+245405.100.1.1 1580728614 installed <13>Mar 6 13:49:36 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 6 13:49:36 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 6 13:49:36 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 6 13:49:36 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Mar 6 13:49:36 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 6 13:49:36 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 6 13:49:36 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Mar 6 13:49:36 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 6 13:49:36 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Mar 6 13:49:36 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 6 13:49:36 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 6 13:49:36 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Mar 6 13:49:36 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Mar 6 13:49:36 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Mar 6 13:49:36 rpmi: libXv-1.0.11-alt1 1527685499 installed <13>Mar 6 13:49:36 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Mar 6 13:49:37 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Mar 6 13:49:38 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 6 13:49:38 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 6 13:49:38 rpmi: libXfixes-devel-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 6 13:49:38 rpmi: libXi-devel-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Mar 6 13:49:38 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Mar 6 13:49:38 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152221 installed <13>Mar 6 13:49:38 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Mar 6 13:49:38 rpmi: libxcbutil-image-0.4.0-alt1 1446204182 installed <13>Mar 6 13:49:38 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204124 installed <13>Mar 6 13:49:38 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989886 installed <13>Mar 6 13:49:38 rpmi: libxkbcommon-x11-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Mar 6 13:49:38 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 6 13:49:38 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Mar 6 13:49:38 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Mar 6 13:49:38 rpmi: libGLX-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 6 13:49:38 rpmi: libgbm-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 6 13:49:38 rpmi: libEGL-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 6 13:49:38 rpmi: libEGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:38 rpmi: libGLX-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:38 rpmi: libGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:38 rpmi: libglvnd-devel-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 6 13:49:38 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Mar 6 13:49:38 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Mar 6 13:49:38 rpmi: libsamplerate-0.1.9-alt2 1487790086 installed <13>Mar 6 13:49:38 rpmi: libsigc++2-2.10.2-alt1 sisyphus+231956.100.1.1 1560361060 installed <13>Mar 6 13:49:38 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073800 installed <13>Mar 6 13:49:38 rpmi: libconfig-c++-1.5-alt2 1528494247 installed <13>Mar 6 13:49:38 rpmi: python-modules-curses-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:38 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Mar 6 13:49:38 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Mar 6 13:49:38 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Mar 6 13:49:38 rpmi: libsystemd-1:244.3-alt2 sisyphus+246535.200.2.1 1581950464 installed <13>Mar 6 13:49:38 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 6 13:49:38 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299481 installed <13>Mar 6 13:49:38 rpmi: libcups-2.2.12-alt4 sisyphus+242884.100.1.1 1576235865 installed <13>Mar 6 13:49:38 rpmi: libqt5-dbus-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:38 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Mar 6 13:49:38 rpmi: libcelt-1:0.10.0-alt1.qa1 1365952807 installed <13>Mar 6 13:49:38 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Mar 6 13:49:38 rpmi: libgio-2.62.4-alt1 sisyphus+243311.100.1.3 1576855800 installed <13>Mar 6 13:49:38 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331192 installed <13>Mar 6 13:49:38 rpmi: libglibmm-2.62.0-alt1 sisyphus+237956.10100.4.2 1569342214 installed <13>Mar 6 13:49:38 rpmi: libxml++2-2.40.1-alt4 sisyphus+230149.100.1.1 1558811154 installed <13>Mar 6 13:49:38 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Mar 6 13:49:39 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 6 13:49:40 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 6 13:49:40 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Mar 6 13:49:40 rpmi: rpm-macros-ladspa_sdk-1.13-alt1.qa3 sisyphus+226079.100.1.1 1554104392 installed <13>Mar 6 13:49:40 rpmi: ladspa_sdk-1.13-alt1.qa3 sisyphus+226079.100.1.1 1554104392 installed <13>Mar 6 13:49:40 rpmi: rpm-macros-cmake-3.16.3-alt1 sisyphus+245018.100.1.1 1579899604 installed <13>Mar 6 13:49:40 rpmi: rmt-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>Mar 6 13:49:40 rpmi: dump-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>Mar 6 13:49:40 rpmi: cmake-modules-3.16.3-alt1 sisyphus+245018.100.1.1 1579899565 installed <13>Mar 6 13:49:40 rpmi: libuv-1.34.2-alt1 sisyphus+246660.100.1.1 1582156875 installed <13>Mar 6 13:49:40 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Mar 6 13:49:40 rpmi: libjsoncpp19-1.8.4-alt5 sisyphus+243670.100.1.1 1577521267 installed <13>Mar 6 13:49:40 rpmi: publicsuffix-list-dafsa-20200106-alt1 sisyphus+244007.100.1.1 1578588044 installed <13>Mar 6 13:49:40 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531657 installed <13>Mar 6 13:49:40 rpmi: libnghttp2-1.40.0-alt1 sisyphus+244416.100.1.1 1579241942 installed <13>Mar 6 13:49:40 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 6 13:49:40 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 6 13:49:40 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Mar 6 13:49:40 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Mar 6 13:49:40 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223065 installed <13>Mar 6 13:49:40 rpmi: libarchive13-3.4.0-alt1 sisyphus+235265.640.9.1 1566482857 installed <13>Mar 6 13:49:41 rpmi: llvm9.0-libs-9.0.1-alt2 sisyphus+246248.100.2.1 1581682971 installed <13>Mar 6 13:49:43 rpmi: clang9.0-libs-9.0.1-alt2 sisyphus+246248.100.2.1 1581682971 installed <13>Mar 6 13:49:43 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 6 13:49:43 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 6 13:49:43 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 6 13:49:43 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 6 13:49:43 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 6 13:49:43 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 6 13:49:43 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 6 13:49:43 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 6 13:49:43 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 6 13:49:43 rpmi: libqt5-network-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:43 rpmi: libqt5-eglfsdeviceintegration-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:43 rpmi: libqt5-xcbqpa-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:43 rpmi: libqt5-eglfskmssupport-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:43 rpmi: libqt5-gui-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:44 rpmi: libqt5-widgets-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:44 rpmi: libqt5-quickshapes-5.12.7-alt2 sisyphus+247234.100.1.1 1583224447 installed <13>Mar 6 13:49:44 rpmi: libqt5-quick-5.12.7-alt2 sisyphus+247234.100.1.1 1583224447 installed <13>Mar 6 13:49:44 rpmi: libqt5-qml-5.12.7-alt2 sisyphus+247234.100.1.1 1583224447 installed <86>Mar 6 13:49:44 groupadd[2357057]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 6 13:49:44 groupadd[2357057]: group added to /etc/gshadow: name=_keytab <86>Mar 6 13:49:44 groupadd[2357057]: new group: name=_keytab, GID=499 <13>Mar 6 13:49:44 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Mar 6 13:49:44 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 6 13:49:44 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 6 13:49:45 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 6 13:49:45 rpmi: libvulkan-devel-1.1.121-alt1.1 sisyphus+236811.500.2.1 1567091322 installed <86>Mar 6 13:49:45 groupadd[2359366]: group added to /etc/group: name=sasl, GID=498 <86>Mar 6 13:49:45 groupadd[2359366]: group added to /etc/gshadow: name=sasl <86>Mar 6 13:49:45 groupadd[2359366]: new group: name=sasl, GID=498 <13>Mar 6 13:49:45 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>Mar 6 13:49:45 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449022 installed <13>Mar 6 13:49:45 rpmi: libcurl-7.68.0-alt1 sisyphus+244054.100.1.1 1578655327 installed <13>Mar 6 13:49:45 rpmi: libraptor2-2.0.15-alt1 1417013332 installed <13>Mar 6 13:49:45 rpmi: liblrdf-0.6.1-alt1 1493047570 installed <13>Mar 6 13:49:45 rpmi: raptor2-devel-2.0.15-alt1 1417013332 installed <13>Mar 6 13:49:45 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 6 13:49:45 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 6 13:49:45 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-xml-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-hotshot-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-bsddb-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 6 13:49:45 rpmi: python-strict-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 6 13:49:46 rpmi: libffado-2.4.1-alt2 sisyphus+222591.100.1.1 1550914672 installed <13>Mar 6 13:49:46 rpmi: libqt5-designer-5.12.7-alt1 sisyphus+246056.340.5.1 1582106703 installed <13>Mar 6 13:49:46 rpmi: libqt5-designercomponents-5.12.7-alt1 sisyphus+246056.340.5.1 1582106703 installed <13>Mar 6 13:49:46 rpmi: libqt5-help-5.12.7-alt1 sisyphus+246056.340.5.1 1582106703 installed <13>Mar 6 13:49:46 rpmi: qt5-tools-5.12.7-alt1 sisyphus+246056.340.5.1 1582106703 installed <13>Mar 6 13:49:46 rpmi: libqt5-opengl-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:46 rpmi: libqt5-printsupport-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:47 rpmi: qt5-base-devel-5.12.7-alt1 sisyphus+246056.100.5.1 1582104231 installed <13>Mar 6 13:49:47 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Mar 6 13:49:47 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Mar 6 13:49:47 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270238 installed <13>Mar 6 13:49:47 rpmi: dssi-1.1.1-alt1.1 1371712591 installed <13>Mar 6 13:49:47 rpmi: libalsa-devel-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270238 installed <13>Mar 6 13:49:47 rpmi: jack-audio-connection-kit-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043818 installed <13>Mar 6 13:49:47 rpmi: libportaudio2-19-alt7 1528701669 installed <13>Mar 6 13:49:47 rpmi: liblirc-0.10.1-alt2 sisyphus+225625.45240.91.1 1555353051 installed <13>Mar 6 13:49:47 rpmi: liblirc-devel-0.10.1-alt2 sisyphus+225625.45240.91.1 1555353051 installed <13>Mar 6 13:49:47 rpmi: libjack-devel-1:1.9.12-alt2 sisyphus+222776.100.1.1 1551043818 installed <13>Mar 6 13:49:47 rpmi: dssi-devel-1.1.1-alt1.1 1371712591 installed <13>Mar 6 13:49:47 rpmi: qt5-tools-devel-5.12.7-alt1 sisyphus+246056.340.5.1 1582106703 installed <13>Mar 6 13:49:47 rpmi: liblrdf-devel-0.6.1-alt1 1493047570 installed <13>Mar 6 13:49:47 rpmi: cmake-3.16.3-alt1 sisyphus+245018.100.1.1 1579899604 installed <13>Mar 6 13:49:47 rpmi: libsamplerate-devel-0.1.9-alt2 1487790086 installed <13>Mar 6 13:49:47 rpmi: libsndfile-devel-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Mar 6 13:49:47 rpmi: libXrandr-devel-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 6 13:49:47 rpmi: libXtst-devel-1.2.2-alt1 1369984893 installed <13>Mar 6 13:49:47 rpmi: libXv-devel-1.0.11-alt1 1527685499 installed <13>Mar 6 13:49:47 rpmi: libXcursor-devel-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Mar 6 13:49:47 rpmi: libXinerama-devel-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Mar 6 13:49:47 rpmi: libfftw3-devel-3.3.8-alt1 sisyphus+226899.100.1.1 1554783258 installed <13>Mar 6 13:49:47 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 6 13:49:47 rpmi: liblo-devel-0.30-alt1 sisyphus+232988.100.1.1 1561297798 installed <13>Mar 6 13:49:47 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/rosegarden-17.12-alt2.nosrc.rpm Installing rosegarden-17.12-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.88546 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rosegarden-17.12 + echo 'Source #0 (rosegarden-17.12.tar):' Source #0 (rosegarden-17.12.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/rosegarden-17.12.tar + cd rosegarden-17.12 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.88546 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rosegarden-17.12 + mkdir -p BUILD + __cmake + pushd BUILD ~/RPM/BUILD/rosegarden-17.12/BUILD ~/RPM/BUILD/rosegarden-17.12 + 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= -- 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 -- Autodetecting Qt version to use -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'alsa>=0.9' -- Found alsa, version 1.2.2 -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- 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 'liblo>=0.7' -- Found liblo, version 0.30 -- Checking for module 'lrdf>=0.2' -- Found lrdf, version 0.5.0 -- Checking for module 'fftw3f>=3.0.0' -- Found fftw3f, version 3.3.8 -- Checking for module 'samplerate>=0.1.2' -- Found samplerate, version 0.1.9 -- Checking for module 'sndfile>=1.0.16' -- Found sndfile, version 1.0.28 -- Checking for module 'jack' -- Found jack, version 1.9.12 -- The following features have been enabled: * ALSA, Alsa library (Advanced Linux Sound Architecture), used for MIDI support * SNDFILE, Better support for WAV files * JACK, Library for accessing the JACK server (http://jackaudio.org). * LIRCCLIENT, The LIRC client library, for remote control support -- The following REQUIRED packages have been found: * Qt5Core * Qt5Gui * Qt5Widgets * Qt5Xml * Qt5Network * Qt5PrintSupport * Qt5Test * Qt5 (required version >= 5.1.0) * PkgConfig * ZLIB * X11 -- Not building unit tests, using a static library for rosegarden -- Found SharedMimeInfo: /usr/bin/update-mime-database (found suitable version "1.15", minimum required is "0.50") -- Configuring done CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. Run "cmake --help-policy CMP0071" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility, CMake is excluding the GENERATED source file(s): "/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/qrc_locale.cpp" "/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/svnversion.h" from processing by AUTOMOC. If any of the files should be processed, set CMP0071 to NEW. If any of the files should not be processed, explicitly exclude them by setting the source file property SKIP_AUTOMOC: set_property(SOURCE file.h PROPERTY SKIP_AUTOMOC ON) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD + popd ~/RPM/BUILD/rosegarden-17.12 + make -j8 -C BUILD make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' Scanning dependencies of target svnheader make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating svn_header, svnversion.h -- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) -- Build key 730ddc002c make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Built target svnheader make[1]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' Scanning dependencies of target rosegardenprivate_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Automatic MOC for target rosegardenprivate make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Built target rosegardenprivate_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating ui_DeviceManagerDialogUi.h make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating ui_RosegardenTransportUi.h make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating locale.qrc make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating ca.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ca.qm'... Generated 2396 translation(s) (3 finished and 2393 unfinished) Ignored 2094 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating zh_CN.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/zh_CN.qm'... Generated 3922 translation(s) (3744 finished and 178 unfinished) Ignored 568 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating cs.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/cs.qm'... Generated 4327 translation(s) (4257 finished and 70 unfinished) Ignored 162 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating en.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/en.qm'... Generated 4490 translation(s) (4490 finished and 0 unfinished) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating cy.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/cy.qm'... Generated 1781 translation(s) (3 finished and 1778 unfinished) Ignored 2709 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating en_US.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/en_US.qm'... Generated 4490 translation(s) (4490 finished and 0 unfinished) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating qrc_data.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 1%] Generating de.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/de.qm'... Generated 4327 translation(s) (4260 finished and 67 unfinished) Ignored 162 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating en_GB.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/en_GB.qm'... Generated 4490 translation(s) (4490 finished and 0 unfinished) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating et.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/et.qm'... Generated 1852 translation(s) (3 finished and 1849 unfinished) Ignored 2638 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating eu.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/eu.qm'... Generated 2465 translation(s) (3 finished and 2462 unfinished) Ignored 2025 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating es.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/es.qm'... Generated 4490 translation(s) (4490 finished and 0 unfinished) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating nl.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/nl.qm'... Generated 3135 translation(s) (3061 finished and 74 unfinished) Ignored 1356 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating it.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/it.qm'... Generated 4197 translation(s) (4120 finished and 77 unfinished) Ignored 293 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 2%] Generating fi.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/fi.qm'... Generated 4011 translation(s) (3905 finished and 106 unfinished) Ignored 479 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating ja.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ja.qm'... Generated 4159 translation(s) (4048 finished and 111 unfinished) Ignored 331 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating fr.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/fr.qm'... Generated 4490 translation(s) (4490 finished and 0 unfinished) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 4%] Generating sv.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/sv.qm'... Generated 4193 translation(s) (4120 finished and 73 unfinished) Ignored 297 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating pt_BR.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/pt_BR.qm'... Generated 4182 translation(s) (4108 finished and 74 unfinished) Ignored 307 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating id.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/id.qm'... Generated 2194 translation(s) (2050 finished and 144 unfinished) Ignored 2296 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 4%] Generating ru.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ru.qm'... Generated 3423 translation(s) (3126 finished and 297 unfinished) Ignored 1067 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 4%] Generating svn_header, svnversion.h -- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) -- Build key 730ddc002c make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 3%] Generating pl.qm Updating '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/pl.qm'... Generated 4086 translation(s) (3989 finished and 97 unfinished) Ignored 403 untranslated source text(s) make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 5%] Generating qrc_locale.cpp make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' Scanning dependencies of target rosegardenprivate make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/GzipFile.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std' 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std' 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std' 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std' 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp: In static member function 'static bool Rosegarden::GzipFile::writeToFile(QString, QString)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:29:42: error: 'class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 29 | std::string stext = std::string(text.toUtf8().data()); | ^~~~~~ | fromUtf8 /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:33:29: error: 'class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 33 | gzFile fd = gzopen(file.toLocal8Bit().data(), "wb"); | ^~~~~~~~~~~ | fromLocal8Bit /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp: In static member function 'static bool Rosegarden::GzipFile::readFromFile(QString, QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:46:29: error: 'class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 46 | gzFile fd = gzopen(file.toLocal8Bit().data(), "rb"); | ^~~~~~~~~~~ | fromLocal8Bit In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/GzipFile.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'uInt'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'uInt'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | uInt make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:971: src/CMakeFiles/rosegardenprivate.dir/document/GzipFile.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/Command.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std' 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std' 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std' 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std' 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:44, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qeventloop.h: At global scope: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qcoreapplication.h:46, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp: In member function 'virtual QString Rosegarden::BundleCommand::getName() const': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:102:59: error: 'class QString' has no member named 'arg' 102 | return tr("%1 (%n change(s))", "", m_commands.size()).arg(m_name); | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | int make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:997: src/CMakeFiles/rosegardenprivate.dir/document/Command.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/BasicCommand.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qhash.h:45, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/bits/stl_tree.h:63, from /usr/include/c++/9/set:60, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:43, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qset.h: In member function 'QSet& QSet::subtract(const QSet&)': /usr/include/qt5/QtCore/qset.h:348:14: error: 'i' does not name a type 348 | auto i = other.constEnd(); | ^ /usr/include/qt5/QtCore/qset.h:349:16: error: 'i' was not declared in this scope 349 | while (i != other.constBegin()) { | ^ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qdebug.h: In member function 'QDebug& QDebug::operator<<(QStringView)': /usr/include/qt5/QtCore/qdebug.h:158:60: error: 'class QStringView' has no member named 'data' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ /usr/include/qt5/QtCore/qdebug.h:158:77: error: 'class QStringView' has no member named 'size' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qdebug.h: At global scope: /usr/include/qt5/QtCore/qdebug.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qdebug.h:371:15: error: 'enable_if' in namespace 'std' does not name a template type 371 | typename std::enable_if::Value, QDebug>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:371:24: error: expected unqualified-id before '<' token 371 | typename std::enable_if::Value, QDebug>::type | ^ /usr/include/qt5/QtCore/qdebug.h:380:37: error: 'enable_if' in namespace 'std' does not name a template type 380 | typename A = typename std::enable_if::value, void>::type, | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:380:46: error: expected '>' before '<' token 380 | typename A = typename std::enable_if::value, void>::type, | ^ /usr/include/qt5/QtCore/qdebug.h:385:1: error: expected unqualified-id before '{' token 385 | { | ^ /usr/include/qt5/QtCore/qdebug.h:393:22: error: 'enable_if' in namespace 'std' does not name a template type 393 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:393:31: error: expected unqualified-id before '<' token 393 | inline typename std::enable_if< | ^ /usr/include/qt5/QtCore/qdebug.h:404:22: error: 'enable_if' in namespace 'std' does not name a template type 404 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:404:31: error: expected unqualified-id before '<' token 404 | inline typename std::enable_if< | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QIODevice::OpenModeFlag]': /usr/include/qt5/QtCore/qiodevice.h:185:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QLocale::NumberOption]': /usr/include/qt5/QtCore/qlocale.h:1099:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QTextStream::NumberFlag]': /usr/include/qt5/QtCore/qtextstream.h:202:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QMap; typename T::key_type = QString; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QMap; typename T::mapped_type = QVariant; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QHash; typename T::key_type = QString; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QHash; typename T::mapped_type = QVariant; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/BasicCommand.cpp:21: /usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode::destroySubTree() [with Key = QString; T = QVariant]': /usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData::destroy() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap::~QMap() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qvariant.h:821:29: required from here /usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope 127 | callDestructorIfNecessary(key); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 128 | callDestructorIfNecessary(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:1010: src/CMakeFiles/rosegardenprivate.dir/document/BasicCommand.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/LinkedSegmentsCommand.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qhash.h:45, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/bits/stl_tree.h:63, from /usr/include/c++/9/set:60, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:43, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qset.h: In member function 'QSet& QSet::subtract(const QSet&)': /usr/include/qt5/QtCore/qset.h:348:14: error: 'i' does not name a type 348 | auto i = other.constEnd(); | ^ /usr/include/qt5/QtCore/qset.h:349:16: error: 'i' was not declared in this scope 349 | while (i != other.constBegin()) { | ^ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qdebug.h: In member function 'QDebug& QDebug::operator<<(QStringView)': /usr/include/qt5/QtCore/qdebug.h:158:60: error: 'class QStringView' has no member named 'data' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ /usr/include/qt5/QtCore/qdebug.h:158:77: error: 'class QStringView' has no member named 'size' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qdebug.h: At global scope: /usr/include/qt5/QtCore/qdebug.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qdebug.h:371:15: error: 'enable_if' in namespace 'std' does not name a template type 371 | typename std::enable_if::Value, QDebug>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:371:24: error: expected unqualified-id before '<' token 371 | typename std::enable_if::Value, QDebug>::type | ^ /usr/include/qt5/QtCore/qdebug.h:380:37: error: 'enable_if' in namespace 'std' does not name a template type 380 | typename A = typename std::enable_if::value, void>::type, | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:380:46: error: expected '>' before '<' token 380 | typename A = typename std::enable_if::value, void>::type, | ^ /usr/include/qt5/QtCore/qdebug.h:385:1: error: expected unqualified-id before '{' token 385 | { | ^ /usr/include/qt5/QtCore/qdebug.h:393:22: error: 'enable_if' in namespace 'std' does not name a template type 393 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:393:31: error: expected unqualified-id before '<' token 393 | inline typename std::enable_if< | ^ /usr/include/qt5/QtCore/qdebug.h:404:22: error: 'enable_if' in namespace 'std' does not name a template type 404 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:404:31: error: expected unqualified-id before '<' token 404 | inline typename std::enable_if< | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::LinkedSegmentsCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::LinkedSegmentsCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QIODevice::OpenModeFlag]': /usr/include/qt5/QtCore/qiodevice.h:185:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QLocale::NumberOption]': /usr/include/qt5/QtCore/qlocale.h:1099:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QTextStream::NumberFlag]': /usr/include/qt5/QtCore/qtextstream.h:202:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QMap; typename T::key_type = QString; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QMap; typename T::mapped_type = QVariant; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QHash; typename T::key_type = QString; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QHash; typename T::mapped_type = QVariant; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/LinkedSegmentsCommand.cpp:18: /usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode::destroySubTree() [with Key = QString; T = QVariant]': /usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData::destroy() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap::~QMap() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qvariant.h:821:29: required from here /usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope 127 | callDestructorIfNecessary(key); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 128 | callDestructorIfNecessary(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:984: src/CMakeFiles/rosegardenprivate.dir/document/LinkedSegmentsCommand.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/CommandRegistry.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std' 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std' 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std' 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std' 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qlist.h:44, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qkeysequence.h: At global scope: /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: 'is_integral' is not a member of 'std' 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: expected primary-expression before '>' token 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: '::value' has not been declared 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:113:5: error: 'nullptr' was not declared in this scope 113 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:113:5: error: 'nullptr' was not declared in this scope 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h:67:5: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:71:5: error: expected unqualified-id before '[' token 71 | Q_REQUIRED_RESULT QSize scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:72:5: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT QSize scaled(const QSize &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:74:5: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize expandedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:75:5: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize boundedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h:101:1: error: 'is_integral' is not a member of 'std' 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: expected primary-expression before '>' token 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: '::value' has not been declared 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:44, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsize.h:142:31: error: no declaration matches 'QSize QSize::transposed() const' 142 | Q_DECL_CONSTEXPR inline QSize QSize::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:142:31: note: no functions named 'QSize QSize::transposed() const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSize::scale(const QSize&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:149:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 149 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:151:14: error: no declaration matches 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' 151 | inline QSize QSize::scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:151:14: note: no functions named 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h: In member function 'QSize& QSize::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:189:5: error: 'qFuzzyIsNull' was not declared in this scope 189 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSize operator/(const QSize&, qreal)': /usr/include/qt5/QtCore/qsize.h:196:5: error: 'qFuzzyIsNull' was not declared in this scope 196 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:44, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:200:31: error: no declaration matches 'QSize QSize::expandedTo(const QSize&) const' 200 | Q_DECL_CONSTEXPR inline QSize QSize::expandedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:200:31: note: no functions named 'QSize QSize::expandedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: error: no declaration matches 'QSize QSize::boundedTo(const QSize&) const' 205 | Q_DECL_CONSTEXPR inline QSize QSize::boundedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: note: no functions named 'QSize QSize::boundedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:236:5: error: expected unqualified-id before '[' token 236 | Q_REQUIRED_RESULT QSizeF scaled(const QSizeF &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF expandedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF boundedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h:268:1: error: 'is_integral' is not a member of 'std' 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: expected primary-expression before '>' token 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: '::value' has not been declared 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:44, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsize.h: In member function 'bool QSizeF::isNull() const': /usr/include/qt5/QtCore/qsize.h:292:10: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 292 | { return qIsNull(wd) && qIsNull(ht); } | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:312:32: error: no declaration matches 'QSizeF QSizeF::transposed() const' 312 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:312:32: note: no functions named 'QSizeF QSizeF::transposed() const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSizeF::scale(const QSizeF&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:319:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 319 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:321:15: error: no declaration matches 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' 321 | inline QSizeF QSizeF::scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:321:15: note: no functions named 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator==(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:340:10: error: 'qFuzzyCompare' was not declared in this scope 340 | { return qFuzzyCompare(s1.wd, s2.wd) && qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator!=(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:343:11: error: 'qFuzzyCompare' was not declared in this scope 343 | { return !qFuzzyCompare(s1.wd, s2.wd) || !qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsize.h: In member function 'QSizeF& QSizeF::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:359:5: error: 'qFuzzyIsNull' was not declared in this scope 359 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSizeF operator/(const QSizeF&, qreal)': /usr/include/qt5/QtCore/qsize.h:366:5: error: 'qFuzzyIsNull' was not declared in this scope 366 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:44, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:370:32: error: no declaration matches 'QSizeF QSizeF::expandedTo(const QSizeF&) const' 370 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::expandedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:370:32: note: no functions named 'QSizeF QSizeF::expandedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: error: no declaration matches 'QSizeF QSizeF::boundedTo(const QSizeF&) const' 375 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::boundedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: note: no functions named 'QSizeF QSizeF::boundedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmargins.h:88:1: error: 'is_integral' is not a member of 'std' 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: expected primary-expression before '>' token 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: '::value' has not been declared 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: 'is_integral' is not a member of 'std' 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: expected primary-expression before '>' token 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: '::value' has not been declared 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:43, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qmargins.h: In member function 'bool QMarginsF::isNull() const': /usr/include/qt5/QtCore/qmargins.h:345:10: error: 'qFuzzyIsNull' was not declared in this scope 345 | { return qFuzzyIsNull(m_left) && qFuzzyIsNull(m_top) && qFuzzyIsNull(m_right) && qFuzzyIsNull(m_bottom); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h: In function 'bool operator==(const QMarginsF&, const QMarginsF&)': /usr/include/qt5/QtCore/qmargins.h:374:12: error: 'qFuzzyCompare' was not declared in this scope 374 | return qFuzzyCompare(lhs.left(), rhs.left()) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qpoint.h: At global scope: /usr/include/qt5/QtCore/qpoint.h:106:1: error: 'is_integral' is not a member of 'std' 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: expected primary-expression before '>' token 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: '::value' has not been declared 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: 'is_integral' is not a member of 'std' 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: expected primary-expression before '>' token 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: '::value' has not been declared 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qpoint.h: In member function 'bool QPointF::isNull() const': /usr/include/qt5/QtCore/qpoint.h:298:12: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 298 | return qIsNull(xp) && qIsNull(yp); | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qpoint.h: In function 'bool operator==(const QPointF&, const QPointF&)': /usr/include/qt5/QtCore/qpoint.h:354:34: error: 'qFuzzyIsNull' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:354:64: error: 'qFuzzyCompare' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:73:5: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT QRect normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(int dx, int dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(const QPoint &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect adjusted(int x1, int y1, int x2, int y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:139:5: error: expected unqualified-id before '[' token 139 | Q_REQUIRED_RESULT inline QRect united(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:140:5: error: expected unqualified-id before '[' token 140 | Q_REQUIRED_RESULT inline QRect intersected(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qrect.h:166:1: error: 'is_integral' is not a member of 'std' 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: expected primary-expression before '>' token 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: '::value' has not been declared 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qrect.h:290:31: error: no declaration matches 'QRect QRect::translated(int, int) const' 290 | Q_DECL_CONSTEXPR inline QRect QRect::translated(int dx, int dy) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:290:31: note: no functions named 'QRect QRect::translated(int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: error: no declaration matches 'QRect QRect::translated(const QPoint&) const' 293 | Q_DECL_CONSTEXPR inline QRect QRect::translated(const QPoint &p) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: note: no functions named 'QRect QRect::translated(const QPoint&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: error: no declaration matches 'QRect QRect::transposed() const' 296 | Q_DECL_CONSTEXPR inline QRect QRect::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: note: no functions named 'QRect QRect::transposed() const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: error: no declaration matches 'QRect QRect::adjusted(int, int, int, int) const' 399 | Q_DECL_CONSTEXPR inline QRect QRect::adjusted(int xp1, int yp1, int xp2, int yp2) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: note: no functions named 'QRect QRect::adjusted(int, int, int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: error: no declaration matches 'QRect QRect::intersected(const QRect&) const' 444 | inline QRect QRect::intersected(const QRect &other) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: note: no functions named 'QRect QRect::intersected(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: error: no declaration matches 'QRect QRect::united(const QRect&) const' 449 | inline QRect QRect::united(const QRect &r) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: note: no functions named 'QRect QRect::united(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qrect.h:523:5: error: expected unqualified-id before '[' token 523 | Q_REQUIRED_RESULT QRectF normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:563:5: error: expected unqualified-id before '[' token 563 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(qreal dx, qreal dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:564:5: error: expected unqualified-id before '[' token 564 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(const QPointF &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:566:5: error: expected unqualified-id before '[' token 566 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:578:5: error: expected unqualified-id before '[' token 578 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF adjusted(qreal x1, qreal y1, qreal x2, qreal y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:595:5: error: expected unqualified-id before '[' token 595 | Q_REQUIRED_RESULT inline QRectF united(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:596:5: error: expected unqualified-id before '[' token 596 | Q_REQUIRED_RESULT inline QRectF intersected(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:612:5: error: expected unqualified-id before '[' token 612 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect toRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:613:5: error: expected unqualified-id before '[' token 613 | Q_REQUIRED_RESULT QRect toAlignedRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qrect.h:626:1: error: 'is_integral' is not a member of 'std' 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: expected primary-expression before '>' token 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: '::value' has not been declared 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qrect.h:773:32: error: no declaration matches 'QRectF QRectF::translated(qreal, qreal) const' 773 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(qreal dx, qreal dy) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:773:32: note: no functions named 'QRectF QRectF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: error: no declaration matches 'QRectF QRectF::translated(const QPointF&) const' 776 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(const QPointF &p) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: note: no functions named 'QRectF QRectF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: error: no declaration matches 'QRectF QRectF::transposed() const' 779 | Q_DECL_CONSTEXPR inline QRectF QRectF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: note: no functions named 'QRectF QRectF::transposed() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: error: no declaration matches 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' 817 | Q_DECL_CONSTEXPR inline QRectF QRectF::adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: note: no functions named 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: error: no declaration matches 'QRectF QRectF::intersected(const QRectF&) const' 849 | inline QRectF QRectF::intersected(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: note: no functions named 'QRectF QRectF::intersected(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: error: no declaration matches 'QRectF QRectF::united(const QRectF&) const' 854 | inline QRectF QRectF::united(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: note: no functions named 'QRectF QRectF::united(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator==(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:861:12: error: 'qFuzzyCompare' was not declared in this scope 861 | return qFuzzyCompare(r1.xp, r2.xp) && qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator!=(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:867:13: error: 'qFuzzyCompare' was not declared in this scope 867 | return !qFuzzyCompare(r1.xp, r2.xp) || !qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:871:31: error: no declaration matches 'QRect QRectF::toRect() const' 871 | Q_DECL_CONSTEXPR inline QRect QRectF::toRect() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:871:31: note: no functions named 'QRect QRectF::toRect() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:45, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/utility:70, from /usr/include/qt5/QtCore/qglobal.h:47, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: 'is_integral' is not a member of 'std' 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: expected primary-expression before '>' token 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: '::value' has not been declared 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpolygon.h:44, from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtGui/qpolygon.h:44, from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpolygon.h:81:5: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT QPolygon translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:82:5: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT inline QPolygon translated(const QPoint &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:98:5: error: expected unqualified-id before '[' token 98 | Q_REQUIRED_RESULT QPolygon united(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:99:5: error: expected unqualified-id before '[' token 99 | Q_REQUIRED_RESULT QPolygon intersected(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:100:5: error: expected unqualified-id before '[' token 100 | Q_REQUIRED_RESULT QPolygon subtracted(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpolygon.h:104:1: error: 'is_integral' is not a member of 'std' 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: expected primary-expression before '>' token 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: '::value' has not been declared 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpolygon.h:136:17: error: no declaration matches 'QPolygon QPolygon::translated(const QPoint&) const' 136 | inline QPolygon QPolygon::translated(const QPoint &offset) const | ^~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:136:17: note: no functions named 'QPolygon QPolygon::translated(const QPoint&) const' /usr/include/qt5/QtGui/qpolygon.h:56:20: note: 'class QPolygon' defined here 56 | class Q_GUI_EXPORT QPolygon : public QVector | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpolygon.h:167:5: error: expected unqualified-id before '[' token 167 | Q_REQUIRED_RESULT QPolygonF translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:177:5: error: expected unqualified-id before '[' token 177 | Q_REQUIRED_RESULT QPolygonF united(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:178:5: error: expected unqualified-id before '[' token 178 | Q_REQUIRED_RESULT QPolygonF intersected(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QPolygonF subtracted(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpolygon.h:183:1: error: 'is_integral' is not a member of 'std' 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: expected primary-expression before '>' token 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: '::value' has not been declared 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpolygon.h: In member function 'QPolygonF QPolygonF::translated(qreal, qreal) const': /usr/include/qt5/QtGui/qpolygon.h:203:36: error: no matching function for call to 'QPolygonF::translated(QPointF) const' 203 | { return translated(QPointF(dx, dy)); } | ^ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate: 'QPolygonF QPolygonF::translated(qreal, qreal) const' 202 | inline QPolygonF QPolygonF::translated(qreal dx, qreal dy) const | ^~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate expects 2 arguments, 1 provided In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qdatastream.h: At global scope: /usr/include/qt5/QtCore/qdatastream.h:158:34: error: declaration of 'operator>>' as non-function 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qdatastream.h:158:26: error: expected ';' at end of member declaration 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:158:43: error: expected ')' before '&' token 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qdatastream.h:174:43: error: declaration of 'operator<<' as non-function 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:26: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:174:61: error: invalid use of '::' 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:61: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ | ; /usr/include/qt5/QtCore/qdatastream.h: In function 'QDataStream& QtPrivate::writeAssociativeContainer(QDataStream&, const Container&)': /usr/include/qt5/QtCore/qdatastream.h:315:10: error: 'it' does not name a type; did you mean 'Qt'? 315 | auto it = c.constEnd(); | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:316:10: error: 'begin' does not name a type; did you mean 'QRegion'? 316 | auto begin = c.constBegin(); | ^~~~~ | QRegion /usr/include/qt5/QtCore/qdatastream.h:317:12: error: 'it' was not declared in this scope; did you mean 'Qt'? 317 | while (it != begin) { | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:317:18: error: 'begin' was not declared in this scope; did you mean 'QRegion'? 317 | while (it != begin) { | ^~~~~ | QRegion In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qregion.h: At global scope: /usr/include/qt5/QtGui/qregion.h:72:21: error: expected ',' or '...' before '&&' token 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtGui/qregion.h:72:28: error: invalid constructor; you probably meant 'QRegion (const QRegion&)' 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qregion.h:102:5: error: expected unqualified-id before '[' token 102 | Q_REQUIRED_RESULT QRegion translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:103:5: error: expected unqualified-id before '[' token 103 | Q_REQUIRED_RESULT inline QRegion translated(const QPoint &p) const { return translated(p.x(), p.y()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:105:5: error: expected unqualified-id before '[' token 105 | Q_REQUIRED_RESULT QRegion united(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:106:5: error: expected unqualified-id before '[' token 106 | Q_REQUIRED_RESULT QRegion united(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT QRegion intersected(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT QRegion intersected(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT QRegion subtracted(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:110:5: error: expected unqualified-id before '[' token 110 | Q_REQUIRED_RESULT QRegion xored(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qregion.h:184:1: error: 'is_integral' is not a member of 'std' 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: expected primary-expression before '>' token 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: '::value' has not been declared 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qline.h:76:5: error: expected unqualified-id before '[' token 76 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(const QPoint &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:77:5: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:79:5: error: expected unqualified-id before '[' token 79 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPoint center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qline.h:92:1: error: 'is_integral' is not a member of 'std' 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: expected primary-expression before '>' token 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: '::value' has not been declared 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:160:31: error: no declaration matches 'QLine QLine::translated(const QPoint&) const' 160 | Q_DECL_CONSTEXPR inline QLine QLine::translated(const QPoint &p) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:160:31: note: no functions named 'QLine QLine::translated(const QPoint&) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:165:31: error: no declaration matches 'QLine QLine::translated(int, int) const' 165 | Q_DECL_CONSTEXPR inline QLine QLine::translated(int adx, int ady) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:165:31: note: no functions named 'QLine QLine::translated(int, int) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:170:32: error: no declaration matches 'QPoint QLine::center() const' 170 | Q_DECL_CONSTEXPR inline QPoint QLine::center() const | ^~~~~ /usr/include/qt5/QtCore/qline.h:170:32: note: no functions named 'QPoint QLine::center() const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qline.h:224:5: error: expected unqualified-id before '[' token 224 | Q_REQUIRED_RESULT static QLineF fromPolar(qreal length, qreal angle); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:248:5: error: expected unqualified-id before '[' token 248 | Q_REQUIRED_RESULT QLineF unitVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:249:5: error: expected unqualified-id before '[' token 249 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF normalVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:260:5: error: expected unqualified-id before '[' token 260 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(const QPointF &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:263:5: error: expected unqualified-id before '[' token 263 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPointF center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qline.h:278:1: error: 'is_integral' is not a member of 'std' 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: expected primary-expression before '>' token 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: '::value' has not been declared 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qline.h: In member function 'bool QLineF::isNull() const': /usr/include/qt5/QtCore/qline.h:320:12: error: 'qFuzzyCompare' was not declared in this scope 320 | return qFuzzyCompare(pt1.x(), pt2.x()) && qFuzzyCompare(pt1.y(), pt2.y()); | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h: At global scope: /usr/include/qt5/QtCore/qline.h:343:32: error: no declaration matches 'QLineF QLineF::normalVector() const' 343 | Q_DECL_CONSTEXPR inline QLineF QLineF::normalVector() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:343:32: note: no functions named 'QLineF QLineF::normalVector() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: error: no declaration matches 'QLineF QLineF::translated(const QPointF&) const' 359 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(const QPointF &p) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: note: no functions named 'QLineF QLineF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: error: no declaration matches 'QLineF QLineF::translated(qreal, qreal) const' 364 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(qreal adx, qreal ady) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: note: no functions named 'QLineF QLineF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: error: no declaration matches 'QPointF QLineF::center() const' 369 | Q_DECL_CONSTEXPR inline QPointF QLineF::center() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: note: no functions named 'QPointF QLineF::center() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h: In member function 'void QLineF::setLength(qreal)': /usr/include/qt5/QtCore/qline.h:378:16: error: 'unitVector' was not declared in this scope; did you mean 'QVector'? 378 | QLineF v = unitVector(); | ^~~~~~~~~~ | QVector In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:67:32: error: expected ',' or '...' before '&&' token 67 | QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:21: error: expected ',' or '...' before '&&' token 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:28: error: invalid constructor; you probably meant 'QMatrix (const QMatrix&)' 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qmatrix.h:111:5: error: expected unqualified-id before '[' token 111 | Q_REQUIRED_RESULT QMatrix inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h: In member function 'QMatrix& QMatrix::operator=(QMatrix)': /usr/include/qt5/QtGui/qmatrix.h:68:62: error: 'other' was not declared in this scope 68 | { memcpy(static_cast(this), static_cast(&other), sizeof(QMatrix)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isInvertible() const': /usr/include/qt5/QtGui/qmatrix.h:108:41: error: 'qFuzzyIsNull' was not declared in this scope 108 | bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); } | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:141:1: error: 'is_integral' is not a member of 'std' 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: expected primary-expression before '>' token 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: '::value' has not been declared 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isIdentity() const': /usr/include/qt5/QtGui/qmatrix.h:164:12: error: 'qFuzzyIsNull' was not declared in this scope 164 | return qFuzzyIsNull(_m11 - 1) && qFuzzyIsNull(_m22 - 1) && qFuzzyIsNull(_m12) | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h: In function 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)': /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:157:5: error: expected unqualified-id before '[' token 157 | Q_REQUIRED_RESULT QPainterPath translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:158:5: error: expected unqualified-id before '[' token 158 | Q_REQUIRED_RESULT inline QPainterPath translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:168:5: error: expected unqualified-id before '[' token 168 | Q_REQUIRED_RESULT QPainterPath toReversed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:188:5: error: expected unqualified-id before '[' token 188 | Q_REQUIRED_RESULT QPainterPath united(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:189:5: error: expected unqualified-id before '[' token 189 | Q_REQUIRED_RESULT QPainterPath intersected(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:190:5: error: expected unqualified-id before '[' token 190 | Q_REQUIRED_RESULT QPainterPath subtracted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:191:5: error: expected unqualified-id before '[' token 191 | Q_REQUIRED_RESULT QPainterPath subtractedInverted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:193:5: error: expected unqualified-id before '[' token 193 | Q_REQUIRED_RESULT QPainterPath simplified() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'bool QPainterPath::Element::operator==(const QPainterPath::Element&) const': /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: 'is_integral' is not a member of 'std' 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: expected primary-expression before '>' token 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: '::value' has not been declared 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: 'is_integral' is not a member of 'std' 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: expected primary-expression before '>' token 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: '::value' has not been declared 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'QPainterPathStrokerPrivate* QPainterPathStroker::d_func()': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h: In member function 'const QPainterPathStrokerPrivate* QPainterPathStroker::d_func() const': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:368:21: error: no declaration matches 'QPainterPath QPainterPath::translated(const QPointF&) const' 368 | inline QPainterPath QPainterPath::translated(const QPointF &offset) const | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:368:21: note: no functions named 'QPainterPath QPainterPath::translated(const QPointF&) const' /usr/include/qt5/QtGui/qpainterpath.h:64:20: note: 'class QPainterPath' defined here 64 | class Q_GUI_EXPORT QPainterPath | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:80:38: error: expected ',' or '...' before '&&' token 80 | QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:27: error: expected ',' or '...' before '&&' token 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:34: error: invalid constructor; you probably meant 'QTransform (const QTransform&)' 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qtransform.h:119:5: error: expected unqualified-id before '[' token 119 | Q_REQUIRED_RESULT QTransform inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:120:5: error: expected unqualified-id before '[' token 120 | Q_REQUIRED_RESULT QTransform adjoint() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT QTransform transposed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h: In member function 'QTransform& QTransform::operator=(QTransform)': /usr/include/qt5/QtGui/qtransform.h:81:62: error: 'other' was not declared in this scope 81 | { memcpy(static_cast(this), static_cast(&other), sizeof(QTransform)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, bool)': /usr/include/qt5/QtGui/qtransform.h:176:13: error: 'nullptr' was not declared in this scope 176 | , d(nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(bool)': /usr/include/qt5/QtGui/qtransform.h:184:13: error: 'nullptr' was not declared in this scope 184 | , d(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qtransform.h: At global scope: /usr/include/qt5/QtGui/qtransform.h:200:1: error: 'is_integral' is not a member of 'std' 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: expected primary-expression before '>' token 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: '::value' has not been declared 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h: In member function 'bool QTransform::isInvertible() const': /usr/include/qt5/QtGui/qtransform.h:223:13: error: 'qFuzzyIsNull' was not declared in this scope 223 | return !qFuzzyIsNull(determinant()); | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In function 'bool qFuzzyCompare(const QTransform&, const QTransform&)': /usr/include/qt5/QtGui/qtransform.h:359:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 359 | return qFuzzyCompare(t1.m11(), t2.m11()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:360:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 360 | && qFuzzyCompare(t1.m12(), t2.m12()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:361:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 361 | && qFuzzyCompare(t1.m13(), t2.m13()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:362:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 362 | && qFuzzyCompare(t1.m21(), t2.m21()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:363:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 363 | && qFuzzyCompare(t1.m22(), t2.m22()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:364:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 364 | && qFuzzyCompare(t1.m23(), t2.m23()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:365:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 365 | && qFuzzyCompare(t1.m31(), t2.m31()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:366:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 366 | && qFuzzyCompare(t1.m32(), t2.m32()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:367:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 367 | && qFuzzyCompare(t1.m33(), t2.m33()); | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qimage.h: At global scope: /usr/include/qt5/QtGui/qimage.h:197:5: error: expected unqualified-id before '[' token 197 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, const QVector &colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qimage.h:225:5: error: 'qsizetype' does not name a type 225 | qsizetype sizeInBytes() const; | ^~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qimage.h:144:103: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qimage.h:144:132: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:109: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:138: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:121: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:150: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:127: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:156: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:152:67: error: 'nullptr' was not declared in this scope 152 | explicit QImage(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:306:61: error: 'nullptr' was not declared in this scope 306 | bool load(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:307:71: error: 'nullptr' was not declared in this scope 307 | bool loadFromData(const uchar *buf, int len, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:308:76: error: 'nullptr' was not declared in this scope 308 | inline bool loadFromData(const QByteArray &data, const char *aformat = nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:311:61: error: 'nullptr' was not declared in this scope 311 | bool save(const QString &fileName, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:312:55: error: 'nullptr' was not declared in this scope 312 | bool save(QIODevice *device, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:314:78: error: 'nullptr' was not declared in this scope 314 | static QImage fromData(const uchar *data, int size, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:315:80: error: 'nullptr' was not declared in this scope 315 | inline static QImage fromData(const QByteArray &data, const char *format = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qimage.h:383:1: error: 'is_integral' is not a member of 'std' 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: expected primary-expression before '>' token 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: '::value' has not been declared 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpixmap.h:68:59: error: 'nullptr' was not declared in this scope 68 | QPixmap(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:141:61: error: 'nullptr' was not declared in this scope 141 | bool load(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:142:72: error: 'nullptr' was not declared in this scope 142 | bool loadFromData(const uchar *buf, uint len, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qpixmap.h:143:75: error: 'nullptr' was not declared in this scope 143 | inline bool loadFromData(const QByteArray &data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:144:61: error: 'nullptr' was not declared in this scope 144 | bool save(const QString& fileName, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:145:55: error: 'nullptr' was not declared in this scope 145 | bool save(QIODevice* device, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:152:96: error: 'nullptr' was not declared in this scope 152 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:153:71: error: 'nullptr' was not declared in this scope 153 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qpixmap.h:205:1: error: 'is_integral' is not a member of 'std' 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: expected primary-expression before '>' token 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: '::value' has not been declared 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: 'is_integral' is not a member of 'std' 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: expected primary-expression before '>' token 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: '::value' has not been declared 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtGui/qicon.h:156:70: error: 'nullptr' was not declared in this scope 156 | qreal *sourceDevicePixelRatio = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/QFile:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:29: /usr/include/qt5/QtCore/qfiledevice.h:139:59: error: 'nullptr' was not declared in this scope 139 | QFileDevice(QFileDevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qfiledevice.h: In member function 'QFileDevicePrivate* QFileDevice::d_func()': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h: In member function 'const QFileDevicePrivate* QFileDevice::d_func() const': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qfile.h: At global scope: /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QFile:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:29: /usr/include/qt5/QtCore/qfile.h:145:47: error: 'nullptr' was not declared in this scope 145 | QFile(QFilePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qfile.h: In member function 'QFilePrivate* QFile::d_func()': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfile.h: In member function 'const QFilePrivate* QFile::d_func() const': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QFile:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:29: /usr/include/qt5/QtCore/qfile.h: In static member function 'static QByteArray QFile::encodeName(const QString&)': /usr/include/qt5/QtCore/qfile.h:90:25: error: 'const class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 90 | return fileName.toLocal8Bit(); | ^~~~~~~~~~~ | fromLocal8Bit In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qbrush.h: At global scope: /usr/include/qt5/QtGui/qbrush.h:137:1: error: 'is_integral' is not a member of 'std' 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: expected primary-expression before '>' token 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: '::value' has not been declared 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: 'is_integral' is not a member of 'std' 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: expected primary-expression before '>' token 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: '::value' has not been declared 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: 'is_integral' is not a member of 'std' 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: expected primary-expression before '>' token 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: '::value' has not been declared 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtGui/qfontmetrics.h:110:106: error: 'nullptr' was not declared in this scope 110 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:112:65: error: 'nullptr' was not declared in this scope 112 | int tabstops = 0, int *tabarray = nullptr) const | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:114:81: error: 'nullptr' was not declared in this scope 114 | QSize size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: 'is_integral' is not a member of 'std' 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: expected primary-expression before '>' token 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: '::value' has not been declared 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtGui/qfontmetrics.h:184:110: error: 'nullptr' was not declared in this scope 184 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:185:82: error: 'nullptr' was not declared in this scope 185 | QSizeF size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: 'is_integral' is not a member of 'std' 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: expected primary-expression before '>' token 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: '::value' has not been declared 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: 'is_integral' is not a member of 'std' 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: expected primary-expression before '>' token 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: '::value' has not been declared 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qsizepolicy.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/include/qt5/QtWidgets/qsizepolicy.h:161:72: error: 'transposed' was not declared in this scope; did you mean 'transpose'? 161 | Q_DECL_RELAXED_CONSTEXPR void transpose() Q_DECL_NOTHROW { *this = transposed(); } | ^~~~~~~~~~ | transpose In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope: /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: 'is_integral' is not a member of 'std' 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: expected primary-expression before '>' token 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: '::value' has not been declared 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: 'is_integral' is not a member of 'std' 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: expected primary-expression before '>' token 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: '::value' has not been declared 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtWidgets/qwidget.h:214:40: error: 'nullptr' was not declared in this scope 214 | explicit QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:599:76: error: 'nullptr' was not declared in this scope 599 | static QWidget *createWindowContainer(QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qwidget.h: In member function 'QWidgetPrivate* QWidget::d_func()': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'const QWidgetPrivate* QWidget::d_func() const': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qaction.h:46, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:742:42: error: 'nullptr' was not declared in this scope 742 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:747:42: error: 'nullptr' was not declared in this scope 747 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'Qt::WindowType QWidget::windowType() const': /usr/include/qt5/QtWidgets/qwidget.h:756:82: error: invalid cast from type 'QFlags' to type 'int' 756 | { return static_cast(int(data->window_flags & Qt::WindowType_Mask)); } | ^ In file included from /usr/include/qt5/QtCore/qvariant.h:47, from /usr/include/qt5/QtWidgets/qaction.h:47, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/qaction.h:47, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtWidgets/qaction.h:95:40: error: 'nullptr' was not declared in this scope 95 | explicit QAction(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:96:61: error: 'nullptr' was not declared in this scope 96 | explicit QAction(const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:97:80: error: 'nullptr' was not declared in this scope 97 | explicit QAction(const QIcon &icon, const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:164:43: error: 'nullptr' was not declared in this scope 164 | bool showStatusText(QWidget *widget = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qaction.h: In member function 'QActionPrivate* QAction::d_func()': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h: In member function 'const QActionPrivate* QAction::d_func() const': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qactiongroup.h: At global scope: /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'QActionGroupPrivate* QActionGroup::d_func()': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'const QActionGroupPrivate* QActionGroup::d_func() const': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/QTextStream:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Strings.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:33: /usr/include/qt5/QtCore/qlocale.h: At global scope: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTextStream:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Strings.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:33: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int In file included from /usr/include/qt5/QtGui/qpolygon.h:44, from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:62:79: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:106:61: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:147:82: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:185:64: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qnamespace.h:43, from /usr/include/qt5/QtCore/qobjectdefs.h:48, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QIODevice::OpenModeFlag]': /usr/include/qt5/QtCore/qiodevice.h:185:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QFileDevice::Permission]': /usr/include/qt5/QtCore/qfiledevice.h:150:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(QFlags) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtWidgets/qsizepolicy.h:138:90: required from here /usr/include/qt5/QtCore/qflags.h:139:113: error: 'class QFlags' has no member named 'i' 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ~~~~~~^ /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QSizePolicy::ControlType]': /usr/include/qt5/QtWidgets/qsizepolicy.h:234:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QWidget::RenderFlag]': /usr/include/qt5/QtWidgets/qwidget.h:737:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator&(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtWidgets/qwidget.h:756:67: required from here /usr/include/qt5/QtCore/qflags.h:145:108: error: 'Int' was not declared in this scope; did you mean 'int'? 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QLocale::NumberOption]': /usr/include/qt5/QtCore/qlocale.h:1099:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QTextStream::NumberFlag]': /usr/include/qt5/QtCore/qtextstream.h:202:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | int /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | int In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QMap; typename T::key_type = QString; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QMap; typename T::mapped_type = QVariant; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QHash; typename T::key_type = QString; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QHash; typename T::mapped_type = QVariant; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qvariant.h:47, from /usr/include/qt5/QtWidgets/qaction.h:47, from /usr/include/qt5/QtWidgets/QAction:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:30: /usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode::destroySubTree() [with Key = QString; T = QVariant]': /usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData::destroy() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap::~QMap() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qvariant.h:821:29: required from here /usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope 127 | callDestructorIfNecessary(key); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 128 | callDestructorIfNecessary(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:25: /usr/include/qt5/QtCore/qarraydata.h: In instantiation of 'static QTypedArrayData* QTypedArrayData::unsharableEmpty() [with T = QPoint]': /usr/include/qt5/QtCore/qvector.h:387:38: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qarraydata.h:273:24: error: 'allocate' was not declared in this scope; did you mean 'deallocate'? 273 | return allocate(/* capacity */ 0, Unsharable); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | deallocate In file included from /usr/include/qt5/QtGui/qpolygon.h:44, from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qicon.h:46, from /usr/include/qt5/QtGui/QIcon:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.cpp:27: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'void QVector::reallocData(int, int, QArrayData::AllocationOptions) [with T = QPoint; QArrayData::AllocationOptions = QFlags]': /usr/include/qt5/QtCore/qvector.h:390:13: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qvector.h:563:35: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 563 | x = Data::allocate(aalloc, options); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:1036: src/CMakeFiles/rosegardenprivate.dir/document/CommandRegistry.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/DocumentGet.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qlist.h:44, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmargins.h: At global scope: /usr/include/qt5/QtCore/qmargins.h:88:1: error: 'is_integral' is not a member of 'std' 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: expected primary-expression before '>' token 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: '::value' has not been declared 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: 'is_integral' is not a member of 'std' 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: expected primary-expression before '>' token 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: '::value' has not been declared 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:46, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmargins.h: In member function 'bool QMarginsF::isNull() const': /usr/include/qt5/QtCore/qmargins.h:345:10: error: 'qFuzzyIsNull' was not declared in this scope 345 | { return qFuzzyIsNull(m_left) && qFuzzyIsNull(m_top) && qFuzzyIsNull(m_right) && qFuzzyIsNull(m_bottom); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h: In function 'bool operator==(const QMarginsF&, const QMarginsF&)': /usr/include/qt5/QtCore/qmargins.h:374:12: error: 'qFuzzyCompare' was not declared in this scope 374 | return qFuzzyCompare(lhs.left(), rhs.left()) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:67:5: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:71:5: error: expected unqualified-id before '[' token 71 | Q_REQUIRED_RESULT QSize scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:72:5: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT QSize scaled(const QSize &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:74:5: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize expandedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:75:5: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize boundedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h:101:1: error: 'is_integral' is not a member of 'std' 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: expected primary-expression before '>' token 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: '::value' has not been declared 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h:142:31: error: no declaration matches 'QSize QSize::transposed() const' 142 | Q_DECL_CONSTEXPR inline QSize QSize::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:142:31: note: no functions named 'QSize QSize::transposed() const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSize::scale(const QSize&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:149:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 149 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:151:14: error: no declaration matches 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' 151 | inline QSize QSize::scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:151:14: note: no functions named 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: In member function 'QSize& QSize::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:189:5: error: 'qFuzzyIsNull' was not declared in this scope 189 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSize operator/(const QSize&, qreal)': /usr/include/qt5/QtCore/qsize.h:196:5: error: 'qFuzzyIsNull' was not declared in this scope 196 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:200:31: error: no declaration matches 'QSize QSize::expandedTo(const QSize&) const' 200 | Q_DECL_CONSTEXPR inline QSize QSize::expandedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:200:31: note: no functions named 'QSize QSize::expandedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: error: no declaration matches 'QSize QSize::boundedTo(const QSize&) const' 205 | Q_DECL_CONSTEXPR inline QSize QSize::boundedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: note: no functions named 'QSize QSize::boundedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:236:5: error: expected unqualified-id before '[' token 236 | Q_REQUIRED_RESULT QSizeF scaled(const QSizeF &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF expandedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF boundedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h:268:1: error: 'is_integral' is not a member of 'std' 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: expected primary-expression before '>' token 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: '::value' has not been declared 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: In member function 'bool QSizeF::isNull() const': /usr/include/qt5/QtCore/qsize.h:292:10: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 292 | { return qIsNull(wd) && qIsNull(ht); } | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:312:32: error: no declaration matches 'QSizeF QSizeF::transposed() const' 312 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:312:32: note: no functions named 'QSizeF QSizeF::transposed() const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSizeF::scale(const QSizeF&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:319:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 319 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:321:15: error: no declaration matches 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' 321 | inline QSizeF QSizeF::scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:321:15: note: no functions named 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator==(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:340:10: error: 'qFuzzyCompare' was not declared in this scope 340 | { return qFuzzyCompare(s1.wd, s2.wd) && qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator!=(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:343:11: error: 'qFuzzyCompare' was not declared in this scope 343 | { return !qFuzzyCompare(s1.wd, s2.wd) || !qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: In member function 'QSizeF& QSizeF::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:359:5: error: 'qFuzzyIsNull' was not declared in this scope 359 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSizeF operator/(const QSizeF&, qreal)': /usr/include/qt5/QtCore/qsize.h:366:5: error: 'qFuzzyIsNull' was not declared in this scope 366 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:370:32: error: no declaration matches 'QSizeF QSizeF::expandedTo(const QSizeF&) const' 370 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::expandedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:370:32: note: no functions named 'QSizeF QSizeF::expandedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: error: no declaration matches 'QSizeF QSizeF::boundedTo(const QSizeF&) const' 375 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::boundedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: note: no functions named 'QSizeF QSizeF::boundedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpoint.h:106:1: error: 'is_integral' is not a member of 'std' 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: expected primary-expression before '>' token 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: '::value' has not been declared 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: 'is_integral' is not a member of 'std' 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: expected primary-expression before '>' token 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: '::value' has not been declared 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpoint.h: In member function 'bool QPointF::isNull() const': /usr/include/qt5/QtCore/qpoint.h:298:12: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 298 | return qIsNull(xp) && qIsNull(yp); | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qpoint.h: In function 'bool operator==(const QPointF&, const QPointF&)': /usr/include/qt5/QtCore/qpoint.h:354:34: error: 'qFuzzyIsNull' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:354:64: error: 'qFuzzyCompare' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:73:5: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT QRect normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(int dx, int dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(const QPoint &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect adjusted(int x1, int y1, int x2, int y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:139:5: error: expected unqualified-id before '[' token 139 | Q_REQUIRED_RESULT inline QRect united(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:140:5: error: expected unqualified-id before '[' token 140 | Q_REQUIRED_RESULT inline QRect intersected(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:166:1: error: 'is_integral' is not a member of 'std' 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: expected primary-expression before '>' token 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: '::value' has not been declared 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:290:31: error: no declaration matches 'QRect QRect::translated(int, int) const' 290 | Q_DECL_CONSTEXPR inline QRect QRect::translated(int dx, int dy) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:290:31: note: no functions named 'QRect QRect::translated(int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: error: no declaration matches 'QRect QRect::translated(const QPoint&) const' 293 | Q_DECL_CONSTEXPR inline QRect QRect::translated(const QPoint &p) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: note: no functions named 'QRect QRect::translated(const QPoint&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: error: no declaration matches 'QRect QRect::transposed() const' 296 | Q_DECL_CONSTEXPR inline QRect QRect::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: note: no functions named 'QRect QRect::transposed() const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: error: no declaration matches 'QRect QRect::adjusted(int, int, int, int) const' 399 | Q_DECL_CONSTEXPR inline QRect QRect::adjusted(int xp1, int yp1, int xp2, int yp2) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: note: no functions named 'QRect QRect::adjusted(int, int, int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: error: no declaration matches 'QRect QRect::intersected(const QRect&) const' 444 | inline QRect QRect::intersected(const QRect &other) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: note: no functions named 'QRect QRect::intersected(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: error: no declaration matches 'QRect QRect::united(const QRect&) const' 449 | inline QRect QRect::united(const QRect &r) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: note: no functions named 'QRect QRect::united(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:523:5: error: expected unqualified-id before '[' token 523 | Q_REQUIRED_RESULT QRectF normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:563:5: error: expected unqualified-id before '[' token 563 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(qreal dx, qreal dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:564:5: error: expected unqualified-id before '[' token 564 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(const QPointF &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:566:5: error: expected unqualified-id before '[' token 566 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:578:5: error: expected unqualified-id before '[' token 578 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF adjusted(qreal x1, qreal y1, qreal x2, qreal y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:595:5: error: expected unqualified-id before '[' token 595 | Q_REQUIRED_RESULT inline QRectF united(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:596:5: error: expected unqualified-id before '[' token 596 | Q_REQUIRED_RESULT inline QRectF intersected(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:612:5: error: expected unqualified-id before '[' token 612 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect toRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:613:5: error: expected unqualified-id before '[' token 613 | Q_REQUIRED_RESULT QRect toAlignedRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:626:1: error: 'is_integral' is not a member of 'std' 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: expected primary-expression before '>' token 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: '::value' has not been declared 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:773:32: error: no declaration matches 'QRectF QRectF::translated(qreal, qreal) const' 773 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(qreal dx, qreal dy) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:773:32: note: no functions named 'QRectF QRectF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: error: no declaration matches 'QRectF QRectF::translated(const QPointF&) const' 776 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(const QPointF &p) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: note: no functions named 'QRectF QRectF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: error: no declaration matches 'QRectF QRectF::transposed() const' 779 | Q_DECL_CONSTEXPR inline QRectF QRectF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: note: no functions named 'QRectF QRectF::transposed() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: error: no declaration matches 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' 817 | Q_DECL_CONSTEXPR inline QRectF QRectF::adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: note: no functions named 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: error: no declaration matches 'QRectF QRectF::intersected(const QRectF&) const' 849 | inline QRectF QRectF::intersected(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: note: no functions named 'QRectF QRectF::intersected(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: error: no declaration matches 'QRectF QRectF::united(const QRectF&) const' 854 | inline QRectF QRectF::united(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: note: no functions named 'QRectF QRectF::united(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator==(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:861:12: error: 'qFuzzyCompare' was not declared in this scope 861 | return qFuzzyCompare(r1.xp, r2.xp) && qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator!=(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:867:13: error: 'qFuzzyCompare' was not declared in this scope 867 | return !qFuzzyCompare(r1.xp, r2.xp) || !qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:871:31: error: no declaration matches 'QRect QRectF::toRect() const' 871 | Q_DECL_CONSTEXPR inline QRect QRectF::toRect() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:871:31: note: no functions named 'QRect QRectF::toRect() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:46, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:46, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h:81:5: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT QPolygon translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:82:5: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT inline QPolygon translated(const QPoint &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:98:5: error: expected unqualified-id before '[' token 98 | Q_REQUIRED_RESULT QPolygon united(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:99:5: error: expected unqualified-id before '[' token 99 | Q_REQUIRED_RESULT QPolygon intersected(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:100:5: error: expected unqualified-id before '[' token 100 | Q_REQUIRED_RESULT QPolygon subtracted(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h:104:1: error: 'is_integral' is not a member of 'std' 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: expected primary-expression before '>' token 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: '::value' has not been declared 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h:136:17: error: no declaration matches 'QPolygon QPolygon::translated(const QPoint&) const' 136 | inline QPolygon QPolygon::translated(const QPoint &offset) const | ^~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:136:17: note: no functions named 'QPolygon QPolygon::translated(const QPoint&) const' /usr/include/qt5/QtGui/qpolygon.h:56:20: note: 'class QPolygon' defined here 56 | class Q_GUI_EXPORT QPolygon : public QVector | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h:167:5: error: expected unqualified-id before '[' token 167 | Q_REQUIRED_RESULT QPolygonF translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:177:5: error: expected unqualified-id before '[' token 177 | Q_REQUIRED_RESULT QPolygonF united(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:178:5: error: expected unqualified-id before '[' token 178 | Q_REQUIRED_RESULT QPolygonF intersected(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QPolygonF subtracted(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h:183:1: error: 'is_integral' is not a member of 'std' 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: expected primary-expression before '>' token 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: '::value' has not been declared 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpolygon.h: In member function 'QPolygonF QPolygonF::translated(qreal, qreal) const': /usr/include/qt5/QtGui/qpolygon.h:203:36: error: no matching function for call to 'QPolygonF::translated(QPointF) const' 203 | { return translated(QPointF(dx, dy)); } | ^ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate: 'QPolygonF QPolygonF::translated(qreal, qreal) const' 202 | inline QPolygonF QPolygonF::translated(qreal dx, qreal dy) const | ^~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate expects 2 arguments, 1 provided In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatastream.h: At global scope: /usr/include/qt5/QtCore/qdatastream.h:158:34: error: declaration of 'operator>>' as non-function 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qdatastream.h:158:26: error: expected ';' at end of member declaration 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:158:43: error: expected ')' before '&' token 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qdatastream.h:174:43: error: declaration of 'operator<<' as non-function 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:26: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:174:61: error: invalid use of '::' 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:61: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ | ; /usr/include/qt5/QtCore/qdatastream.h: In function 'QDataStream& QtPrivate::writeAssociativeContainer(QDataStream&, const Container&)': /usr/include/qt5/QtCore/qdatastream.h:315:10: error: 'it' does not name a type; did you mean 'Qt'? 315 | auto it = c.constEnd(); | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:316:10: error: 'begin' does not name a type; did you mean 'QRegion'? 316 | auto begin = c.constBegin(); | ^~~~~ | QRegion /usr/include/qt5/QtCore/qdatastream.h:317:12: error: 'it' was not declared in this scope; did you mean 'Qt'? 317 | while (it != begin) { | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:317:18: error: 'begin' was not declared in this scope; did you mean 'QRegion'? 317 | while (it != begin) { | ^~~~~ | QRegion In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qregion.h: At global scope: /usr/include/qt5/QtGui/qregion.h:72:21: error: expected ',' or '...' before '&&' token 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtGui/qregion.h:72:28: error: invalid constructor; you probably meant 'QRegion (const QRegion&)' 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qregion.h:102:5: error: expected unqualified-id before '[' token 102 | Q_REQUIRED_RESULT QRegion translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:103:5: error: expected unqualified-id before '[' token 103 | Q_REQUIRED_RESULT inline QRegion translated(const QPoint &p) const { return translated(p.x(), p.y()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:105:5: error: expected unqualified-id before '[' token 105 | Q_REQUIRED_RESULT QRegion united(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:106:5: error: expected unqualified-id before '[' token 106 | Q_REQUIRED_RESULT QRegion united(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT QRegion intersected(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT QRegion intersected(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT QRegion subtracted(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:110:5: error: expected unqualified-id before '[' token 110 | Q_REQUIRED_RESULT QRegion xored(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qregion.h:184:1: error: 'is_integral' is not a member of 'std' 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: expected primary-expression before '>' token 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: '::value' has not been declared 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:76:5: error: expected unqualified-id before '[' token 76 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(const QPoint &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:77:5: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:79:5: error: expected unqualified-id before '[' token 79 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPoint center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:92:1: error: 'is_integral' is not a member of 'std' 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: expected primary-expression before '>' token 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: '::value' has not been declared 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:160:31: error: no declaration matches 'QLine QLine::translated(const QPoint&) const' 160 | Q_DECL_CONSTEXPR inline QLine QLine::translated(const QPoint &p) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:160:31: note: no functions named 'QLine QLine::translated(const QPoint&) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:165:31: error: no declaration matches 'QLine QLine::translated(int, int) const' 165 | Q_DECL_CONSTEXPR inline QLine QLine::translated(int adx, int ady) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:165:31: note: no functions named 'QLine QLine::translated(int, int) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:170:32: error: no declaration matches 'QPoint QLine::center() const' 170 | Q_DECL_CONSTEXPR inline QPoint QLine::center() const | ^~~~~ /usr/include/qt5/QtCore/qline.h:170:32: note: no functions named 'QPoint QLine::center() const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:224:5: error: expected unqualified-id before '[' token 224 | Q_REQUIRED_RESULT static QLineF fromPolar(qreal length, qreal angle); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:248:5: error: expected unqualified-id before '[' token 248 | Q_REQUIRED_RESULT QLineF unitVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:249:5: error: expected unqualified-id before '[' token 249 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF normalVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:260:5: error: expected unqualified-id before '[' token 260 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(const QPointF &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:263:5: error: expected unqualified-id before '[' token 263 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPointF center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h:278:1: error: 'is_integral' is not a member of 'std' 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: expected primary-expression before '>' token 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: '::value' has not been declared 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qline.h: In member function 'bool QLineF::isNull() const': /usr/include/qt5/QtCore/qline.h:320:12: error: 'qFuzzyCompare' was not declared in this scope 320 | return qFuzzyCompare(pt1.x(), pt2.x()) && qFuzzyCompare(pt1.y(), pt2.y()); | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h: At global scope: /usr/include/qt5/QtCore/qline.h:343:32: error: no declaration matches 'QLineF QLineF::normalVector() const' 343 | Q_DECL_CONSTEXPR inline QLineF QLineF::normalVector() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:343:32: note: no functions named 'QLineF QLineF::normalVector() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: error: no declaration matches 'QLineF QLineF::translated(const QPointF&) const' 359 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(const QPointF &p) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: note: no functions named 'QLineF QLineF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: error: no declaration matches 'QLineF QLineF::translated(qreal, qreal) const' 364 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(qreal adx, qreal ady) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: note: no functions named 'QLineF QLineF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: error: no declaration matches 'QPointF QLineF::center() const' 369 | Q_DECL_CONSTEXPR inline QPointF QLineF::center() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: note: no functions named 'QPointF QLineF::center() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h: In member function 'void QLineF::setLength(qreal)': /usr/include/qt5/QtCore/qline.h:378:16: error: 'unitVector' was not declared in this scope; did you mean 'QVector'? 378 | QLineF v = unitVector(); | ^~~~~~~~~~ | QVector In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:67:32: error: expected ',' or '...' before '&&' token 67 | QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:21: error: expected ',' or '...' before '&&' token 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:28: error: invalid constructor; you probably meant 'QMatrix (const QMatrix&)' 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:111:5: error: expected unqualified-id before '[' token 111 | Q_REQUIRED_RESULT QMatrix inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h: In member function 'QMatrix& QMatrix::operator=(QMatrix)': /usr/include/qt5/QtGui/qmatrix.h:68:62: error: 'other' was not declared in this scope 68 | { memcpy(static_cast(this), static_cast(&other), sizeof(QMatrix)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isInvertible() const': /usr/include/qt5/QtGui/qmatrix.h:108:41: error: 'qFuzzyIsNull' was not declared in this scope 108 | bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); } | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:141:1: error: 'is_integral' is not a member of 'std' 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: expected primary-expression before '>' token 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: '::value' has not been declared 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isIdentity() const': /usr/include/qt5/QtGui/qmatrix.h:164:12: error: 'qFuzzyIsNull' was not declared in this scope 164 | return qFuzzyIsNull(_m11 - 1) && qFuzzyIsNull(_m22 - 1) && qFuzzyIsNull(_m12) | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h: In function 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)': /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:157:5: error: expected unqualified-id before '[' token 157 | Q_REQUIRED_RESULT QPainterPath translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:158:5: error: expected unqualified-id before '[' token 158 | Q_REQUIRED_RESULT inline QPainterPath translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:168:5: error: expected unqualified-id before '[' token 168 | Q_REQUIRED_RESULT QPainterPath toReversed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:188:5: error: expected unqualified-id before '[' token 188 | Q_REQUIRED_RESULT QPainterPath united(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:189:5: error: expected unqualified-id before '[' token 189 | Q_REQUIRED_RESULT QPainterPath intersected(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:190:5: error: expected unqualified-id before '[' token 190 | Q_REQUIRED_RESULT QPainterPath subtracted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:191:5: error: expected unqualified-id before '[' token 191 | Q_REQUIRED_RESULT QPainterPath subtractedInverted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:193:5: error: expected unqualified-id before '[' token 193 | Q_REQUIRED_RESULT QPainterPath simplified() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'bool QPainterPath::Element::operator==(const QPainterPath::Element&) const': /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: 'is_integral' is not a member of 'std' 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: expected primary-expression before '>' token 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: '::value' has not been declared 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: 'is_integral' is not a member of 'std' 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: expected primary-expression before '>' token 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: '::value' has not been declared 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'QPainterPathStrokerPrivate* QPainterPathStroker::d_func()': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h: In member function 'const QPainterPathStrokerPrivate* QPainterPathStroker::d_func() const': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:368:21: error: no declaration matches 'QPainterPath QPainterPath::translated(const QPointF&) const' 368 | inline QPainterPath QPainterPath::translated(const QPointF &offset) const | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:368:21: note: no functions named 'QPainterPath QPainterPath::translated(const QPointF&) const' /usr/include/qt5/QtGui/qpainterpath.h:64:20: note: 'class QPainterPath' defined here 64 | class Q_GUI_EXPORT QPainterPath | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:80:38: error: expected ',' or '...' before '&&' token 80 | QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:27: error: expected ',' or '...' before '&&' token 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:34: error: invalid constructor; you probably meant 'QTransform (const QTransform&)' 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:119:5: error: expected unqualified-id before '[' token 119 | Q_REQUIRED_RESULT QTransform inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:120:5: error: expected unqualified-id before '[' token 120 | Q_REQUIRED_RESULT QTransform adjoint() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT QTransform transposed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h: In member function 'QTransform& QTransform::operator=(QTransform)': /usr/include/qt5/QtGui/qtransform.h:81:62: error: 'other' was not declared in this scope 81 | { memcpy(static_cast(this), static_cast(&other), sizeof(QTransform)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, bool)': /usr/include/qt5/QtGui/qtransform.h:176:13: error: 'nullptr' was not declared in this scope 176 | , d(nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(bool)': /usr/include/qt5/QtGui/qtransform.h:184:13: error: 'nullptr' was not declared in this scope 184 | , d(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h: At global scope: /usr/include/qt5/QtGui/qtransform.h:200:1: error: 'is_integral' is not a member of 'std' 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: expected primary-expression before '>' token 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: '::value' has not been declared 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h: In member function 'bool QTransform::isInvertible() const': /usr/include/qt5/QtGui/qtransform.h:223:13: error: 'qFuzzyIsNull' was not declared in this scope 223 | return !qFuzzyIsNull(determinant()); | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In function 'bool qFuzzyCompare(const QTransform&, const QTransform&)': /usr/include/qt5/QtGui/qtransform.h:359:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 359 | return qFuzzyCompare(t1.m11(), t2.m11()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:360:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 360 | && qFuzzyCompare(t1.m12(), t2.m12()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:361:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 361 | && qFuzzyCompare(t1.m13(), t2.m13()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:362:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 362 | && qFuzzyCompare(t1.m21(), t2.m21()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:363:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 363 | && qFuzzyCompare(t1.m22(), t2.m22()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:364:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 364 | && qFuzzyCompare(t1.m23(), t2.m23()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:365:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 365 | && qFuzzyCompare(t1.m31(), t2.m31()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:366:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 366 | && qFuzzyCompare(t1.m32(), t2.m32()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:367:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 367 | && qFuzzyCompare(t1.m33(), t2.m33()); | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpixelformat.h: At global scope: /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: 'is_integral' is not a member of 'std' 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: expected primary-expression before '>' token 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: '::value' has not been declared 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qimage.h:197:5: error: expected unqualified-id before '[' token 197 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, const QVector &colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qimage.h:225:5: error: 'qsizetype' does not name a type 225 | qsizetype sizeInBytes() const; | ^~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qimage.h:144:103: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qimage.h:144:132: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:109: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:138: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:121: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:150: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:127: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:156: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:152:67: error: 'nullptr' was not declared in this scope 152 | explicit QImage(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:306:61: error: 'nullptr' was not declared in this scope 306 | bool load(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:307:71: error: 'nullptr' was not declared in this scope 307 | bool loadFromData(const uchar *buf, int len, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:308:76: error: 'nullptr' was not declared in this scope 308 | inline bool loadFromData(const QByteArray &data, const char *aformat = nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:311:61: error: 'nullptr' was not declared in this scope 311 | bool save(const QString &fileName, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:312:55: error: 'nullptr' was not declared in this scope 312 | bool save(QIODevice *device, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:314:78: error: 'nullptr' was not declared in this scope 314 | static QImage fromData(const uchar *data, int size, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:315:80: error: 'nullptr' was not declared in this scope 315 | inline static QImage fromData(const QByteArray &data, const char *format = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qimage.h:383:1: error: 'is_integral' is not a member of 'std' 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: expected primary-expression before '>' token 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: '::value' has not been declared 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/bits/char_traits.h:39, from /usr/include/c++/9/string:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/MidiProgram.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpixmap.h:68:59: error: 'nullptr' was not declared in this scope 68 | QPixmap(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:141:61: error: 'nullptr' was not declared in this scope 141 | bool load(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:142:72: error: 'nullptr' was not declared in this scope 142 | bool loadFromData(const uchar *buf, uint len, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpixmap.h:143:75: error: 'nullptr' was not declared in this scope 143 | inline bool loadFromData(const QByteArray &data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:144:61: error: 'nullptr' was not declared in this scope 144 | bool save(const QString& fileName, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:145:55: error: 'nullptr' was not declared in this scope 145 | bool save(QIODevice* device, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:152:96: error: 'nullptr' was not declared in this scope 152 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:153:71: error: 'nullptr' was not declared in this scope 153 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qpixmap.h:205:1: error: 'is_integral' is not a member of 'std' 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: expected primary-expression before '>' token 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: '::value' has not been declared 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: 'is_integral' is not a member of 'std' 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: expected primary-expression before '>' token 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: '::value' has not been declared 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: 'is_integral' is not a member of 'std' 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: expected primary-expression before '>' token 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: '::value' has not been declared 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: 'is_integral' is not a member of 'std' 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: expected primary-expression before '>' token 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: '::value' has not been declared 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qfontmetrics.h:110:106: error: 'nullptr' was not declared in this scope 110 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:112:65: error: 'nullptr' was not declared in this scope 112 | int tabstops = 0, int *tabarray = nullptr) const | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:114:81: error: 'nullptr' was not declared in this scope 114 | QSize size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: 'is_integral' is not a member of 'std' 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: expected primary-expression before '>' token 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: '::value' has not been declared 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qfontmetrics.h:184:110: error: 'nullptr' was not declared in this scope 184 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:185:82: error: 'nullptr' was not declared in this scope 185 | QSizeF size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: 'is_integral' is not a member of 'std' 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: expected primary-expression before '>' token 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: '::value' has not been declared 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: 'is_integral' is not a member of 'std' 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: expected primary-expression before '>' token 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: '::value' has not been declared 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qsizepolicy.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/include/qt5/QtWidgets/qsizepolicy.h:161:72: error: 'transposed' was not declared in this scope; did you mean 'transpose'? 161 | Q_DECL_RELAXED_CONSTEXPR void transpose() Q_DECL_NOTHROW { *this = transposed(); } | ^~~~~~~~~~ | transpose In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope: /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: 'is_integral' is not a member of 'std' 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: expected primary-expression before '>' token 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: '::value' has not been declared 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: 'is_integral' is not a member of 'std' 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: expected primary-expression before '>' token 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: '::value' has not been declared 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: 'is_integral' is not a member of 'std' 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: expected primary-expression before '>' token 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: '::value' has not been declared 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qwidget.h:214:40: error: 'nullptr' was not declared in this scope 214 | explicit QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:599:76: error: 'nullptr' was not declared in this scope 599 | static QWidget *createWindowContainer(QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qwidget.h: In member function 'QWidgetPrivate* QWidget::d_func()': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'const QWidgetPrivate* QWidget::d_func() const': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:742:42: error: 'nullptr' was not declared in this scope 742 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:747:42: error: 'nullptr' was not declared in this scope 747 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'Qt::WindowType QWidget::windowType() const': /usr/include/qt5/QtWidgets/qwidget.h:756:82: error: invalid cast from type 'QFlags' to type 'int' 756 | { return static_cast(int(data->window_flags & Qt::WindowType_Mask)); } | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qdialog.h:63:40: error: 'nullptr' was not declared in this scope 63 | explicit QDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qdialog.h: In member function 'QDialogPrivate* QDialog::d_func()': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h: In member function 'const QDialogPrivate* QDialog::d_func() const': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h: At global scope: /usr/include/qt5/QtCore/qdatetime.h:113:5: error: expected unqualified-id before '[' token 113 | Q_REQUIRED_RESULT QDate addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:114:5: error: expected unqualified-id before '[' token 114 | Q_REQUIRED_RESULT QDate addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT QDate addYears(int years) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:82:35: error: 'nullptr' was not declared in this scope 82 | int weekNumber(int *yearNum = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:152:1: error: 'is_integral' is not a member of 'std' 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: expected primary-expression before '>' token 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: '::value' has not been declared 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QTime addSecs(int secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:181:5: error: expected unqualified-id before '[' token 181 | Q_REQUIRED_RESULT QTime addMSecs(int ms) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:216:1: error: 'is_integral' is not a member of 'std' 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: expected primary-expression before '>' token 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: '::value' has not been declared 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:246:19: error: expected ',' or '...' before '&&' token 246 | Data(Data &&other); | ^~ /usr/include/qt5/QtCore/qdatetime.h:246:26: error: invalid constructor; you probably meant 'QDateTime::Data (const QDateTime::Data&)' 246 | Data(Data &&other); | ^ /usr/include/qt5/QtCore/qdatetime.h:270:25: error: expected ',' or '...' before '&&' token 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^~ /usr/include/qt5/QtCore/qdatetime.h:270:32: error: invalid constructor; you probably meant 'QDateTime (const QDateTime&)' 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QDateTime addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:314:5: error: expected unqualified-id before '[' token 314 | Q_REQUIRED_RESULT QDateTime addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:315:5: error: expected unqualified-id before '[' token 315 | Q_REQUIRED_RESULT QDateTime addYears(int years) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QDateTime addSecs(qint64 secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:317:5: error: expected unqualified-id before '[' token 317 | Q_REQUIRED_RESULT QDateTime addMSecs(qint64 msecs) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdatetime.h:393:1: error: 'is_integral' is not a member of 'std' 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: expected primary-expression before '>' token 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: '::value' has not been declared 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qset.h: In member function 'QSet& QSet::subtract(const QSet&)': /usr/include/qt5/QtCore/qset.h:348:14: error: 'i' does not name a type 348 | auto i = other.constEnd(); | ^ /usr/include/qt5/QtCore/qset.h:349:16: error: 'i' was not declared in this scope 349 | while (i != other.constBegin()) { | ^ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdebug.h: In member function 'QDebug& QDebug::operator<<(QStringView)': /usr/include/qt5/QtCore/qdebug.h:158:60: error: 'class QStringView' has no member named 'data' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ /usr/include/qt5/QtCore/qdebug.h:158:77: error: 'class QStringView' has no member named 'size' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdebug.h: At global scope: /usr/include/qt5/QtCore/qdebug.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qdebug.h:371:15: error: 'enable_if' in namespace 'std' does not name a template type 371 | typename std::enable_if::Value, QDebug>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:371:24: error: expected unqualified-id before '<' token 371 | typename std::enable_if::Value, QDebug>::type | ^ /usr/include/qt5/QtCore/qdebug.h:380:37: error: 'enable_if' in namespace 'std' does not name a template type 380 | typename A = typename std::enable_if::value, void>::type, | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:380:46: error: expected '>' before '<' token 380 | typename A = typename std::enable_if::value, void>::type, | ^ /usr/include/qt5/QtCore/qdebug.h:385:1: error: expected unqualified-id before '{' token 385 | { | ^ /usr/include/qt5/QtCore/qdebug.h:393:22: error: 'enable_if' in namespace 'std' does not name a template type 393 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:393:31: error: expected unqualified-id before '<' token 393 | inline typename std::enable_if< | ^ /usr/include/qt5/QtCore/qdebug.h:404:22: error: 'enable_if' in namespace 'std' does not name a template type 404 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:404:31: error: expected unqualified-id before '<' token 404 | inline typename std::enable_if< | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qslider.h:45, from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qabstractslider.h:70:48: error: 'nullptr' was not declared in this scope 70 | explicit QAbstractSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:156:67: error: 'nullptr' was not declared in this scope 156 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'QAbstractSliderPrivate* QAbstractSlider::d_func()': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'const QAbstractSliderPrivate* QAbstractSlider::d_func() const': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qslider.h: At global scope: /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qslider.h:71:40: error: 'nullptr' was not declared in this scope 71 | explicit QSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:72:69: error: 'nullptr' was not declared in this scope 72 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qslider.h: In member function 'QSliderPrivate* QSlider::d_func()': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h: In member function 'const QSliderPrivate* QSlider::d_func() const': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfiledevice.h:139:59: error: 'nullptr' was not declared in this scope 139 | QFileDevice(QFileDevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfiledevice.h: In member function 'QFileDevicePrivate* QFileDevice::d_func()': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h: In member function 'const QFileDevicePrivate* QFileDevice::d_func() const': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfile.h: At global scope: /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfile.h:145:47: error: 'nullptr' was not declared in this scope 145 | QFile(QFilePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfile.h: In member function 'QFilePrivate* QFile::d_func()': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfile.h: In member function 'const QFilePrivate* QFile::d_func() const': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfile.h: In static member function 'static QByteArray QFile::encodeName(const QString&)': /usr/include/qt5/QtCore/qfile.h:90:25: error: 'const class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 90 | return fileName.toLocal8Bit(); | ^~~~~~~~~~~ | fromLocal8Bit In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qfileinfo.h: At global scope: /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: 'is_integral' is not a member of 'std' 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: expected primary-expression before '>' token 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: '::value' has not been declared 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qicon.h:144:1: error: 'is_integral' is not a member of 'std' 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: expected primary-expression before '>' token 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: '::value' has not been declared 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtabwidget.h:45, from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qicon.h:156:70: error: 'nullptr' was not declared in this scope 156 | qreal *sourceDevicePixelRatio = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtabwidget.h:71:43: error: 'nullptr' was not declared in this scope 71 | explicit QTabWidget(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'QTabWidgetPrivate* QTabWidget::d_func()': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'const QTabWidgetPrivate* QTabWidget::d_func() const': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmainwindow.h: At global scope: /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmainwindow.h:94:44: error: 'nullptr' was not declared in this scope 94 | explicit QMainWindow(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'QMainWindowPrivate* QMainWindow::d_func()': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'const QMainWindowPrivate* QMainWindow::d_func() const': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qaction.h: At global scope: /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmenu.h:47, from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qaction.h:95:40: error: 'nullptr' was not declared in this scope 95 | explicit QAction(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:96:61: error: 'nullptr' was not declared in this scope 96 | explicit QAction(const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:97:80: error: 'nullptr' was not declared in this scope 97 | explicit QAction(const QIcon &icon, const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:164:43: error: 'nullptr' was not declared in this scope 164 | bool showStatusText(QWidget *widget = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qaction.h: In member function 'QActionPrivate* QAction::d_func()': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h: In member function 'const QActionPrivate* QAction::d_func() const': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qactiongroup.h: At global scope: /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'QActionGroupPrivate* QActionGroup::d_func()': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'const QActionGroupPrivate* QActionGroup::d_func() const': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h: At global scope: /usr/include/qt5/QtWidgets/qmenu.h:100:26: error: 'enable_if' in namespace 'std' does not name a template type 100 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:100:35: error: expected unqualified-id before '<' token 100 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qmenu.h:128:26: error: 'enable_if' in namespace 'std' does not name a template type 128 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:128:35: error: expected unqualified-id before '<' token 128 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h:74:38: error: 'nullptr' was not declared in this scope 74 | explicit QMenu(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:75:60: error: 'nullptr' was not declared in this scope 75 | explicit QMenu(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h:187:49: error: 'nullptr' was not declared in this scope 187 | void popup(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:189:52: error: 'nullptr' was not declared in this scope 189 | QAction *exec(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:84: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:111: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:262:47: error: 'nullptr' was not declared in this scope 262 | QMenu(QMenuPrivate &dd, QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QMenuPrivate* QMenu::d_func()': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h: In member function 'const QMenuPrivate* QMenu::d_func() const': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:123:51: error: 'move' is not a member of 'std' 123 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:123:51: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QIcon&, const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:151:51: error: 'move' is not a member of 'std' 151 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:151:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenubar.h: At global scope: /usr/include/qt5/QtWidgets/qmenubar.h:78:26: error: 'enable_if' in namespace 'std' does not name a template type 78 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:78:35: error: expected unqualified-id before '<' token 78 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenubar.h:63:41: error: 'nullptr' was not declared in this scope 63 | explicit QMenuBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QAction* QMenuBar::addAction(const QString&, Func1)': /usr/include/qt5/QtWidgets/qmenubar.h:91:51: error: 'move' is not a member of 'std' 91 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenubar.h:91:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QMenuBarPrivate* QMenuBar::d_func()': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'const QMenuBarPrivate* QMenuBar::d_func() const': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h: At global scope: /usr/include/qt5/QtWidgets/qtoolbar.h:118:26: error: 'enable_if' in namespace 'std' does not name a template type 118 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:118:35: error: expected unqualified-id before '<' token 118 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qtoolbar.h:136:26: error: 'enable_if' in namespace 'std' does not name a template type 136 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:136:35: error: expected unqualified-id before '<' token 136 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:78:63: error: 'nullptr' was not declared in this scope 78 | explicit QToolBar(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:79:41: error: 'nullptr' was not declared in this scope 79 | explicit QToolBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'bool QToolBar::isAreaAllowed(Qt::ToolBarArea) const': /usr/include/qt5/QtWidgets/qtoolbar.h:89:38: error: no match for 'operator==' (operand types are 'QFlags' and 'Qt::ToolBarArea') 89 | { return (allowedAreas() & area) == area; } | ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~ | | | | | Qt::ToolBarArea | QFlags In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qchar.h:600:30: note: candidate: 'bool operator==(QChar, QChar)' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:600:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ~~~~~~^~ /usr/include/qt5/QtCore/qchar.h:609:30: note: candidate: 'bool operator==(QChar, int)' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:609:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qbytearray.h:620:13: note: candidate: 'bool operator==(const QByteArray&, const QByteArray&)' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:620:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:622:13: note: candidate: 'bool operator==(const QByteArray&, const char*)' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:622:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:624:13: note: candidate: 'bool operator==(const char*, const QByteArray&)' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:624:36: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qstring.h:1194:13: note: candidate: 'bool operator==(QString::Null, QString::Null)' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1194:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:13: note: candidate: 'bool operator==(QString::Null, const QString&)' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:13: note: candidate: 'bool operator==(const QString&, QString::Null)' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ~~~~~~~~~~~~~~~^ /usr/include/qt5/QtCore/qstring.h:1206:13: note: candidate: 'bool operator==(QLatin1String, QLatin1String)' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1206:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1250:32: note: candidate: 'bool operator==(const char*, const QString&)' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1250:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1263:32: note: candidate: 'bool operator==(const char*, QLatin1String)' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1263:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1618:20: note: candidate: 'bool operator==(const QStringRef&, const QStringRef&)' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1618:49: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1630:20: note: candidate: 'bool operator==(const QString&, const QStringRef&)' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1630:46: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1637:13: note: candidate: 'bool operator==(const QStringRef&, const QString&)' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1637:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1666:20: note: candidate: 'bool operator==(QLatin1String, const QStringRef&)' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1666:45: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1673:13: note: candidate: 'bool operator==(const QStringRef&, QLatin1String)' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1673:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1681:13: note: candidate: 'bool operator==(QChar, const QString&)' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1681:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1692:13: note: candidate: 'bool operator==(const QString&, QChar)' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1692:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1700:13: note: candidate: 'bool operator==(QChar, const QStringRef&)' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1700:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1711:13: note: candidate: 'bool operator==(const QStringRef&, QChar)' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1711:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1719:13: note: candidate: 'bool operator==(QChar, QLatin1String)' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1719:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1730:13: note: candidate: 'bool operator==(QLatin1String, QChar)' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1730:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1738:13: note: candidate: 'bool operator==(QStringView, QStringView)' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1738:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1746:13: note: candidate: 'bool operator==(QStringView, QChar)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1746:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1753:13: note: candidate: 'bool operator==(QChar, QStringView)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1753:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1761:13: note: candidate: 'bool operator==(QStringView, QLatin1String)' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1761:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1768:13: note: candidate: 'bool operator==(QLatin1String, QStringView)' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1768:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1777:32: note: candidate: 'bool operator==(const QStringRef&, const QByteArray&)' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1777:61: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1784:32: note: candidate: 'bool operator==(const QByteArray&, const QStringRef&)' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1784:61: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1805:32: note: candidate: 'bool operator==(const char*, const QStringRef&)' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1805:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:45, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpair.h:110:41: note: candidate: 'template bool operator==(const QPair&, const QPair&)' 110 | Q_DECL_CONSTEXPR Q_INLINE_TEMPLATE bool operator==(const QPair &p1, const QPair &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpair.h:110:41: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPair' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: candidate: 'template bool operator==(const QScopedPointer&, const QScopedPointer&)' 184 | inline bool operator==(const QScopedPointer &lhs, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: candidate: 'template bool operator==(const QScopedPointer&, int)' 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: candidate: 'template bool operator==(const QVarLengthArray&, const QVarLengthArray&)' 555 | bool operator==(const QVarLengthArray &l, const QVarLengthArray &r) | ^~~~~~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QVarLengthArray' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:46, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmargins.h:135:30: note: candidate: 'bool operator==(const QMargins&, const QMargins&)' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:135:57: note: no known conversion for argument 1 from 'QFlags' to 'const QMargins&' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qmargins.h:372:30: note: candidate: 'bool operator==(const QMarginsF&, const QMarginsF&)' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:372:58: note: no known conversion for argument 1 from 'QFlags' to 'const QMarginsF&' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsize.h:169:30: note: candidate: 'bool operator==(const QSize&, const QSize&)' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:169:54: note: no known conversion for argument 1 from 'QFlags' to 'const QSize&' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qsize.h:339:30: note: candidate: 'bool operator==(const QSizeF&, const QSizeF&)' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:339:55: note: no known conversion for argument 1 from 'QFlags' to 'const QSizeF&' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpoint.h:163:30: note: candidate: 'bool operator==(const QPoint&, const QPoint&)' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:163:55: note: no known conversion for argument 1 from 'QFlags' to 'const QPoint&' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qpoint.h:352:30: note: candidate: 'bool operator==(const QPointF&, const QPointF&)' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:352:56: note: no known conversion for argument 1 from 'QFlags' to 'const QPointF&' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qrect.h:454:30: note: candidate: 'bool operator==(const QRect&, const QRect&)' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:454:54: note: no known conversion for argument 1 from 'QFlags' to 'const QRect&' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qrect.h:859:30: note: candidate: 'bool operator==(const QRectF&, const QRectF&)' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:859:55: note: no known conversion for argument 1 from 'QFlags' to 'const QRectF&' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qhash.h:141:13: note: candidate: 'bool operator==(const QHashDummyValue&, const QHashDummyValue&)' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~ /usr/include/qt5/QtCore/qhash.h:141:24: note: no known conversion for argument 1 from 'QFlags' to 'const QHashDummyValue&' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qshareddata.h:145:32: note: candidate: 'template bool operator==(const QSharedDataPointer&, int)' 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qshareddata.h:293:32: note: candidate: 'template bool operator==(const QExplicitlySharedDataPointer&, int)' 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QExplicitlySharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QSharedPointer&)' 742 | bool operator==(const QSharedPointer &ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: candidate: 'template bool operator==(const QSharedPointer&, const X*)' 753 | bool operator==(const QSharedPointer &ptr1, const X *ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: candidate: 'template bool operator==(const T*, const QSharedPointer&)' 758 | bool operator==(const T *ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'const T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QWeakPointer&)' 774 | bool operator==(const QSharedPointer &ptr1, const QWeakPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: candidate: 'template bool operator==(const QSharedPointer&, int)' 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtGui/qpixmap.h:48, from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: candidate: 'template bool operator==(const QWeakPointer&, int)' 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QWeakPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:55, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtGui/qcursor.h:120:19: note: candidate: 'bool operator==(const QCursor&, const QCursor&)' 120 | Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:115:56: note: no known conversion for argument 1 from 'QFlags' to 'const QCursor&' 115 | friend Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvariant.h:590:13: note: candidate: 'bool operator==(const QVariant&, const QVariantComparisonHelper&)' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ^~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:590:40: note: no known conversion for argument 1 from 'QFlags' to 'const QVariant&' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'QToolBarPrivate* QToolBar::d_func()': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'const QToolBarPrivate* QToolBar::d_func() const': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpointer.h: At global scope: /usr/include/qt5/QtCore/qpointer.h:55:5: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: expected primary-expression before '>' token 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: '::value' has not been declared 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qpointer.h:100:20: error: 'is_integral' is not a member of 'std' 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: expected primary-expression before '>' token 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: '::value' has not been declared 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock()': /usr/include/qt5/QtCore/qmutex.h:101:40: error: 'nullptr' was not declared in this scope 101 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked()); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock()': /usr/include/qt5/QtCore/qmutex.h:104:55: error: 'nullptr' was not declared in this scope 104 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:107:40: error: 'nullptr' was not declared in this scope 107 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked(), current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:110:55: error: 'nullptr' was not declared in this scope 110 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr, current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: At global scope: /usr/include/qt5/QtCore/qmutex.h:145:28: error: 'std::chrono' has not been declared 145 | bool try_lock_for(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:145:44: error: expected ',' or '...' before '<' token 145 | bool try_lock_for(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h:152:30: error: 'std::chrono' has not been declared 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:152:48: error: expected ',' or '...' before '<' token 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^ /usr/include/qt5/QtCore/qmutex.h:171:43: error: 'std::chrono' has not been declared 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:59: error: expected ',' or '...' before '<' token 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_for(int)': /usr/include/qt5/QtCore/qmutex.h:147:54: error: no matching function for call to 'QMutex::convertToMilliseconds(int&)' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h:171:16: note: candidate: 'template static int QMutex::convertToMilliseconds(int)' 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:16: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qmutex.h:147:54: note: couldn't deduce template parameter 'Rep' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_until(int)': /usr/include/qt5/QtCore/qmutex.h:157:29: error: 'timePoint' was not declared in this scope; did you mean 'time_point'? 157 | return try_lock_for(timePoint - Clock::now()); | ^~~~~~~~~ | time_point /usr/include/qt5/QtCore/qmutex.h: In static member function 'static int QMutex::convertToMilliseconds(int)': /usr/include/qt5/QtCore/qmutex.h:178:34: error: request for member 'zero' in 'duration', which is of non-class type 'int' 178 | if (duration <= duration.zero()) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:183:14: error: 'std::chrono' has not been declared 183 | std::chrono::milliseconds wait = std::chrono::duration_cast(duration); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:184:13: error: 'wait' was not declared in this scope 184 | if (wait < duration) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:185:26: error: 'std::chrono' has not been declared 185 | wait += std::chrono::milliseconds(1); | ^~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmutex.h:186:9: error: 'wait' was not declared in this scope 186 | Q_ASSERT(wait >= duration); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qmutex.h:187:20: error: 'ms' does not name a type; did you mean 'ws'? 187 | const auto ms = wait.count(); | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:188:20: error: 'maxInt' does not name a type 188 | const auto maxInt = (std::numeric_limits::max)(); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:190:16: error: 'ms' was not declared in this scope; did you mean 'ws'? 190 | return ms < maxInt ? int(ms) : maxInt; | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:190:21: error: 'maxInt' was not declared in this scope 190 | return ms < maxInt ? int(ms) : maxInt; | ^~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:127:37: error: expected ',' or '...' before '&&' token 127 | static QThread *create(Function &&f); | ^~ /usr/include/qt5/QtCore/qthread.h:162:21: error: expected ';' at end of member declaration 162 | static QThread *createThreadImpl(std::future &&future); | ^~~~~~~~~~~~~~~~ | ; /usr/include/qt5/QtCore/qthread.h:162:49: error: expected ')' before '<' token 162 | static QThread *createThreadImpl(std::future &&future); | ~ ^ | ) In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qthread.h:78:40: error: 'nullptr' was not declared in this scope 78 | explicit QThread(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:156:51: error: 'nullptr' was not declared in this scope 156 | QThread(QThreadPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qthread.h: In member function 'QThreadPrivate* QThread::d_func()': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: In member function 'const QThreadPrivate* QThread::d_func() const': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:207:32: error: expected ',' or '...' before '&&' token 207 | explicit Callable(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h:228:19: error: 'decay' in namespace 'std' does not name a template type; did you mean 'dec'? 228 | typename std::decay::type m_function; | ^~~~~ | dec /usr/include/qt5/QtCore/qthread.h:228:24: error: expected unqualified-id before '<' token 228 | typename std::decay::type m_function; | ^ /usr/include/qt5/QtCore/qthread.h: In constructor 'QtPrivate::Callable::Callable(Function)': /usr/include/qt5/QtCore/qthread.h:208:11: error: class 'QtPrivate::Callable' does not have any field named 'm_function' 208 | : m_function(std::forward(f)) | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: error: 'forward' is not a member of 'std' 208 | : m_function(std::forward(f)) | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:208:43: error: expected primary-expression before '>' token 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h:208:45: error: 'f' was not declared in this scope 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h: In member function 'void QtPrivate::Callable::operator()()': /usr/include/qt5/QtCore/qthread.h:225:15: error: there are no arguments to 'm_function' that depend on a template parameter, so a declaration of 'm_function' must be available [-fpermissive] 225 | (void)m_function(); | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:233:35: error: expected ',' or '...' before '&&' token 233 | QThread *QThread::create(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h: In static member function 'static QThread* QThread::create(Function)': /usr/include/qt5/QtCore/qthread.h:235:34: error: 'async' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~ /usr/include/qt5/QtCore/qthread.h:235:34: note: 'std::async' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:45: error: 'std::launch' has not been declared 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:116: error: 'f' was not declared in this scope 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:92: error: expected primary-expression before '(' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:114: error: expected primary-expression before '>' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:120: error: 'QThread::createThreadImpl' cannot be used as a function 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qurl.h: At global scope: /usr/include/qt5/QtCore/qurl.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QUrl adjusted(FormattingOptions options) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT QUrl resolved(const QUrl &relative) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qurl.h:375:1: error: 'is_integral' is not a member of 'std' 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: expected primary-expression before '>' token 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: '::value' has not been declared 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QUrl:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions& operator|=(QUrl::FormattingOptions&, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:389:39: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 389 | { i |= QUrl::UrlFormattingOption(int(f)); return i; } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::UrlFormattingOption, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:393:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 393 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::UrlFormattingOption)': /usr/include/qt5/QtCore/qurl.h:397:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 397 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::FormattingOptions, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:399:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 399 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::FormattingOptions)': /usr/include/qt5/QtCore/qurl.h:403:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 403 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qprogressdialog.h: At global scope: /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:20: /usr/include/qt5/QtWidgets/qprogressdialog.h:71:48: error: 'nullptr' was not declared in this scope 71 | explicit QProgressDialog(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:73:65: error: 'nullptr' was not declared in this scope 73 | int minimum, int maximum, QWidget *parent = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'QProgressDialogPrivate* QProgressDialog::d_func()': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'const QProgressDialogPrivate* QProgressDialog::d_func() const': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtGui/qbrush.h:46, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:62:79: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:106:61: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:147:82: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:185:64: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QIODevice::OpenModeFlag]': /usr/include/qt5/QtCore/qiodevice.h:185:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(QFlags) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtWidgets/qsizepolicy.h:138:90: required from here /usr/include/qt5/QtCore/qflags.h:139:113: error: 'class QFlags' has no member named 'i' 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ~~~~~~^ /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QSizePolicy::ControlType]': /usr/include/qt5/QtWidgets/qsizepolicy.h:234:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QWidget::RenderFlag]': /usr/include/qt5/QtWidgets/qwidget.h:737:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator&(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtWidgets/qwidget.h:756:67: required from here /usr/include/qt5/QtCore/qflags.h:145:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QLocale::NumberOption]': /usr/include/qt5/QtCore/qlocale.h:1099:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QTextStream::NumberFlag]': /usr/include/qt5/QtCore/qtextstream.h:202:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QFileDevice::Permission]': /usr/include/qt5/QtCore/qfiledevice.h:150:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMainWindow::DockOption]': /usr/include/qt5/QtWidgets/qmainwindow.h:215:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator&(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtWidgets/qtoolbar.h:89:32: required from here /usr/include/qt5/QtCore/qflags.h:145:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QUrl::ComponentFormattingOption]': /usr/include/qt5/QtCore/qurl.h:376:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qdialog.h:43, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QMap; typename T::key_type = QString; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QMap; typename T::mapped_type = QVariant; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QHash; typename T::key_type = QString; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QHash; typename T::mapped_type = QVariant; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode::destroySubTree() [with Key = QString; T = QVariant]': /usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData::destroy() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap::~QMap() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qvariant.h:821:29: required from here /usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope 127 | callDestructorIfNecessary(key); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 128 | callDestructorIfNecessary(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qarraydata.h: In instantiation of 'static QTypedArrayData* QTypedArrayData::unsharableEmpty() [with T = QPoint]': /usr/include/qt5/QtCore/qvector.h:387:38: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qarraydata.h:273:24: error: 'allocate' was not declared in this scope; did you mean 'deallocate'? 273 | return allocate(/* capacity */ 0, Unsharable); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | deallocate In file included from /usr/include/qt5/QtGui/qbrush.h:46, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/DocumentGet.cpp:19: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'void QVector::reallocData(int, int, QArrayData::AllocationOptions) [with T = QPoint; QArrayData::AllocationOptions = QFlags]': /usr/include/qt5/QtCore/qvector.h:390:13: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qvector.h:563:35: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 563 | x = Data::allocate(aalloc, options); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:1049: src/CMakeFiles/rosegardenprivate.dir/document/DocumentGet.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/document/RoseXmlHandler.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qhash.h:45, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/bits/char_traits.h:39, from /usr/include/c++/9/string:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/XmlExportable.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope; did you mean 'timercmp'? 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ | timercmp /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:43, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qset.h: In member function 'QSet& QSet::subtract(const QSet&)': /usr/include/qt5/QtCore/qset.h:348:14: error: 'i' does not name a type 348 | auto i = other.constEnd(); | ^ /usr/include/qt5/QtCore/qset.h:349:16: error: 'i' was not declared in this scope 349 | while (i != other.constBegin()) { | ^ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdebug.h: In member function 'QDebug& QDebug::operator<<(QStringView)': /usr/include/qt5/QtCore/qdebug.h:158:60: error: 'class QStringView' has no member named 'data' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ /usr/include/qt5/QtCore/qdebug.h:158:77: error: 'class QStringView' has no member named 'size' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdebug.h: At global scope: /usr/include/qt5/QtCore/qdebug.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdebug.h:371:15: error: 'enable_if' in namespace 'std' does not name a template type 371 | typename std::enable_if::Value, QDebug>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:371:24: error: expected unqualified-id before '<' token 371 | typename std::enable_if::Value, QDebug>::type | ^ /usr/include/qt5/QtCore/qdebug.h:380:37: error: 'enable_if' in namespace 'std' does not name a template type 380 | typename A = typename std::enable_if::value, void>::type, | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:380:46: error: expected '>' before '<' token 380 | typename A = typename std::enable_if::value, void>::type, | ^ /usr/include/qt5/QtCore/qdebug.h:385:1: error: expected unqualified-id before '{' token 385 | { | ^ /usr/include/qt5/QtCore/qdebug.h:393:22: error: 'enable_if' in namespace 'std' does not name a template type 393 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:393:31: error: expected unqualified-id before '<' token 393 | inline typename std::enable_if< | ^ /usr/include/qt5/QtCore/qdebug.h:404:22: error: 'enable_if' in namespace 'std' does not name a template type 404 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:404:31: error: expected unqualified-id before '<' token 404 | inline typename std::enable_if< | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtXml/qxml.h:45, from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfiledevice.h:139:59: error: 'nullptr' was not declared in this scope 139 | QFileDevice(QFileDevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfiledevice.h: In member function 'QFileDevicePrivate* QFileDevice::d_func()': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h: In member function 'const QFileDevicePrivate* QFileDevice::d_func() const': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfile.h: At global scope: /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtXml/qxml.h:45, from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfile.h:145:47: error: 'nullptr' was not declared in this scope 145 | QFile(QFilePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfile.h: In member function 'QFilePrivate* QFile::d_func()': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfile.h: In member function 'const QFilePrivate* QFile::d_func() const': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtXml/qxml.h:45, from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfile.h: In static member function 'static QByteArray QFile::encodeName(const QString&)': /usr/include/qt5/QtCore/qfile.h:90:25: error: 'const class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 90 | return fileName.toLocal8Bit(); | ^~~~~~~~~~~ | fromLocal8Bit In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtXml/qxml.h: At global scope: /usr/include/qt5/QtXml/qxml.h:163:1: error: 'is_integral' is not a member of 'std' 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:163:1: error: expected primary-expression before '>' token 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:163:1: error: '::value' has not been declared 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: 'is_integral' is not a member of 'std' 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: expected primary-expression before '>' token 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: '::value' has not been declared 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtXml/qxml.h:226:58: error: 'nullptr' was not declared in this scope 226 | virtual bool feature(const QString& name, bool *ok = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:229:60: error: 'nullptr' was not declared in this scope 229 | virtual void* property(const QString& name, bool *ok = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:254:50: error: 'nullptr' was not declared in this scope 254 | bool feature(const QString& name, bool *ok = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:258:52: error: 'nullptr' was not declared in this scope 258 | void* property(const QString& name, bool *ok = nullptr) const override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtXml/qxml.h: In member function 'QXmlSimpleReaderPrivate* QXmlSimpleReader::d_func()': /usr/include/qt5/QtXml/qxml.h:282:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtXml/qxml.h:282:5: note: mismatched types 'T*' and 'QScopedPointer' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h: In member function 'const QXmlSimpleReaderPrivate* QXmlSimpleReader::d_func() const': /usr/include/qt5/QtXml/qxml.h:282:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtXml/qxml.h:282:5: note: mismatched types 'T*' and 'QScopedPointer' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h: At global scope: /usr/include/qt5/QtCore/qpointer.h:55:5: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: expected primary-expression before '>' token 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: '::value' has not been declared 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:100:20: error: 'is_integral' is not a member of 'std' 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: expected primary-expression before '>' token 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: '::value' has not been declared 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: 'is_integral' is not a member of 'std' 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: expected primary-expression before '>' token 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: '::value' has not been declared 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: 'is_integral' is not a member of 'std' 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: expected primary-expression before '>' token 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: '::value' has not been declared 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:46, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmargins.h: In member function 'bool QMarginsF::isNull() const': /usr/include/qt5/QtCore/qmargins.h:345:10: error: 'qFuzzyIsNull' was not declared in this scope 345 | { return qFuzzyIsNull(m_left) && qFuzzyIsNull(m_top) && qFuzzyIsNull(m_right) && qFuzzyIsNull(m_bottom); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h: In function 'bool operator==(const QMarginsF&, const QMarginsF&)': /usr/include/qt5/QtCore/qmargins.h:374:12: error: 'qFuzzyCompare' was not declared in this scope 374 | return qFuzzyCompare(lhs.left(), rhs.left()) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:67:5: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:71:5: error: expected unqualified-id before '[' token 71 | Q_REQUIRED_RESULT QSize scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:72:5: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT QSize scaled(const QSize &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:74:5: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize expandedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:75:5: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize boundedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h:101:1: error: 'is_integral' is not a member of 'std' 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: expected primary-expression before '>' token 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: '::value' has not been declared 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h:142:31: error: no declaration matches 'QSize QSize::transposed() const' 142 | Q_DECL_CONSTEXPR inline QSize QSize::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:142:31: note: no functions named 'QSize QSize::transposed() const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSize::scale(const QSize&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:149:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 149 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:151:14: error: no declaration matches 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' 151 | inline QSize QSize::scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:151:14: note: no functions named 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: In member function 'QSize& QSize::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:189:5: error: 'qFuzzyIsNull' was not declared in this scope 189 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSize operator/(const QSize&, qreal)': /usr/include/qt5/QtCore/qsize.h:196:5: error: 'qFuzzyIsNull' was not declared in this scope 196 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:200:31: error: no declaration matches 'QSize QSize::expandedTo(const QSize&) const' 200 | Q_DECL_CONSTEXPR inline QSize QSize::expandedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:200:31: note: no functions named 'QSize QSize::expandedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: error: no declaration matches 'QSize QSize::boundedTo(const QSize&) const' 205 | Q_DECL_CONSTEXPR inline QSize QSize::boundedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: note: no functions named 'QSize QSize::boundedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:236:5: error: expected unqualified-id before '[' token 236 | Q_REQUIRED_RESULT QSizeF scaled(const QSizeF &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF expandedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF boundedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h:268:1: error: 'is_integral' is not a member of 'std' 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: expected primary-expression before '>' token 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: '::value' has not been declared 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: In member function 'bool QSizeF::isNull() const': /usr/include/qt5/QtCore/qsize.h:292:10: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 292 | { return qIsNull(wd) && qIsNull(ht); } | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:312:32: error: no declaration matches 'QSizeF QSizeF::transposed() const' 312 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:312:32: note: no functions named 'QSizeF QSizeF::transposed() const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSizeF::scale(const QSizeF&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:319:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 319 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:321:15: error: no declaration matches 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' 321 | inline QSizeF QSizeF::scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:321:15: note: no functions named 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator==(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:340:10: error: 'qFuzzyCompare' was not declared in this scope 340 | { return qFuzzyCompare(s1.wd, s2.wd) && qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator!=(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:343:11: error: 'qFuzzyCompare' was not declared in this scope 343 | { return !qFuzzyCompare(s1.wd, s2.wd) || !qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: In member function 'QSizeF& QSizeF::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:359:5: error: 'qFuzzyIsNull' was not declared in this scope 359 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSizeF operator/(const QSizeF&, qreal)': /usr/include/qt5/QtCore/qsize.h:366:5: error: 'qFuzzyIsNull' was not declared in this scope 366 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:370:32: error: no declaration matches 'QSizeF QSizeF::expandedTo(const QSizeF&) const' 370 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::expandedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:370:32: note: no functions named 'QSizeF QSizeF::expandedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: error: no declaration matches 'QSizeF QSizeF::boundedTo(const QSizeF&) const' 375 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::boundedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: note: no functions named 'QSizeF QSizeF::boundedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpoint.h:106:1: error: 'is_integral' is not a member of 'std' 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: expected primary-expression before '>' token 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: '::value' has not been declared 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: 'is_integral' is not a member of 'std' 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: expected primary-expression before '>' token 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: '::value' has not been declared 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpoint.h: In member function 'bool QPointF::isNull() const': /usr/include/qt5/QtCore/qpoint.h:298:12: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 298 | return qIsNull(xp) && qIsNull(yp); | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qpoint.h: In function 'bool operator==(const QPointF&, const QPointF&)': /usr/include/qt5/QtCore/qpoint.h:354:34: error: 'qFuzzyIsNull' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:354:64: error: 'qFuzzyCompare' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:73:5: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT QRect normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(int dx, int dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(const QPoint &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect adjusted(int x1, int y1, int x2, int y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:139:5: error: expected unqualified-id before '[' token 139 | Q_REQUIRED_RESULT inline QRect united(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:140:5: error: expected unqualified-id before '[' token 140 | Q_REQUIRED_RESULT inline QRect intersected(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:166:1: error: 'is_integral' is not a member of 'std' 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: expected primary-expression before '>' token 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: '::value' has not been declared 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:290:31: error: no declaration matches 'QRect QRect::translated(int, int) const' 290 | Q_DECL_CONSTEXPR inline QRect QRect::translated(int dx, int dy) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:290:31: note: no functions named 'QRect QRect::translated(int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: error: no declaration matches 'QRect QRect::translated(const QPoint&) const' 293 | Q_DECL_CONSTEXPR inline QRect QRect::translated(const QPoint &p) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: note: no functions named 'QRect QRect::translated(const QPoint&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: error: no declaration matches 'QRect QRect::transposed() const' 296 | Q_DECL_CONSTEXPR inline QRect QRect::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: note: no functions named 'QRect QRect::transposed() const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: error: no declaration matches 'QRect QRect::adjusted(int, int, int, int) const' 399 | Q_DECL_CONSTEXPR inline QRect QRect::adjusted(int xp1, int yp1, int xp2, int yp2) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: note: no functions named 'QRect QRect::adjusted(int, int, int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: error: no declaration matches 'QRect QRect::intersected(const QRect&) const' 444 | inline QRect QRect::intersected(const QRect &other) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: note: no functions named 'QRect QRect::intersected(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: error: no declaration matches 'QRect QRect::united(const QRect&) const' 449 | inline QRect QRect::united(const QRect &r) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: note: no functions named 'QRect QRect::united(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:523:5: error: expected unqualified-id before '[' token 523 | Q_REQUIRED_RESULT QRectF normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:563:5: error: expected unqualified-id before '[' token 563 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(qreal dx, qreal dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:564:5: error: expected unqualified-id before '[' token 564 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(const QPointF &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:566:5: error: expected unqualified-id before '[' token 566 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:578:5: error: expected unqualified-id before '[' token 578 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF adjusted(qreal x1, qreal y1, qreal x2, qreal y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:595:5: error: expected unqualified-id before '[' token 595 | Q_REQUIRED_RESULT inline QRectF united(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:596:5: error: expected unqualified-id before '[' token 596 | Q_REQUIRED_RESULT inline QRectF intersected(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:612:5: error: expected unqualified-id before '[' token 612 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect toRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:613:5: error: expected unqualified-id before '[' token 613 | Q_REQUIRED_RESULT QRect toAlignedRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:626:1: error: 'is_integral' is not a member of 'std' 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: expected primary-expression before '>' token 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: '::value' has not been declared 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:773:32: error: no declaration matches 'QRectF QRectF::translated(qreal, qreal) const' 773 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(qreal dx, qreal dy) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:773:32: note: no functions named 'QRectF QRectF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: error: no declaration matches 'QRectF QRectF::translated(const QPointF&) const' 776 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(const QPointF &p) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: note: no functions named 'QRectF QRectF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: error: no declaration matches 'QRectF QRectF::transposed() const' 779 | Q_DECL_CONSTEXPR inline QRectF QRectF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: note: no functions named 'QRectF QRectF::transposed() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: error: no declaration matches 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' 817 | Q_DECL_CONSTEXPR inline QRectF QRectF::adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: note: no functions named 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: error: no declaration matches 'QRectF QRectF::intersected(const QRectF&) const' 849 | inline QRectF QRectF::intersected(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: note: no functions named 'QRectF QRectF::intersected(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: error: no declaration matches 'QRectF QRectF::united(const QRectF&) const' 854 | inline QRectF QRectF::united(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: note: no functions named 'QRectF QRectF::united(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator==(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:861:12: error: 'qFuzzyCompare' was not declared in this scope 861 | return qFuzzyCompare(r1.xp, r2.xp) && qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator!=(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:867:13: error: 'qFuzzyCompare' was not declared in this scope 867 | return !qFuzzyCompare(r1.xp, r2.xp) || !qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:871:31: error: no declaration matches 'QRect QRectF::toRect() const' 871 | Q_DECL_CONSTEXPR inline QRect QRectF::toRect() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:871:31: note: no functions named 'QRect QRectF::toRect() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h:81:5: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT QPolygon translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:82:5: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT inline QPolygon translated(const QPoint &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:98:5: error: expected unqualified-id before '[' token 98 | Q_REQUIRED_RESULT QPolygon united(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:99:5: error: expected unqualified-id before '[' token 99 | Q_REQUIRED_RESULT QPolygon intersected(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:100:5: error: expected unqualified-id before '[' token 100 | Q_REQUIRED_RESULT QPolygon subtracted(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h:104:1: error: 'is_integral' is not a member of 'std' 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: expected primary-expression before '>' token 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: '::value' has not been declared 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h:136:17: error: no declaration matches 'QPolygon QPolygon::translated(const QPoint&) const' 136 | inline QPolygon QPolygon::translated(const QPoint &offset) const | ^~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:136:17: note: no functions named 'QPolygon QPolygon::translated(const QPoint&) const' /usr/include/qt5/QtGui/qpolygon.h:56:20: note: 'class QPolygon' defined here 56 | class Q_GUI_EXPORT QPolygon : public QVector | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h:167:5: error: expected unqualified-id before '[' token 167 | Q_REQUIRED_RESULT QPolygonF translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:177:5: error: expected unqualified-id before '[' token 177 | Q_REQUIRED_RESULT QPolygonF united(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:178:5: error: expected unqualified-id before '[' token 178 | Q_REQUIRED_RESULT QPolygonF intersected(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QPolygonF subtracted(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h:183:1: error: 'is_integral' is not a member of 'std' 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: expected primary-expression before '>' token 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: '::value' has not been declared 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpolygon.h: In member function 'QPolygonF QPolygonF::translated(qreal, qreal) const': /usr/include/qt5/QtGui/qpolygon.h:203:36: error: no matching function for call to 'QPolygonF::translated(QPointF) const' 203 | { return translated(QPointF(dx, dy)); } | ^ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate: 'QPolygonF QPolygonF::translated(qreal, qreal) const' 202 | inline QPolygonF QPolygonF::translated(qreal dx, qreal dy) const | ^~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate expects 2 arguments, 1 provided In file included from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatastream.h: At global scope: /usr/include/qt5/QtCore/qdatastream.h:158:34: error: declaration of 'operator>>' as non-function 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qdatastream.h:158:26: error: expected ';' at end of member declaration 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:158:43: error: expected ')' before '&' token 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qdatastream.h:174:43: error: declaration of 'operator<<' as non-function 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:26: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:174:61: error: invalid use of '::' 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:61: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ | ; /usr/include/qt5/QtCore/qdatastream.h: In function 'QDataStream& QtPrivate::writeAssociativeContainer(QDataStream&, const Container&)': /usr/include/qt5/QtCore/qdatastream.h:315:10: error: 'it' does not name a type; did you mean 'Qt'? 315 | auto it = c.constEnd(); | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:316:10: error: 'begin' does not name a type; did you mean 'bin'? 316 | auto begin = c.constBegin(); | ^~~~~ | bin /usr/include/qt5/QtCore/qdatastream.h:317:12: error: 'it' was not declared in this scope; did you mean 'Qt'? 317 | while (it != begin) { | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:317:18: error: 'begin' was not declared in this scope; did you mean 'bin'? 317 | while (it != begin) { | ^~~~~ | bin In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qregion.h: At global scope: /usr/include/qt5/QtGui/qregion.h:72:21: error: expected ',' or '...' before '&&' token 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtGui/qregion.h:72:28: error: invalid constructor; you probably meant 'QRegion (const QRegion&)' 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qregion.h:102:5: error: expected unqualified-id before '[' token 102 | Q_REQUIRED_RESULT QRegion translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:103:5: error: expected unqualified-id before '[' token 103 | Q_REQUIRED_RESULT inline QRegion translated(const QPoint &p) const { return translated(p.x(), p.y()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:105:5: error: expected unqualified-id before '[' token 105 | Q_REQUIRED_RESULT QRegion united(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:106:5: error: expected unqualified-id before '[' token 106 | Q_REQUIRED_RESULT QRegion united(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT QRegion intersected(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT QRegion intersected(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT QRegion subtracted(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:110:5: error: expected unqualified-id before '[' token 110 | Q_REQUIRED_RESULT QRegion xored(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qregion.h:184:1: error: 'is_integral' is not a member of 'std' 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: expected primary-expression before '>' token 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: '::value' has not been declared 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:76:5: error: expected unqualified-id before '[' token 76 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(const QPoint &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:77:5: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:79:5: error: expected unqualified-id before '[' token 79 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPoint center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:92:1: error: 'is_integral' is not a member of 'std' 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: expected primary-expression before '>' token 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: '::value' has not been declared 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:160:31: error: no declaration matches 'QLine QLine::translated(const QPoint&) const' 160 | Q_DECL_CONSTEXPR inline QLine QLine::translated(const QPoint &p) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:160:31: note: no functions named 'QLine QLine::translated(const QPoint&) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:165:31: error: no declaration matches 'QLine QLine::translated(int, int) const' 165 | Q_DECL_CONSTEXPR inline QLine QLine::translated(int adx, int ady) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:165:31: note: no functions named 'QLine QLine::translated(int, int) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:170:32: error: no declaration matches 'QPoint QLine::center() const' 170 | Q_DECL_CONSTEXPR inline QPoint QLine::center() const | ^~~~~ /usr/include/qt5/QtCore/qline.h:170:32: note: no functions named 'QPoint QLine::center() const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:224:5: error: expected unqualified-id before '[' token 224 | Q_REQUIRED_RESULT static QLineF fromPolar(qreal length, qreal angle); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:248:5: error: expected unqualified-id before '[' token 248 | Q_REQUIRED_RESULT QLineF unitVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:249:5: error: expected unqualified-id before '[' token 249 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF normalVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:260:5: error: expected unqualified-id before '[' token 260 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(const QPointF &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:263:5: error: expected unqualified-id before '[' token 263 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPointF center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h:278:1: error: 'is_integral' is not a member of 'std' 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: expected primary-expression before '>' token 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: '::value' has not been declared 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qline.h: In member function 'bool QLineF::isNull() const': /usr/include/qt5/QtCore/qline.h:320:12: error: 'qFuzzyCompare' was not declared in this scope 320 | return qFuzzyCompare(pt1.x(), pt2.x()) && qFuzzyCompare(pt1.y(), pt2.y()); | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h: At global scope: /usr/include/qt5/QtCore/qline.h:343:32: error: no declaration matches 'QLineF QLineF::normalVector() const' 343 | Q_DECL_CONSTEXPR inline QLineF QLineF::normalVector() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:343:32: note: no functions named 'QLineF QLineF::normalVector() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: error: no declaration matches 'QLineF QLineF::translated(const QPointF&) const' 359 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(const QPointF &p) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: note: no functions named 'QLineF QLineF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: error: no declaration matches 'QLineF QLineF::translated(qreal, qreal) const' 364 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(qreal adx, qreal ady) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: note: no functions named 'QLineF QLineF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: error: no declaration matches 'QPointF QLineF::center() const' 369 | Q_DECL_CONSTEXPR inline QPointF QLineF::center() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: note: no functions named 'QPointF QLineF::center() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h: In member function 'void QLineF::setLength(qreal)': /usr/include/qt5/QtCore/qline.h:378:16: error: 'unitVector' was not declared in this scope; did you mean 'QVector'? 378 | QLineF v = unitVector(); | ^~~~~~~~~~ | QVector In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:67:32: error: expected ',' or '...' before '&&' token 67 | QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:21: error: expected ',' or '...' before '&&' token 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:28: error: invalid constructor; you probably meant 'QMatrix (const QMatrix&)' 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:111:5: error: expected unqualified-id before '[' token 111 | Q_REQUIRED_RESULT QMatrix inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h: In member function 'QMatrix& QMatrix::operator=(QMatrix)': /usr/include/qt5/QtGui/qmatrix.h:68:62: error: 'other' was not declared in this scope 68 | { memcpy(static_cast(this), static_cast(&other), sizeof(QMatrix)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isInvertible() const': /usr/include/qt5/QtGui/qmatrix.h:108:41: error: 'qFuzzyIsNull' was not declared in this scope 108 | bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); } | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:141:1: error: 'is_integral' is not a member of 'std' 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: expected primary-expression before '>' token 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: '::value' has not been declared 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isIdentity() const': /usr/include/qt5/QtGui/qmatrix.h:164:12: error: 'qFuzzyIsNull' was not declared in this scope 164 | return qFuzzyIsNull(_m11 - 1) && qFuzzyIsNull(_m22 - 1) && qFuzzyIsNull(_m12) | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h: In function 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)': /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:157:5: error: expected unqualified-id before '[' token 157 | Q_REQUIRED_RESULT QPainterPath translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:158:5: error: expected unqualified-id before '[' token 158 | Q_REQUIRED_RESULT inline QPainterPath translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:168:5: error: expected unqualified-id before '[' token 168 | Q_REQUIRED_RESULT QPainterPath toReversed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:188:5: error: expected unqualified-id before '[' token 188 | Q_REQUIRED_RESULT QPainterPath united(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:189:5: error: expected unqualified-id before '[' token 189 | Q_REQUIRED_RESULT QPainterPath intersected(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:190:5: error: expected unqualified-id before '[' token 190 | Q_REQUIRED_RESULT QPainterPath subtracted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:191:5: error: expected unqualified-id before '[' token 191 | Q_REQUIRED_RESULT QPainterPath subtractedInverted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:193:5: error: expected unqualified-id before '[' token 193 | Q_REQUIRED_RESULT QPainterPath simplified() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'bool QPainterPath::Element::operator==(const QPainterPath::Element&) const': /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: 'is_integral' is not a member of 'std' 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: expected primary-expression before '>' token 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: '::value' has not been declared 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: 'is_integral' is not a member of 'std' 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: expected primary-expression before '>' token 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: '::value' has not been declared 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'QPainterPathStrokerPrivate* QPainterPathStroker::d_func()': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h: In member function 'const QPainterPathStrokerPrivate* QPainterPathStroker::d_func() const': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:368:21: error: no declaration matches 'QPainterPath QPainterPath::translated(const QPointF&) const' 368 | inline QPainterPath QPainterPath::translated(const QPointF &offset) const | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:368:21: note: no functions named 'QPainterPath QPainterPath::translated(const QPointF&) const' /usr/include/qt5/QtGui/qpainterpath.h:64:20: note: 'class QPainterPath' defined here 64 | class Q_GUI_EXPORT QPainterPath | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:80:38: error: expected ',' or '...' before '&&' token 80 | QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:27: error: expected ',' or '...' before '&&' token 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:34: error: invalid constructor; you probably meant 'QTransform (const QTransform&)' 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:119:5: error: expected unqualified-id before '[' token 119 | Q_REQUIRED_RESULT QTransform inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:120:5: error: expected unqualified-id before '[' token 120 | Q_REQUIRED_RESULT QTransform adjoint() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT QTransform transposed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h: In member function 'QTransform& QTransform::operator=(QTransform)': /usr/include/qt5/QtGui/qtransform.h:81:62: error: 'other' was not declared in this scope 81 | { memcpy(static_cast(this), static_cast(&other), sizeof(QTransform)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, bool)': /usr/include/qt5/QtGui/qtransform.h:176:13: error: 'nullptr' was not declared in this scope 176 | , d(nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(bool)': /usr/include/qt5/QtGui/qtransform.h:184:13: error: 'nullptr' was not declared in this scope 184 | , d(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h: At global scope: /usr/include/qt5/QtGui/qtransform.h:200:1: error: 'is_integral' is not a member of 'std' 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: expected primary-expression before '>' token 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: '::value' has not been declared 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h: In member function 'bool QTransform::isInvertible() const': /usr/include/qt5/QtGui/qtransform.h:223:13: error: 'qFuzzyIsNull' was not declared in this scope 223 | return !qFuzzyIsNull(determinant()); | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In function 'bool qFuzzyCompare(const QTransform&, const QTransform&)': /usr/include/qt5/QtGui/qtransform.h:359:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 359 | return qFuzzyCompare(t1.m11(), t2.m11()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:360:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 360 | && qFuzzyCompare(t1.m12(), t2.m12()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:361:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 361 | && qFuzzyCompare(t1.m13(), t2.m13()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:362:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 362 | && qFuzzyCompare(t1.m21(), t2.m21()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:363:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 363 | && qFuzzyCompare(t1.m22(), t2.m22()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:364:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 364 | && qFuzzyCompare(t1.m23(), t2.m23()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:365:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 365 | && qFuzzyCompare(t1.m31(), t2.m31()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:366:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 366 | && qFuzzyCompare(t1.m32(), t2.m32()) | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:367:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 367 | && qFuzzyCompare(t1.m33(), t2.m33()); | ^ In file included from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:50, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpixelformat.h: At global scope: /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: 'is_integral' is not a member of 'std' 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: expected primary-expression before '>' token 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: '::value' has not been declared 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qimage.h:197:5: error: expected unqualified-id before '[' token 197 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, const QVector &colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qimage.h:225:5: error: 'qsizetype' does not name a type 225 | qsizetype sizeInBytes() const; | ^~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qimage.h:144:103: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:51, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qimage.h:144:132: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:109: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:138: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:121: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:150: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:127: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:156: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:152:67: error: 'nullptr' was not declared in this scope 152 | explicit QImage(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:306:61: error: 'nullptr' was not declared in this scope 306 | bool load(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:307:71: error: 'nullptr' was not declared in this scope 307 | bool loadFromData(const uchar *buf, int len, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:308:76: error: 'nullptr' was not declared in this scope 308 | inline bool loadFromData(const QByteArray &data, const char *aformat = nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:311:61: error: 'nullptr' was not declared in this scope 311 | bool save(const QString &fileName, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:312:55: error: 'nullptr' was not declared in this scope 312 | bool save(QIODevice *device, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:314:78: error: 'nullptr' was not declared in this scope 314 | static QImage fromData(const uchar *data, int size, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:315:80: error: 'nullptr' was not declared in this scope 315 | inline static QImage fromData(const QByteArray &data, const char *format = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qimage.h:383:1: error: 'is_integral' is not a member of 'std' 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: expected primary-expression before '>' token 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: '::value' has not been declared 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpixmap.h:68:59: error: 'nullptr' was not declared in this scope 68 | QPixmap(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:141:61: error: 'nullptr' was not declared in this scope 141 | bool load(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:142:72: error: 'nullptr' was not declared in this scope 142 | bool loadFromData(const uchar *buf, uint len, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qbrush.h:52, from /usr/include/qt5/QtGui/qpalette.h:46, from /usr/include/qt5/QtWidgets/qwidget.h:48, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpixmap.h:143:75: error: 'nullptr' was not declared in this scope 143 | inline bool loadFromData(const QByteArray &data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:144:61: error: 'nullptr' was not declared in this scope 144 | bool save(const QString& fileName, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:145:55: error: 'nullptr' was not declared in this scope 145 | bool save(QIODevice* device, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:152:96: error: 'nullptr' was not declared in this scope 152 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:153:71: error: 'nullptr' was not declared in this scope 153 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qpixmap.h:205:1: error: 'is_integral' is not a member of 'std' 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: expected primary-expression before '>' token 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: '::value' has not been declared 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: 'is_integral' is not a member of 'std' 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: expected primary-expression before '>' token 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: '::value' has not been declared 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: 'is_integral' is not a member of 'std' 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: expected primary-expression before '>' token 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: '::value' has not been declared 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: 'is_integral' is not a member of 'std' 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: expected primary-expression before '>' token 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: '::value' has not been declared 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:110:106: error: 'nullptr' was not declared in this scope 110 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:112:65: error: 'nullptr' was not declared in this scope 112 | int tabstops = 0, int *tabarray = nullptr) const | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:114:81: error: 'nullptr' was not declared in this scope 114 | QSize size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: 'is_integral' is not a member of 'std' 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: expected primary-expression before '>' token 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: '::value' has not been declared 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:184:110: error: 'nullptr' was not declared in this scope 184 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:185:82: error: 'nullptr' was not declared in this scope 185 | QSizeF size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: 'is_integral' is not a member of 'std' 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: expected primary-expression before '>' token 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: '::value' has not been declared 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: 'is_integral' is not a member of 'std' 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: expected primary-expression before '>' token 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: '::value' has not been declared 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qsizepolicy.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/include/qt5/QtWidgets/qsizepolicy.h:161:72: error: 'transposed' was not declared in this scope; did you mean 'transpose'? 161 | Q_DECL_RELAXED_CONSTEXPR void transpose() Q_DECL_NOTHROW { *this = transposed(); } | ^~~~~~~~~~ | transpose In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope: /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: 'is_integral' is not a member of 'std' 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: expected primary-expression before '>' token 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: '::value' has not been declared 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: 'is_integral' is not a member of 'std' 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: expected primary-expression before '>' token 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: '::value' has not been declared 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: 'is_integral' is not a member of 'std' 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: expected primary-expression before '>' token 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: '::value' has not been declared 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qwidget.h:214:40: error: 'nullptr' was not declared in this scope 214 | explicit QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:599:76: error: 'nullptr' was not declared in this scope 599 | static QWidget *createWindowContainer(QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qwidget.h: In member function 'QWidgetPrivate* QWidget::d_func()': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'const QWidgetPrivate* QWidget::d_func() const': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:742:42: error: 'nullptr' was not declared in this scope 742 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:747:42: error: 'nullptr' was not declared in this scope 747 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'Qt::WindowType QWidget::windowType() const': /usr/include/qt5/QtWidgets/qwidget.h:756:82: error: invalid cast from type 'QFlags' to type 'int' 756 | { return static_cast(int(data->window_flags & Qt::WindowType_Mask)); } | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qdialog.h:63:40: error: 'nullptr' was not declared in this scope 63 | explicit QDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qdialog.h: In member function 'QDialogPrivate* QDialog::d_func()': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h: In member function 'const QDialogPrivate* QDialog::d_func() const': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qprogressdialog.h: At global scope: /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qprogressdialog.h:71:48: error: 'nullptr' was not declared in this scope 71 | explicit QProgressDialog(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:73:65: error: 'nullptr' was not declared in this scope 73 | int minimum, int maximum, QWidget *parent = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'QProgressDialogPrivate* QProgressDialog::d_func()': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'const QProgressDialogPrivate* QProgressDialog::d_func() const': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/SegmentLinker.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/SegmentLinker.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:113:5: error: expected unqualified-id before '[' token 113 | Q_REQUIRED_RESULT QDate addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:114:5: error: expected unqualified-id before '[' token 114 | Q_REQUIRED_RESULT QDate addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT QDate addYears(int years) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtCore/qdatetime.h:82:35: error: 'nullptr' was not declared in this scope 82 | int weekNumber(int *yearNum = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:152:1: error: 'is_integral' is not a member of 'std' 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: expected primary-expression before '>' token 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: '::value' has not been declared 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QTime addSecs(int secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:181:5: error: expected unqualified-id before '[' token 181 | Q_REQUIRED_RESULT QTime addMSecs(int ms) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:216:1: error: 'is_integral' is not a member of 'std' 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: expected primary-expression before '>' token 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: '::value' has not been declared 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtCore/qdatetime.h:246:19: error: expected ',' or '...' before '&&' token 246 | Data(Data &&other); | ^~ /usr/include/qt5/QtCore/qdatetime.h:246:26: error: invalid constructor; you probably meant 'QDateTime::Data (const QDateTime::Data&)' 246 | Data(Data &&other); | ^ /usr/include/qt5/QtCore/qdatetime.h:270:25: error: expected ',' or '...' before '&&' token 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^~ /usr/include/qt5/QtCore/qdatetime.h:270:32: error: invalid constructor; you probably meant 'QDateTime (const QDateTime&)' 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QDateTime addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:314:5: error: expected unqualified-id before '[' token 314 | Q_REQUIRED_RESULT QDateTime addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:315:5: error: expected unqualified-id before '[' token 315 | Q_REQUIRED_RESULT QDateTime addYears(int years) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QDateTime addSecs(qint64 secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:317:5: error: expected unqualified-id before '[' token 317 | Q_REQUIRED_RESULT QDateTime addMSecs(qint64 msecs) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qdatetime.h:393:1: error: 'is_integral' is not a member of 'std' 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: expected primary-expression before '>' token 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: '::value' has not been declared 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qslider.h:45, from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qabstractslider.h:70:48: error: 'nullptr' was not declared in this scope 70 | explicit QAbstractSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:156:67: error: 'nullptr' was not declared in this scope 156 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'QAbstractSliderPrivate* QAbstractSlider::d_func()': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'const QAbstractSliderPrivate* QAbstractSlider::d_func() const': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qslider.h: At global scope: /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qslider.h:71:40: error: 'nullptr' was not declared in this scope 71 | explicit QSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:72:69: error: 'nullptr' was not declared in this scope 72 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qslider.h: In member function 'QSliderPrivate* QSlider::d_func()': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h: In member function 'const QSliderPrivate* QSlider::d_func() const': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: 'is_integral' is not a member of 'std' 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: expected primary-expression before '>' token 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: '::value' has not been declared 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qicon.h:144:1: error: 'is_integral' is not a member of 'std' 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: expected primary-expression before '>' token 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: '::value' has not been declared 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtabwidget.h:45, from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtGui/qicon.h:156:70: error: 'nullptr' was not declared in this scope 156 | qreal *sourceDevicePixelRatio = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtabwidget.h:71:43: error: 'nullptr' was not declared in this scope 71 | explicit QTabWidget(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'QTabWidgetPrivate* QTabWidget::d_func()': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'const QTabWidgetPrivate* QTabWidget::d_func() const': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmainwindow.h: At global scope: /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmainwindow.h:94:44: error: 'nullptr' was not declared in this scope 94 | explicit QMainWindow(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'QMainWindowPrivate* QMainWindow::d_func()': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'const QMainWindowPrivate* QMainWindow::d_func() const': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qaction.h: At global scope: /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmenu.h:47, from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qaction.h:95:40: error: 'nullptr' was not declared in this scope 95 | explicit QAction(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:96:61: error: 'nullptr' was not declared in this scope 96 | explicit QAction(const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:97:80: error: 'nullptr' was not declared in this scope 97 | explicit QAction(const QIcon &icon, const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:164:43: error: 'nullptr' was not declared in this scope 164 | bool showStatusText(QWidget *widget = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qaction.h: In member function 'QActionPrivate* QAction::d_func()': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h: In member function 'const QActionPrivate* QAction::d_func() const': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qactiongroup.h: At global scope: /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'QActionGroupPrivate* QActionGroup::d_func()': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'const QActionGroupPrivate* QActionGroup::d_func() const': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenu.h: At global scope: /usr/include/qt5/QtWidgets/qmenu.h:100:26: error: 'enable_if' in namespace 'std' does not name a template type 100 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:100:35: error: expected unqualified-id before '<' token 100 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qmenu.h:128:26: error: 'enable_if' in namespace 'std' does not name a template type 128 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:128:35: error: expected unqualified-id before '<' token 128 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenu.h:74:38: error: 'nullptr' was not declared in this scope 74 | explicit QMenu(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:75:60: error: 'nullptr' was not declared in this scope 75 | explicit QMenu(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenu.h:187:49: error: 'nullptr' was not declared in this scope 187 | void popup(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:189:52: error: 'nullptr' was not declared in this scope 189 | QAction *exec(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:84: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:111: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:262:47: error: 'nullptr' was not declared in this scope 262 | QMenu(QMenuPrivate &dd, QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QMenuPrivate* QMenu::d_func()': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h: In member function 'const QMenuPrivate* QMenu::d_func() const': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:123:51: error: 'move' is not a member of 'std' 123 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:123:51: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QIcon&, const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:151:51: error: 'move' is not a member of 'std' 151 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:151:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenubar.h: At global scope: /usr/include/qt5/QtWidgets/qmenubar.h:78:26: error: 'enable_if' in namespace 'std' does not name a template type 78 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:78:35: error: expected unqualified-id before '<' token 78 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qmenubar.h:63:41: error: 'nullptr' was not declared in this scope 63 | explicit QMenuBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QAction* QMenuBar::addAction(const QString&, Func1)': /usr/include/qt5/QtWidgets/qmenubar.h:91:51: error: 'move' is not a member of 'std' 91 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenubar.h:91:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QMenuBarPrivate* QMenuBar::d_func()': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'const QMenuBarPrivate* QMenuBar::d_func() const': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h: At global scope: /usr/include/qt5/QtWidgets/qtoolbar.h:118:26: error: 'enable_if' in namespace 'std' does not name a template type 118 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:118:35: error: expected unqualified-id before '<' token 118 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qtoolbar.h:136:26: error: 'enable_if' in namespace 'std' does not name a template type 136 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:136:35: error: expected unqualified-id before '<' token 136 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:78:63: error: 'nullptr' was not declared in this scope 78 | explicit QToolBar(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:79:41: error: 'nullptr' was not declared in this scope 79 | explicit QToolBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'bool QToolBar::isAreaAllowed(Qt::ToolBarArea) const': /usr/include/qt5/QtWidgets/qtoolbar.h:89:38: error: no match for 'operator==' (operand types are 'QFlags' and 'Qt::ToolBarArea') 89 | { return (allowedAreas() & area) == area; } | ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~ | | | | | Qt::ToolBarArea | QFlags In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qchar.h:600:30: note: candidate: 'bool operator==(QChar, QChar)' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:600:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ~~~~~~^~ /usr/include/qt5/QtCore/qchar.h:609:30: note: candidate: 'bool operator==(QChar, int)' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:609:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qbytearray.h:620:13: note: candidate: 'bool operator==(const QByteArray&, const QByteArray&)' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:620:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:622:13: note: candidate: 'bool operator==(const QByteArray&, const char*)' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:622:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:624:13: note: candidate: 'bool operator==(const char*, const QByteArray&)' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:624:36: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qstring.h:1194:13: note: candidate: 'bool operator==(QString::Null, QString::Null)' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1194:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:13: note: candidate: 'bool operator==(QString::Null, const QString&)' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:13: note: candidate: 'bool operator==(const QString&, QString::Null)' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ~~~~~~~~~~~~~~~^ /usr/include/qt5/QtCore/qstring.h:1206:13: note: candidate: 'bool operator==(QLatin1String, QLatin1String)' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1206:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1250:32: note: candidate: 'bool operator==(const char*, const QString&)' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1250:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1263:32: note: candidate: 'bool operator==(const char*, QLatin1String)' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1263:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1618:20: note: candidate: 'bool operator==(const QStringRef&, const QStringRef&)' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1618:49: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1630:20: note: candidate: 'bool operator==(const QString&, const QStringRef&)' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1630:46: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1637:13: note: candidate: 'bool operator==(const QStringRef&, const QString&)' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1637:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1666:20: note: candidate: 'bool operator==(QLatin1String, const QStringRef&)' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1666:45: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1673:13: note: candidate: 'bool operator==(const QStringRef&, QLatin1String)' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1673:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1681:13: note: candidate: 'bool operator==(QChar, const QString&)' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1681:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1692:13: note: candidate: 'bool operator==(const QString&, QChar)' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1692:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1700:13: note: candidate: 'bool operator==(QChar, const QStringRef&)' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1700:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1711:13: note: candidate: 'bool operator==(const QStringRef&, QChar)' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1711:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1719:13: note: candidate: 'bool operator==(QChar, QLatin1String)' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1719:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1730:13: note: candidate: 'bool operator==(QLatin1String, QChar)' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1730:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1738:13: note: candidate: 'bool operator==(QStringView, QStringView)' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1738:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1746:13: note: candidate: 'bool operator==(QStringView, QChar)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1746:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1753:13: note: candidate: 'bool operator==(QChar, QStringView)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1753:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1761:13: note: candidate: 'bool operator==(QStringView, QLatin1String)' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1761:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1768:13: note: candidate: 'bool operator==(QLatin1String, QStringView)' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1768:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1777:32: note: candidate: 'bool operator==(const QStringRef&, const QByteArray&)' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1777:61: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1784:32: note: candidate: 'bool operator==(const QByteArray&, const QStringRef&)' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1784:61: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1805:32: note: candidate: 'bool operator==(const char*, const QStringRef&)' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1805:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:45, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpair.h:110:41: note: candidate: 'template bool operator==(const QPair&, const QPair&)' 110 | Q_DECL_CONSTEXPR Q_INLINE_TEMPLATE bool operator==(const QPair &p1, const QPair &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpair.h:110:41: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPair' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qhash.h:141:13: note: candidate: 'bool operator==(const QHashDummyValue&, const QHashDummyValue&)' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~ /usr/include/qt5/QtCore/qhash.h:141:24: note: no known conversion for argument 1 from 'QFlags' to 'const QHashDummyValue&' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qshareddata.h:145:32: note: candidate: 'template bool operator==(const QSharedDataPointer&, int)' 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qshareddata.h:293:32: note: candidate: 'template bool operator==(const QExplicitlySharedDataPointer&, int)' 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QExplicitlySharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: candidate: 'template bool operator==(const QScopedPointer&, const QScopedPointer&)' 184 | inline bool operator==(const QScopedPointer &lhs, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: candidate: 'template bool operator==(const QScopedPointer&, int)' 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: candidate: 'template bool operator==(const QVarLengthArray&, const QVarLengthArray&)' 555 | bool operator==(const QVarLengthArray &l, const QVarLengthArray &r) | ^~~~~~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QVarLengthArray' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QSharedPointer&)' 742 | bool operator==(const QSharedPointer &ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: candidate: 'template bool operator==(const QSharedPointer&, const X*)' 753 | bool operator==(const QSharedPointer &ptr1, const X *ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: candidate: 'template bool operator==(const T*, const QSharedPointer&)' 758 | bool operator==(const T *ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'const T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QWeakPointer&)' 774 | bool operator==(const QSharedPointer &ptr1, const QWeakPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: candidate: 'template bool operator==(const QSharedPointer&, int)' 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: candidate: 'template bool operator==(const QWeakPointer&, int)' 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QWeakPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvariant.h:590:13: note: candidate: 'bool operator==(const QVariant&, const QVariantComparisonHelper&)' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ^~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:590:40: note: no known conversion for argument 1 from 'QFlags' to 'const QVariant&' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:103:13: note: candidate: 'template bool operator==(const T*, const QPointer&)' 103 | inline bool operator==(const T *o, const QPointer &p) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:103:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'const T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:107:13: note: candidate: 'template bool operator==(const QPointer&, const T*)' 107 | inline bool operator==(const QPointer &p, const T *o) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:107:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:111:13: note: candidate: 'template bool operator==(T*, const QPointer&)' 111 | inline bool operator==(T *o, const QPointer &p) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:111:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:115:13: note: candidate: 'template bool operator==(const QPointer&, T*)' 115 | inline bool operator==(const QPointer &p, T *o) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:115:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpointer.h:119:13: note: candidate: 'template bool operator==(const QPointer&, const QPointer&)' 119 | inline bool operator==(const QPointer &p1, const QPointer &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:119:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:47: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:46, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmargins.h:135:30: note: candidate: 'bool operator==(const QMargins&, const QMargins&)' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:135:57: note: no known conversion for argument 1 from 'QFlags' to 'const QMargins&' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qmargins.h:372:30: note: candidate: 'bool operator==(const QMarginsF&, const QMarginsF&)' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:372:58: note: no known conversion for argument 1 from 'QFlags' to 'const QMarginsF&' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qsize.h:169:30: note: candidate: 'bool operator==(const QSize&, const QSize&)' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:169:54: note: no known conversion for argument 1 from 'QFlags' to 'const QSize&' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qsize.h:339:30: note: candidate: 'bool operator==(const QSizeF&, const QSizeF&)' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:339:55: note: no known conversion for argument 1 from 'QFlags' to 'const QSizeF&' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qpoint.h:163:30: note: candidate: 'bool operator==(const QPoint&, const QPoint&)' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:163:55: note: no known conversion for argument 1 from 'QFlags' to 'const QPoint&' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qpoint.h:352:30: note: candidate: 'bool operator==(const QPointF&, const QPointF&)' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:352:56: note: no known conversion for argument 1 from 'QFlags' to 'const QPointF&' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtWidgets/qwidget.h:47, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qrect.h:454:30: note: candidate: 'bool operator==(const QRect&, const QRect&)' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:454:54: note: no known conversion for argument 1 from 'QFlags' to 'const QRect&' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qrect.h:859:30: note: candidate: 'bool operator==(const QRectF&, const QRectF&)' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:859:55: note: no known conversion for argument 1 from 'QFlags' to 'const QRectF&' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:55, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtGui/qcursor.h:120:19: note: candidate: 'bool operator==(const QCursor&, const QCursor&)' 120 | Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:115:56: note: no known conversion for argument 1 from 'QFlags' to 'const QCursor&' 115 | friend Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'QToolBarPrivate* QToolBar::d_func()': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'const QToolBarPrivate* QToolBar::d_func() const': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sequencer/RosegardenSequencer.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:48: /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock()': /usr/include/qt5/QtCore/qmutex.h:101:40: error: 'nullptr' was not declared in this scope 101 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked()); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock()': /usr/include/qt5/QtCore/qmutex.h:104:55: error: 'nullptr' was not declared in this scope 104 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:107:40: error: 'nullptr' was not declared in this scope 107 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked(), current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:110:55: error: 'nullptr' was not declared in this scope 110 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr, current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: At global scope: /usr/include/qt5/QtCore/qmutex.h:145:28: error: 'std::chrono' has not been declared 145 | bool try_lock_for(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:145:44: error: expected ',' or '...' before '<' token 145 | bool try_lock_for(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h:152:30: error: 'std::chrono' has not been declared 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:152:48: error: expected ',' or '...' before '<' token 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^ /usr/include/qt5/QtCore/qmutex.h:171:43: error: 'std::chrono' has not been declared 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:59: error: expected ',' or '...' before '<' token 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_for(int)': /usr/include/qt5/QtCore/qmutex.h:147:54: error: no matching function for call to 'QMutex::convertToMilliseconds(int&)' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h:171:16: note: candidate: 'template static int QMutex::convertToMilliseconds(int)' 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:16: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qmutex.h:147:54: note: couldn't deduce template parameter 'Rep' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_until(int)': /usr/include/qt5/QtCore/qmutex.h:157:29: error: 'timePoint' was not declared in this scope; did you mean 'time_point'? 157 | return try_lock_for(timePoint - Clock::now()); | ^~~~~~~~~ | time_point /usr/include/qt5/QtCore/qmutex.h: In static member function 'static int QMutex::convertToMilliseconds(int)': /usr/include/qt5/QtCore/qmutex.h:178:34: error: request for member 'zero' in 'duration', which is of non-class type 'int' 178 | if (duration <= duration.zero()) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:183:14: error: 'std::chrono' has not been declared 183 | std::chrono::milliseconds wait = std::chrono::duration_cast(duration); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:184:13: error: 'wait' was not declared in this scope 184 | if (wait < duration) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:185:26: error: 'std::chrono' has not been declared 185 | wait += std::chrono::milliseconds(1); | ^~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmutex.h:186:9: error: 'wait' was not declared in this scope 186 | Q_ASSERT(wait >= duration); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sequencer/RosegardenSequencer.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:48: /usr/include/qt5/QtCore/qmutex.h:187:20: error: 'ms' does not name a type; did you mean 'ws'? 187 | const auto ms = wait.count(); | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:188:20: error: 'maxInt' does not name a type 188 | const auto maxInt = (std::numeric_limits::max)(); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:190:16: error: 'ms' was not declared in this scope; did you mean 'ws'? 190 | return ms < maxInt ? int(ms) : maxInt; | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:190:21: error: 'maxInt' was not declared in this scope 190 | return ms < maxInt ? int(ms) : maxInt; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/sequencer/RosegardenSequencer.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/sequencer/RosegardenSequencer.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sequencer/RosegardenSequencer.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileLocateDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileLocateDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/StartupLogo.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/StartupLogo.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioPluginManager.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:52: /usr/include/qt5/QtCore/qthread.h:127:37: error: expected ',' or '...' before '&&' token 127 | static QThread *create(Function &&f); | ^~ /usr/include/qt5/QtCore/qthread.h:162:21: error: expected ';' at end of member declaration 162 | static QThread *createThreadImpl(std::future &&future); | ^~~~~~~~~~~~~~~~ | ; /usr/include/qt5/QtCore/qthread.h:162:49: error: expected ')' before '<' token 162 | static QThread *createThreadImpl(std::future &&future); | ~ ^ | ) In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioPluginManager.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:52: /usr/include/qt5/QtCore/qthread.h:78:40: error: 'nullptr' was not declared in this scope 78 | explicit QThread(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:156:51: error: 'nullptr' was not declared in this scope 156 | QThread(QThreadPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qthread.h: In member function 'QThreadPrivate* QThread::d_func()': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: In member function 'const QThreadPrivate* QThread::d_func() const': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioPluginManager.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:52: /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:207:32: error: expected ',' or '...' before '&&' token 207 | explicit Callable(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h:228:19: error: 'decay' in namespace 'std' does not name a template type; did you mean 'dec'? 228 | typename std::decay::type m_function; | ^~~~~ | dec /usr/include/qt5/QtCore/qthread.h:228:24: error: expected unqualified-id before '<' token 228 | typename std::decay::type m_function; | ^ /usr/include/qt5/QtCore/qthread.h: In constructor 'QtPrivate::Callable::Callable(Function)': /usr/include/qt5/QtCore/qthread.h:208:11: error: class 'QtPrivate::Callable' does not have any field named 'm_function' 208 | : m_function(std::forward(f)) | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: error: 'forward' is not a member of 'std' 208 | : m_function(std::forward(f)) | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:208:43: error: expected primary-expression before '>' token 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h:208:45: error: 'f' was not declared in this scope 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h: In member function 'void QtPrivate::Callable::operator()()': /usr/include/qt5/QtCore/qthread.h:225:15: error: there are no arguments to 'm_function' that depend on a template parameter, so a declaration of 'm_function' must be available [-fpermissive] 225 | (void)m_function(); | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:233:35: error: expected ',' or '...' before '&&' token 233 | QThread *QThread::create(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h: In static member function 'static QThread* QThread::create(Function)': /usr/include/qt5/QtCore/qthread.h:235:34: error: 'async' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~ /usr/include/qt5/QtCore/qthread.h:235:34: note: 'std::async' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:45: error: 'std::launch' has not been declared 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:116: error: 'f' was not declared in this scope 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:92: error: expected primary-expression before '(' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:114: error: expected primary-expression before '>' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:120: error: 'QThread::createThreadImpl' cannot be used as a function 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qurl.h: At global scope: /usr/include/qt5/QtCore/qurl.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QUrl adjusted(FormattingOptions options) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT QUrl resolved(const QUrl &relative) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qurl.h:375:1: error: 'is_integral' is not a member of 'std' 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: expected primary-expression before '>' token 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: '::value' has not been declared 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QUrl:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:53: /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions& operator|=(QUrl::FormattingOptions&, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:389:39: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 389 | { i |= QUrl::UrlFormattingOption(int(f)); return i; } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::UrlFormattingOption, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:393:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 393 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::UrlFormattingOption)': /usr/include/qt5/QtCore/qurl.h:397:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 397 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::FormattingOptions, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:399:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 399 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::FormattingOptions)': /usr/include/qt5/QtCore/qurl.h:403:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 403 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMessageBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:58: /usr/include/qt5/QtWidgets/qmessagebox.h:135:44: error: 'nullptr' was not declared in this scope 135 | explicit QMessageBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:137:71: error: 'nullptr' was not declared in this scope 137 | StandardButtons buttons = NoButton, QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:204:37: error: 'nullptr' was not declared in this scope 204 | QWidget *parent = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtWidgets/qmessagebox.h: In member function 'QMessageBoxPrivate* QMessageBox::d_func()': /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: note: mismatched types 'T*' and 'QScopedPointer' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h: In member function 'const QMessageBoxPrivate* QMessageBox::d_func() const': /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: note: mismatched types 'T*' and 'QScopedPointer' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp: In member function 'virtual bool Rosegarden::ConfigurationXmlSubHandler::characters(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:130:24: error: 'const class QString' has no member named 'trimmed' 130 | QString ch = chars.trimmed(); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:147:21: error: 'class QString' has no member named 'left' 147 | rt.sec = ch.left(sepIdx).toInt(); | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:148:22: error: 'class QString' has no member named 'mid' 148 | rt.nsec = ch.mid(sepIdx + 1).toInt(); | ^~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:158:27: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 158 | QString chLc = ch.toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp: In member function 'virtual bool Rosegarden::RoseXmlHandler::startElement(const QString&, const QString&, const QString&, const QXmlAttributes&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:313:28: error: 'const class QString' has no member named 'toLower'; did you mean 'isLower'? 313 | QString lcName = qName.toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:613:50: error: 'class QString' has no member named 'split'; did you mean 'sprintf'? 613 | QStringList recordList = recordPlStr.split(','); | ^~~~~ | sprintf /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:900:52: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 900 | QString segmentType = (atts.value("type")).toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:931:23: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 931 | if (repeatStr.toLower() == "true") { | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1016:60: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1016 | rec->setDefaultRetune(triggerRetuneStr.toLower() == "true"); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1035:57: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1035 | linkerChgKeyStr.toLower()=="true", | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1038:60: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1038 | linkerTransBackStr.toLower()=="true"); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1338:45: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1338 | QString type = (atts.value("type")).toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1350:57: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1350 | QString direction = atts.value("direction").toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1381:52: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1381 | QString vstr = atts.value("variation").toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1442:54: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1442 | m_percussion = (atts.value("percussion").toLower() == "true"); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1451:53: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1451 | m_sendBankSelect = !(atts.value("send").toLower() == "false"); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1516:67: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1516 | bool sendProgramChange = !(atts.value("send").toLower() == "false"); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:1842:23: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 1842 | if (bpStr.toLower() == "true") | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2071:42: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 2071 | } else if (valueText.toLower() == "true") { | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2170:22: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 2170 | if (type.toLower() == "buss") { | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2173:29: error: 'class QString' has no member named 'toLower'; did you mean 'isLower'? 2173 | } else if (type.toLower() == "record") { | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp: In member function 'virtual bool Rosegarden::RoseXmlHandler::endElement(const QString&, const QString&, const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2266:79: error: 'const class QString' has no member named 'toLower'; did you mean 'isLower'? 2266 | bool res = getSubHandler()->endElement(namespaceURI, localName, qName.toLower(), finished); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2292:28: error: 'const class QString' has no member named 'toLower'; did you mean 'isLower'? 2292 | QString lcName = qName.toLower(); | ^~~~~~~ | isLower /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp: In member function 'virtual bool Rosegarden::RoseXmlHandler::error(const QXmlParseException&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2458:22: error: 'class QString' has no member named 'arg' 2458 | .arg(exception.message()) | ^~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp: In member function 'virtual bool Rosegarden::RoseXmlHandler::fatalError(const QXmlParseException&)': /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:2468:22: error: 'class QString' has no member named 'arg' 2468 | .arg(exception.message()) | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::KeyboardModifier]': /usr/include/qt5/QtCore/qnamespace.h:110:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseButton]': /usr/include/qt5/QtCore/qnamespace.h:167:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtCore/qnamespace.h:175:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::AlignmentFlag]': /usr/include/qt5/QtCore/qnamespace.h:231:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtCore/qnamespace.h:315:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::WindowState]': /usr/include/qt5/QtCore/qnamespace.h:326:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ScreenOrientation]': /usr/include/qt5/QtCore/qnamespace.h:346:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ImageConversionFlag]': /usr/include/qt5/QtCore/qnamespace.h:565:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DockWidgetArea]': /usr/include/qt5/QtCore/qnamespace.h:1223:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtCore/qnamespace.h:1241:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::Edge]': /usr/include/qt5/QtCore/qnamespace.h:1300:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodQuery]': /usr/include/qt5/QtCore/qnamespace.h:1403:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::InputMethodHint]': /usr/include/qt5/QtCore/qnamespace.h:1438:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::DropAction]': /usr/include/qt5/QtCore/qnamespace.h:1489:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::ItemFlag]': /usr/include/qt5/QtCore/qnamespace.h:1544:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MatchFlag]': /usr/include/qt5/QtCore/qnamespace.h:1559:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TextInteractionFlag]': /usr/include/qt5/QtCore/qnamespace.h:1584:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::TouchPointState]': /usr/include/qt5/QtCore/qnamespace.h:1636:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::GestureFlag]': /usr/include/qt5/QtCore/qnamespace.h:1668:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = Qt::MouseEventFlag]': /usr/include/qt5/QtCore/qnamespace.h:1723:5: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:103:23: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QArrayData::AllocationOption]': /usr/include/qt5/QtCore/qarraydata.h:126:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QByteArray::Base64Option]': /usr/include/qt5/QtCore/qbytearray.h:473:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QString::SectionFlag]': /usr/include/qt5/QtCore/qstring.h:1420:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:765:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QEventLoop::ProcessEventsFlag]': /usr/include/qt5/QtCore/qeventloop.h:85:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QIODevice::OpenModeFlag]': /usr/include/qt5/QtCore/qiodevice.h:185:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QLocale::NumberOption]': /usr/include/qt5/QtCore/qlocale.h:1099:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QTextStream::NumberFlag]': /usr/include/qt5/QtCore/qtextstream.h:202:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QFileDevice::Permission]': /usr/include/qt5/QtCore/qfiledevice.h:150:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:62:79: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPoint]': /usr/include/qt5/QtGui/qpolygon.h:106:61: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(const QVector&) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:147:82: required from here /usr/include/qt5/QtCore/qvector.h:363:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 363 | d = Data::allocate(v.d->alloc); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:367:31: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 367 | d = Data::allocate(v.d->size); | ~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: In instantiation of 'QVector::QVector(int) [with T = QPointF]': /usr/include/qt5/QtGui/qpolygon.h:185:64: required from here /usr/include/qt5/QtCore/qvector.h:489:27: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 489 | d = Data::allocate(asize); | ~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(QFlags) const [with Enum = Qt::Orientation]': /usr/include/qt5/QtWidgets/qsizepolicy.h:138:90: required from here /usr/include/qt5/QtCore/qflags.h:139:113: error: 'class QFlags' has no member named 'i' 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ~~~~~~^ /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QSizePolicy::ControlType]': /usr/include/qt5/QtWidgets/qsizepolicy.h:234:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QWidget::RenderFlag]': /usr/include/qt5/QtWidgets/qwidget.h:737:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator&(Enum) const [with Enum = Qt::WindowType]': /usr/include/qt5/QtWidgets/qwidget.h:756:67: required from here /usr/include/qt5/QtCore/qflags.h:145:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMainWindow::DockOption]': /usr/include/qt5/QtWidgets/qmainwindow.h:215:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator&(Enum) const [with Enum = Qt::ToolBarArea]': /usr/include/qt5/QtWidgets/qtoolbar.h:89:32: required from here /usr/include/qt5/QtCore/qflags.h:145:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QUrl::ComponentFormattingOption]': /usr/include/qt5/QtCore/qurl.h:376:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags QFlags::operator|(Enum) const [with Enum = QMessageBox::StandardButton]': /usr/include/qt5/QtWidgets/qmessagebox.h:308:1: required from here /usr/include/qt5/QtCore/qflags.h:140:108: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qflags.h: In instantiation of 'QFlags& QFlags::operator|=(Enum) [with Enum = QMetaType::TypeFlag]': /usr/include/qt5/QtCore/qmetatype.h:1745:15: required from 'int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:1777:42: required from 'int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType) [with T = QtMetaTypePrivate::QSequentialIterableImpl; typename QtPrivate::MetaTypeDefinedHelper::Defined && (! QMetaTypeId2::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper::DefinedType]' /usr/include/qt5/QtCore/qmetatype.h:2278:1: required from here /usr/include/qt5/QtCore/qflags.h:133:93: error: 'Int' was not declared in this scope; did you mean 'Rosegarden::Int'? 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ~~~^~~~~~~ | Rosegarden::Int In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:21: note: 'Rosegarden::Int' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QMap; typename T::key_type = QString; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QMap; typename T::mapped_type = QVariant; typename T::const_iterator = QMap::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QMap; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QMap]' /usr/include/qt5/QtCore/qvariant.h:771:140: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::key_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getKey(const typename T::const_iterator&) [with T = QHash; typename T::key_type = QString; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1221:78: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getKeyImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1154:20: error: 'const class QVariant' has no member named 'first' 1154 | return it->first; | ~~~~^~~~~ /usr/include/qt5/QtCore/qmetatype.h: In instantiation of 'static const typename T::mapped_type& QtMetaTypePrivate::StlStyleAssociativeContainerAccessor::getValue(const typename T::const_iterator&) [with T = QHash; typename T::mapped_type = QVariant; typename T::const_iterator = QHash::const_iterator]': /usr/include/qt5/QtCore/qmetatype.h:1225:80: required from 'static QtMetaTypePrivate::VariantData QtMetaTypePrivate::QAssociativeIterableImpl::getValueImpl(void* const*, int, uint) [with T = QHash; uint = unsigned int]' /usr/include/qt5/QtCore/qmetatype.h:1244:68: required from 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*) [with T = QHash]' /usr/include/qt5/QtCore/qvariant.h:774:141: required from here /usr/include/qt5/QtCore/qmetatype.h:1159:20: error: 'const class QVariant' has no member named 'second' 1159 | return it->second; | ~~~~^~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode::destroySubTree() [with Key = QString; T = QVariant]': /usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData::destroy() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap::~QMap() [with Key = QString; T = QVariant]' /usr/include/qt5/QtCore/qvariant.h:821:29: required from here /usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope 127 | callDestructorIfNecessary(key); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] 128 | callDestructorIfNecessary(value); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Device.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qarraydata.h: In instantiation of 'static QTypedArrayData* QTypedArrayData::unsharableEmpty() [with T = QPoint]': /usr/include/qt5/QtCore/qvector.h:387:38: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qarraydata.h:273:24: error: 'allocate' was not declared in this scope; did you mean 'deallocate'? 273 | return allocate(/* capacity */ 0, Unsharable); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | deallocate In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RoseXmlHandler.cpp:20: /usr/include/qt5/QtCore/qvector.h: In instantiation of 'void QVector::reallocData(int, int, QArrayData::AllocationOptions) [with T = QPoint; QArrayData::AllocationOptions = QFlags]': /usr/include/qt5/QtCore/qvector.h:390:13: required from 'void QVector::detach() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:127:24: required from 'T* QVector::data() [with T = QPoint]' /usr/include/qt5/QtCore/qvector.h:438:16: required from 'T& QVector::operator[](int) [with T = QPoint]' /usr/include/qt5/QtGui/qpolygon.h:125:16: required from here /usr/include/qt5/QtCore/qvector.h:563:35: error: 'allocate' is not a member of 'QVector::Data' {aka 'QTypedArrayData'} 563 | x = Data::allocate(aalloc, options); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/rosegardenprivate.dir/build.make:1023: src/CMakeFiles/rosegardenprivate.dir/document/RoseXmlHandler.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/rosegarden-17.12/BUILD' [ 6%] Building CXX object src/CMakeFiles/rosegardenprivate.dir/rosegardenprivate_autogen/mocs_compilation.cpp.o In file included from /usr/include/c++/9/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/c++/9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 32 | #error This file requires compiler and library support \ | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that. 564 | # error Qt requires a C++11 compiler and yours does not seem to be that. | ^~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support" 61 | # error "Qt requires C++11 support" | ^~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qglobal.h:505:7: error: expected nested-name-specifier before 'qsizetype' 505 | using qsizetype = QIntegerForSizeof::Signed; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qglobal.h:827:1: error: expected unqualified-id before '[' token 827 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(double p1, double p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:832:1: error: expected unqualified-id before '[' token 832 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyCompare(float p1, float p2) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:837:1: error: expected unqualified-id before '[' token 837 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:842:1: error: expected unqualified-id before '[' token 842 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR static inline Q_DECL_UNUSED bool qFuzzyIsNull(float f) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:852:1: error: expected unqualified-id before '[' token 852 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(double d) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:868:1: error: expected unqualified-id before '[' token 868 | Q_REQUIRED_RESULT static inline Q_DECL_UNUSED bool qIsNull(float f) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qglobal.h:963:32: error: 'add_const' in namespace 'std' does not name a template type 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:963:41: error: expected unqualified-id before '<' token 963 | Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } | ^ /usr/include/qt5/QtCore/qglobal.h:966:23: error: expected ',' or '...' before '&&' token 966 | void qAsConst(const T &&) Q_DECL_EQ_DELETE; | ^~ /usr/include/qt5/QtCore/qglobal.h:977:25: error: expected ',' or '...' before '&&' token 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~ /usr/include/qt5/QtCore/qglobal.h:979:41: error: expected ',' or '...' before '&&' token 979 | QForeachContainer(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h:979:48: error: invalid constructor; you probably meant 'QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)' 979 | QForeachContainer(QForeachContainer &&other) | ^ /usr/include/qt5/QtCore/qglobal.h:987:52: error: expected ',' or '...' before '&&' token 987 | QForeachContainer &operator=(QForeachContainer &&other) | ^~ /usr/include/qt5/QtCore/qglobal.h: In constructor 'QtPrivate::QForeachContainer::QForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:977:39: error: 'move' is not a member of 'std' 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^~~~ /usr/include/qt5/QtCore/qglobal.h:977:39: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:977:44: error: 't' was not declared in this scope 977 | QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} | ^ /usr/include/qt5/QtCore/qglobal.h: In member function 'QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)': /usr/include/qt5/QtCore/qglobal.h:989:18: error: 'move' is not a member of 'std' 989 | c = std::move(other.c); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:989:18: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:989:23: error: 'other' was not declared in this scope 989 | c = std::move(other.c); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: error: 'move' is not a member of 'std' 992 | control = std::move(other.control); | ^~~~ /usr/include/qt5/QtCore/qglobal.h:992:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1002:33: error: 'decay' in namespace 'std' does not name a template type 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected template-argument before '<' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:38: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1002:47: error: template argument 1 is invalid 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^ /usr/include/qt5/QtCore/qglobal.h:1002:73: error: expected ',' or '...' before '&&' token 1002 | QForeachContainer::type> qMakeForeachContainer(T &&t) | ^~ /usr/include/qt5/QtCore/qglobal.h: In function 'int QtPrivate::qMakeForeachContainer(T)': /usr/include/qt5/QtCore/qglobal.h:1004:44: error: 'decay' in namespace 'std' does not name a template type 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected template-argument before '<' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qglobal.h:1004:58: error: template argument 1 is invalid 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:76: error: 't' was not declared in this scope 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h:1004:65: error: 'forward' is not a member of 'std' 1004 | return QForeachContainer::type>(std::forward(t)); | ^~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1004:65: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qglobal.h:1004:74: error: expected primary-expression before '>' token 1004 | return QForeachContainer::type>(std::forward(t)); | ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected type-specifier before 'decltype' 1038 | template inline auto qGetPtrHelper(const Ptr &ptr) -> decltype(ptr.operator->()) { return ptr.operator->(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1038:70: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qglobal.h:1172:79: error: 'nullptr' was not declared in this scope 1172 | Q_CORE_EXPORT int qEnvironmentVariableIntValue(const char *varName, bool *ok=nullptr) Q_DECL_NOEXCEPT; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtypeinfo.h:61:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before '>' token 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:42: error: '::value' has not been declared 61 | isSpecialized = std::is_enum::value, // don't require every enum to be marked manually | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:27: error: 'is_integral' is not a member of 'std' 63 | isIntegral = std::is_integral::value, | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before '>' token 63 | isIntegral = std::is_integral::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:43: error: '::value' has not been declared 63 | isIntegral = std::is_integral::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:64:42: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before '>' token 64 | isComplex = !isIntegral && !std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:54: error: '::value' has not been declared 64 | isComplex = !isIntegral && !std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:66:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 66 | isRelocatable = std::is_enum::value, | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before '>' token 66 | isRelocatable = std::is_enum::value, | ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:42: error: '::value' has not been declared 66 | isRelocatable = std::is_enum::value, | ^~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: 'enable_if' in namespace 'std' does not name a template type 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before '<' token 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected '>' before '<' token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid 130 | struct QTypeInfoQuery::isRelocatable || true>::type> : public QTypeInfo | ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: 'is_integral' is not a member of 'std' 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: expected primary-expression before '>' token 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: error: '::value' has not been declared 270 | Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: 'is_integral' is not a member of 'std' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected primary-expression before 'bool' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected '}' before 'bool' /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: to match this '{' 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected unqualified-id before '>' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: error: expected declaration before '}' token 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: 'is_integral' is not a member of 'std' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected primary-expression before 'char' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected '}' before 'char' /usr/include/qt5/QtCore/qtypeinfo.h:301:1: note: to match this '{' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected unqualified-id before '>' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: redefinition of 'const char* name()' 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:301:1: error: expected declaration before '}' token 301 | Q_DECLARE_TYPEINFO(char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: 'is_integral' is not a member of 'std' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected primary-expression before 'signed' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected '}' before 'signed' /usr/include/qt5/QtCore/qtypeinfo.h:302:1: note: to match this '{' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected unqualified-id before '>' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: redefinition of 'const char* name()' 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:302:1: error: expected declaration before '}' token 302 | Q_DECLARE_TYPEINFO(signed char, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: 'is_integral' is not a member of 'std' 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: expected primary-expression before '>' token 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:303:1: error: '::value' has not been declared 303 | Q_DECLARE_TYPEINFO(uchar, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected primary-expression before 'short' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected '}' before 'short' /usr/include/qt5/QtCore/qtypeinfo.h:304:1: note: to match this '{' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected unqualified-id before '>' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: redefinition of 'const char* name()' 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:304:1: error: expected declaration before '}' token 304 | Q_DECLARE_TYPEINFO(short, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: 'is_integral' is not a member of 'std' 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: expected primary-expression before '>' token 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:305:1: error: '::value' has not been declared 305 | Q_DECLARE_TYPEINFO(ushort, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: 'is_integral' is not a member of 'std' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected primary-expression before 'int' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected '}' before 'int' /usr/include/qt5/QtCore/qtypeinfo.h:306:1: note: to match this '{' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected unqualified-id before '>' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: redefinition of 'const char* name()' 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:306:1: error: expected declaration before '}' token 306 | Q_DECLARE_TYPEINFO(int, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: 'is_integral' is not a member of 'std' 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: expected primary-expression before '>' token 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:307:1: error: '::value' has not been declared 307 | Q_DECLARE_TYPEINFO(uint, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: 'is_integral' is not a member of 'std' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected primary-expression before 'long' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:308:1: note: to match this '{' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected unqualified-id before '>' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: redefinition of 'const char* name()' 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:308:1: error: expected declaration before '}' token 308 | Q_DECLARE_TYPEINFO(long, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: 'is_integral' is not a member of 'std' 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: expected primary-expression before '>' token 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:309:1: error: '::value' has not been declared 309 | Q_DECLARE_TYPEINFO(ulong, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: 'is_integral' is not a member of 'std' 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: expected primary-expression before '>' token 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:310:1: error: '::value' has not been declared 310 | Q_DECLARE_TYPEINFO(qint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: 'is_integral' is not a member of 'std' 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: expected primary-expression before '>' token 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:311:1: error: '::value' has not been declared 311 | Q_DECLARE_TYPEINFO(quint64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: 'is_integral' is not a member of 'std' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected primary-expression before 'float' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected '}' before 'float' /usr/include/qt5/QtCore/qtypeinfo.h:312:1: note: to match this '{' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected unqualified-id before '>' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: redefinition of 'const char* name()' 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:312:1: error: expected declaration before '}' token 312 | Q_DECLARE_TYPEINFO(float, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: 'is_integral' is not a member of 'std' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected primary-expression before 'double' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected '}' before 'double' /usr/include/qt5/QtCore/qtypeinfo.h:313:1: note: to match this '{' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected unqualified-id before '>' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: redefinition of 'const char* name()' 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:313:1: error: expected declaration before '}' token 313 | Q_DECLARE_TYPEINFO(double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: 'is_integral' is not a member of 'std' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected primary-expression before 'long' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected '}' before 'long' /usr/include/qt5/QtCore/qtypeinfo.h:328:1: note: to match this '{' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected unqualified-id before '>' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: redefinition of 'const char* name()' 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:328:1: error: expected declaration before '}' token 328 | Q_DECLARE_TYPEINFO(long double, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: 'is_integral' is not a member of 'std' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected primary-expression before 'wchar_t' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected '}' before 'wchar_t' /usr/include/qt5/QtCore/qtypeinfo.h:337:1: note: to match this '{' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected unqualified-id before '>' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: redefinition of 'const char* name()' 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: 'const char* name()' previously defined here 300 | Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtypeinfo.h:337:1: error: expected declaration before '}' token 337 | Q_DECLARE_TYPEINFO(wchar_t, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1206, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlogging.h: In constructor 'QMessageLogContext::QMessageLogContext()': /usr/include/qt5/QtCore/qlogging.h:67:37: error: 'nullptr' was not declared in this scope 67 | : version(2), line(0), file(nullptr), function(nullptr), category(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qflags.h: At global scope: /usr/include/qt5/QtCore/qflags.h:74:1: error: 'is_integral' is not a member of 'std' 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: expected primary-expression before '>' token 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:74:1: error: '::value' has not been declared 74 | Q_DECLARE_TYPEINFO(QFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: 'is_integral' is not a member of 'std' 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: expected primary-expression before '>' token 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:83:1: error: '::value' has not been declared 83 | Q_DECLARE_TYPEINFO(QIncompatibleFlag, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qflags.h:96:5: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: expected primary-expression before '>' token 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:96:5: error: '::value' has not been declared 96 | Q_STATIC_ASSERT_X((std::is_enum::value), "QFlags is only usable on enumeration types."); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qflags.h:108:27: error: 'conditional' in namespace 'std' does not name a template type 108 | typedef typename std::conditional< | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qflags.h:108:38: error: expected unqualified-id before '<' token 108 | typedef typename std::conditional< | ^ /usr/include/qt5/QtCore/qflags.h:137:38: error: expected type-specifier before 'Int' 137 | Q_DECL_CONSTEXPR inline operator Int() const Q_DECL_NOTHROW { return i; } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qflags.h:166:5: error: 'Int' does not name a type; did you mean 'int'? 166 | Int i; | ^~~ | int In file included from /usr/include/qt5/QtCore/qglobal.h:1208, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(Enum)': /usr/include/qt5/QtCore/qflags.h:120:65: error: class 'QFlags' does not have any field named 'i' 120 | Q_DECL_CONSTEXPR inline QFlags(Enum flags) Q_DECL_NOTHROW : i(Int(flags)) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlags::Zero)': /usr/include/qt5/QtCore/qflags.h:121:71: error: class 'QFlags' does not have any field named 'i' 121 | Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {} | ^ /usr/include/qt5/QtCore/qflags.h: In constructor 'QFlags::QFlags(QFlag)': /usr/include/qt5/QtCore/qflags.h:122:65: error: class 'QFlags' does not have any field named 'i' 122 | Q_DECL_CONSTEXPR inline QFlags(QFlag flag) Q_DECL_NOTHROW : i(flag) {} | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(int)': /usr/include/qt5/QtCore/qflags.h:129:83: error: 'i' was not declared in this scope 129 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(int mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(uint)': /usr/include/qt5/QtCore/qflags.h:130:84: error: 'i' was not declared in this scope 130 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(uint mask) Q_DECL_NOTHROW { i &= mask; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator&=(Enum)': /usr/include/qt5/QtCore/qflags.h:131:84: error: 'i' was not declared in this scope 131 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator&=(Enum mask) Q_DECL_NOTHROW { i &= Int(mask); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(QFlags)': /usr/include/qt5/QtCore/qflags.h:132:87: error: 'i' was not declared in this scope 132 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(QFlags other) Q_DECL_NOTHROW { i |= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator|=(Enum)': /usr/include/qt5/QtCore/qflags.h:133:85: error: 'i' was not declared in this scope 133 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator|=(Enum other) Q_DECL_NOTHROW { i |= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(QFlags)': /usr/include/qt5/QtCore/qflags.h:134:87: error: 'i' was not declared in this scope 134 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(QFlags other) Q_DECL_NOTHROW { i ^= other.i; return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags& QFlags::operator^=(Enum)': /usr/include/qt5/QtCore/qflags.h:135:85: error: 'i' was not declared in this scope 135 | Q_DECL_RELAXED_CONSTEXPR inline QFlags &operator^=(Enum other) Q_DECL_NOTHROW { i ^= Int(other); return *this; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(QFlags) const': /usr/include/qt5/QtCore/qflags.h:139:103: error: 'i' was not declared in this scope 139 | Q_DECL_CONSTEXPR inline QFlags operator|(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator|(Enum) const': /usr/include/qt5/QtCore/qflags.h:140:101: error: 'i' was not declared in this scope 140 | Q_DECL_CONSTEXPR inline QFlags operator|(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i | Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(QFlags) const': /usr/include/qt5/QtCore/qflags.h:141:103: error: 'i' was not declared in this scope 141 | Q_DECL_CONSTEXPR inline QFlags operator^(QFlags other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ other.i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator^(Enum) const': /usr/include/qt5/QtCore/qflags.h:142:101: error: 'i' was not declared in this scope 142 | Q_DECL_CONSTEXPR inline QFlags operator^(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i ^ Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(int) const': /usr/include/qt5/QtCore/qflags.h:143:99: error: 'i' was not declared in this scope 143 | Q_DECL_CONSTEXPR inline QFlags operator&(int mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(uint) const': /usr/include/qt5/QtCore/qflags.h:144:100: error: 'i' was not declared in this scope 144 | Q_DECL_CONSTEXPR inline QFlags operator&(uint mask) const Q_DECL_NOTHROW { return QFlags(QFlag(i & mask)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator&(Enum) const': /usr/include/qt5/QtCore/qflags.h:145:101: error: 'i' was not declared in this scope 145 | Q_DECL_CONSTEXPR inline QFlags operator&(Enum other) const Q_DECL_NOTHROW { return QFlags(QFlag(i & Int(other))); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'QFlags QFlags::operator~() const': /usr/include/qt5/QtCore/qflags.h:146:92: error: 'i' was not declared in this scope 146 | Q_DECL_CONSTEXPR inline QFlags operator~() const Q_DECL_NOTHROW { return QFlags(QFlag(~i)); } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::operator!() const': /usr/include/qt5/QtCore/qflags.h:148:77: error: 'i' was not declared in this scope 148 | Q_DECL_CONSTEXPR inline bool operator!() const Q_DECL_NOTHROW { return !i; } | ^ /usr/include/qt5/QtCore/qflags.h: In member function 'bool QFlags::testFlag(Enum) const': /usr/include/qt5/QtCore/qflags.h:150:85: error: 'i' was not declared in this scope 150 | Q_DECL_CONSTEXPR inline bool testFlag(Enum flag) const Q_DECL_NOTHROW { return (i & Int(flag)) == Int(flag) && (Int(flag) != 0 || i == Int(flag) ); } | ^ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:94:13: error: 'QAtomicOps' does not name a type 94 | typedef QAtomicOps Ops; | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: 'QAtomicOpsSupport' was not declared in this scope 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:97:5: error: '::IsSupported' has not been declared 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qatomic.h:46, from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbasicatomic.h:99:14: error: 'Ops' has not been declared 99 | typename Ops::Type _q_value; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:103:44: error: 'Ops' has not been declared 103 | T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:104:45: error: 'Ops' has not been declared 104 | void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:106:51: error: 'Ops' has not been declared 106 | T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:107:52: error: 'Ops' has not been declared 107 | void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:111:86: error: 'Ops' has not been declared 111 | static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:112:88: error: 'Ops' has not been declared 112 | static Q_DECL_CONSTEXPR bool isReferenceCountingWaitFree() Q_DECL_NOTHROW { return Ops::isReferenceCountingWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:114:40: error: 'Ops' has not been declared 114 | bool ref() Q_DECL_NOTHROW { return Ops::ref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:115:42: error: 'Ops' has not been declared 115 | bool deref() Q_DECL_NOTHROW { return Ops::deref(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:117:79: error: 'Ops' has not been declared 117 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:118:81: error: 'Ops' has not been declared 118 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has not been declared 121 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has not been declared 123 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:125:14: error: 'Ops' has not been declared 125 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T)': /usr/include/qt5/QtCore/qbasicatomic.h:127:14: error: 'Ops' has not been declared 127 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelaxed(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has not been declared 130 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetAcquire(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has not been declared 132 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetRelease(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:134:14: error: 'Ops' has not been declared 134 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicInteger::testAndSetOrdered(T, T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:136:14: error: 'Ops' has not been declared 136 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:138:82: error: 'Ops' has not been declared 138 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:139:84: error: 'Ops' has not been declared 139 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14: error: 'Ops' has not been declared 142 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14: error: 'Ops' has not been declared 144 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:146:14: error: 'Ops' has not been declared 146 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:148:14: error: 'Ops' has not been declared 148 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:150:80: error: 'Ops' has not been declared 150 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicInteger::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:151:82: error: 'Ops' has not been declared 151 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14: error: 'Ops' has not been declared 154 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14: error: 'Ops' has not been declared 156 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:158:14: error: 'Ops' has not been declared 158 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:160:14: error: 'Ops' has not been declared 160 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14: error: 'Ops' has not been declared 163 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14: error: 'Ops' has not been declared 165 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:167:14: error: 'Ops' has not been declared 167 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:169:14: error: 'Ops' has not been declared 169 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared 172 | { return Ops::fetchAndAndRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared 174 | { return Ops::fetchAndAndAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:176:14: error: 'Ops' has not been declared 176 | { return Ops::fetchAndAndRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:178:14: error: 'Ops' has not been declared 178 | { return Ops::fetchAndAndOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared 181 | { return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared 183 | { return Ops::fetchAndOrAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:185:14: error: 'Ops' has not been declared 185 | { return Ops::fetchAndOrRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:187:14: error: 'Ops' has not been declared 187 | { return Ops::fetchAndOrOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared 190 | { return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared 192 | { return Ops::fetchAndXorAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:194:14: error: 'Ops' has not been declared 194 | { return Ops::fetchAndXorRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:196:14: error: 'Ops' has not been declared 196 | { return Ops::fetchAndXorOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: At global scope: /usr/include/qt5/QtCore/qbasicatomic.h:234:13: error: 'QAtomicOps' does not name a type 234 | typedef QAtomicOps Ops; | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbasicatomic.h:235:22: error: 'Ops' has not been declared 235 | typedef typename Ops::Type AtomicType; | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::load() const': /usr/include/qt5/QtCore/qbasicatomic.h:239:47: error: 'Ops' has not been declared 239 | Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::store(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:240:48: error: 'Ops' has not been declared 240 | void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::loadAcquire() const': /usr/include/qt5/QtCore/qbasicatomic.h:245:54: error: 'Ops' has not been declared 245 | Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer::storeRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:246:55: error: 'Ops' has not been declared 246 | void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:248:79: error: 'Ops' has not been declared 248 | static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:249:81: error: 'Ops' has not been declared 249 | static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared 252 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared 254 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:256:14: error: 'Ops' has not been declared 256 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:258:14: error: 'Ops' has not been declared 258 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelaxed(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared 261 | { return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetAcquire(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared 263 | { return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetRelease(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:265:14: error: 'Ops' has not been declared 265 | { return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer::testAndSetOrdered(QBasicAtomicPointer::Type, QBasicAtomicPointer::Type, X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:267:14: error: 'Ops' has not been declared 267 | { return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:269:82: error: 'Ops' has not been declared 269 | static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:270:84: error: 'Ops' has not been declared 270 | static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelaxed(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared 273 | { return Ops::fetchAndStoreRelaxed(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreAcquire(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared 275 | { return Ops::fetchAndStoreAcquire(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreRelease(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:277:14: error: 'Ops' has not been declared 277 | { return Ops::fetchAndStoreRelease(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndStoreOrdered(QBasicAtomicPointer::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:279:14: error: 'Ops' has not been declared 279 | { return Ops::fetchAndStoreOrdered(_q_value, newValue); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:281:80: error: 'Ops' has not been declared 281 | static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:282:82: error: 'Ops' has not been declared 282 | static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared 285 | { return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared 287 | { return Ops::fetchAndAddAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:289:14: error: 'Ops' has not been declared 289 | { return Ops::fetchAndAddRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:291:14: error: 'Ops' has not been declared 291 | { return Ops::fetchAndAddOrdered(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared 294 | { return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared 296 | { return Ops::fetchAndSubAcquire(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:298:14: error: 'Ops' has not been declared 298 | { return Ops::fetchAndSubRelease(_q_value, valueToAdd); } | ^~~ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:300:14: error: 'Ops' has not been declared 300 | { return Ops::fetchAndSubOrdered(_q_value, valueToAdd); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1210, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qatomic.h: At global scope: /usr/include/qt5/QtCore/qatomic.h:173:38: error: 'nullptr' was not declared in this scope 173 | inline QAtomicPointer(T *value = nullptr) Q_DECL_NOTHROW | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qchar.h:598:1: error: 'is_integral' is not a member of 'std' 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: expected primary-expression before '>' token 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:598:1: error: '::value' has not been declared 598 | Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qchar.h:609:57: error: 'std::nullptr_t' has not been declared 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:610:57: error: 'std::nullptr_t' has not been declared 610 | Q_DECL_CONSTEXPR inline bool operator< (QChar, std::nullptr_t) Q_DECL_NOTHROW { return false; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: declaration of 'operator==' as non-function 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:611:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:611:63: error: expected primary-expression before 'rhs' 611 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: declaration of 'operator<' as non-function 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:612:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:612:63: error: expected primary-expression before 'rhs' 612 | Q_DECL_CONSTEXPR inline bool operator< (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !rhs.isNull(); } | ^~~ /usr/include/qt5/QtCore/qchar.h:614:57: error: 'std::nullptr_t' has not been declared 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator!=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:614:109: error: 'nullptr' was not declared in this scope 614 | Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:615:57: error: 'std::nullptr_t' has not been declared 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:615:109: error: 'nullptr' was not declared in this scope 615 | Q_DECL_CONSTEXPR inline bool operator>=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (lhs, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:616:57: error: 'std::nullptr_t' has not been declared 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator>(QChar, int)': /usr/include/qt5/QtCore/qchar.h:616:104: error: 'nullptr' was not declared in this scope 616 | Q_DECL_CONSTEXPR inline bool operator> (QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:617:57: error: 'std::nullptr_t' has not been declared 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h: In function 'bool operator<=(QChar, int)': /usr/include/qt5/QtCore/qchar.h:617:104: error: 'nullptr' was not declared in this scope 617 | Q_DECL_CONSTEXPR inline bool operator<=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator< (nullptr, lhs); } | ^~~~~~~ /usr/include/qt5/QtCore/qchar.h: At global scope: /usr/include/qt5/QtCore/qchar.h:619:46: error: declaration of 'operator!=' as non-function 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:619:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:619:63: error: expected primary-expression before 'rhs' 619 | Q_DECL_CONSTEXPR inline bool operator!=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator==(nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: declaration of 'operator>=' as non-function 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:620:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:620:63: error: expected primary-expression before 'rhs' 620 | Q_DECL_CONSTEXPR inline bool operator>=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (nullptr, rhs); } | ^~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: declaration of 'operator>' as non-function 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:621:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:621:63: error: expected primary-expression before 'rhs' 621 | Q_DECL_CONSTEXPR inline bool operator> (std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return operator< (rhs, nullptr); } | ^~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: declaration of 'operator<=' as non-function 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qchar.h:622:46: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qchar.h:622:63: error: expected primary-expression before 'rhs' 622 | Q_DECL_CONSTEXPR inline bool operator<=(std::nullptr_t, QChar rhs) Q_DECL_NOTHROW { return !operator< (rhs, nullptr); } | ^~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qarraydata.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT static QArrayData *allocate(size_t objectSize, size_t alignment, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:117:5: error: expected unqualified-id before '[' token 117 | Q_REQUIRED_RESULT static QArrayData *reallocateUnaligned(QArrayData *data, size_t objectSize, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT static QTypedArrayData *allocate(size_t capacity, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qbytearray.h:46, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::reallocateUnaligned(QTypedArrayData*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:232:59: error: 'reallocateUnaligned' is not a member of 'QArrayData' 232 | return static_cast(QArrayData::reallocateUnaligned(data, sizeof(T), | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::fromRawData(const T*, size_t, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qarraydata.h:246:35: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 246 | QTypedArrayData *result = allocate(0, options | RawData); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h:246:35: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::sharedEmpty()': /usr/include/qt5/QtCore/qarraydata.h:266:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 266 | return allocate(/* capacity */ 0); | ^~~~~~~~ /usr/include/qt5/QtCore/qarraydata.h: In static member function 'static QTypedArrayData* QTypedArrayData::unsharableEmpty()': /usr/include/qt5/QtCore/qarraydata.h:273:16: error: there are no arguments to 'allocate' that depend on a template parameter, so a declaration of 'allocate' must be available [-fpermissive] 273 | return allocate(/* capacity */ 0, Unsharable); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearray.h: At global scope: /usr/include/qt5/QtCore/qbytearray.h:102:43: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:102:68: error: 'qsizetype' has not been declared 102 | Q_CORE_EXPORT int qstrnicmp(const char *, qsizetype, const char *, qsizetype = -1); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearray.h:216:5: error: expected unqualified-id before '[' token 216 | Q_REQUIRED_RESULT char front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT inline QByteRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT char back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT inline QByteRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT QByteArray left(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT QByteArray right(int len) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:240:5: error: expected unqualified-id before '[' token 240 | Q_REQUIRED_RESULT QByteArray mid(int index, int len = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT QByteArray chopped(int len) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT QByteArray toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QByteArray toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT QByteArray trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QByteArray simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:292:5: error: expected unqualified-id before '[' token 292 | Q_REQUIRED_RESULT QByteArray leftJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QByteArray rightJustified(int width, char fill = ' ', bool truncate = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:328:5: error: expected unqualified-id before '[' token 328 | Q_REQUIRED_RESULT QByteArray repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:378:5: error: expected unqualified-id before '[' token 378 | Q_REQUIRED_RESULT static QByteArray number(int, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:379:5: error: expected unqualified-id before '[' token 379 | Q_REQUIRED_RESULT static QByteArray number(uint, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:380:5: error: expected unqualified-id before '[' token 380 | Q_REQUIRED_RESULT static QByteArray number(qlonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:381:5: error: expected unqualified-id before '[' token 381 | Q_REQUIRED_RESULT static QByteArray number(qulonglong, int base = 10); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:382:5: error: expected unqualified-id before '[' token 382 | Q_REQUIRED_RESULT static QByteArray number(double, char f = 'g', int prec = 6); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT static QByteArray fromRawData(const char *, int size); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64, Base64Options options); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT static QByteArray fromBase64(const QByteArray &base64); // ### Qt6 merge with previous | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT static QByteArray fromHex(const QByteArray &hexEncoded); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:387:5: error: expected unqualified-id before '[' token 387 | Q_REQUIRED_RESULT static QByteArray fromPercentEncoding(const QByteArray &pctEncoded, char percent = '%'); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearray.h:350:30: error: 'nullptr' was not declared in this scope 350 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:351:32: error: 'nullptr' was not declared in this scope 351 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:352:26: error: 'nullptr' was not declared in this scope 352 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:353:28: error: 'nullptr' was not declared in this scope 353 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:354:28: error: 'nullptr' was not declared in this scope 354 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:355:30: error: 'nullptr' was not declared in this scope 355 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:356:37: error: 'nullptr' was not declared in this scope 356 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:357:39: error: 'nullptr' was not declared in this scope 357 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:358:30: error: 'nullptr' was not declared in this scope 358 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:359:32: error: 'nullptr' was not declared in this scope 359 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: error: no declaration matches 'QByteRef QByteArray::front()' 566 | inline QByteRef QByteArray::front() { return operator[](0); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:566:17: note: no functions named 'QByteRef QByteArray::front()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: error: no declaration matches 'QByteRef QByteArray::back()' 567 | inline QByteRef QByteArray::back() { return operator[](size() - 1); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:567:17: note: no functions named 'QByteRef QByteArray::back()' /usr/include/qt5/QtCore/qbytearray.h:156:21: note: 'class QByteArray' defined here 156 | class Q_CORE_EXPORT QByteArray | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearray.h:708:1: error: 'is_integral' is not a member of 'std' 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: expected primary-expression before '>' token 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:708:1: error: '::value' has not been declared 708 | Q_DECLARE_SHARED(QByteArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringliteral.h:59:9: error: 'char16_t' does not name a type 59 | typedef char16_t qunicodechar; | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringliteral.h:61:1: error: 'qunicodechar' was not declared in this scope 61 | Q_STATIC_ASSERT_X(sizeof(qunicodechar) == 2, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:52, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringliteral.h:96:5: error: 'qunicodechar' does not name a type 96 | qunicodechar data[N + 1]; | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringalgorithms.h:58:1: error: expected unqualified-id before '[' token 58 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype qustrlen(const ushort *str) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:59:1: error: expected unqualified-id before '[' token 59 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const ushort *qustrchr(QStringView str, ushort ch) noexcept; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:61:1: error: expected unqualified-id before '[' token 61 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:62:1: error: expected unqualified-id before '[' token 62 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:63:1: error: expected unqualified-id before '[' token 63 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QStringView rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:64:1: error: expected unqualified-id before '[' token 64 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QLatin1String lhs, QLatin1String rhs, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:67:1: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:68:1: error: expected unqualified-id before '[' token 68 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:69:1: error: expected unqualified-id before '[' token 69 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:70:1: error: expected unqualified-id before '[' token 70 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool startsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:72:1: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:73:1: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QStringView haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:74:1: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QStringView needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:75:1: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool endsWith(QLatin1String haystack, QLatin1String needle, Qt::CaseSensitivity cs = Qt::CaseSensitive) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:77:1: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView trimmed(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:78:1: error: expected unqualified-id before '[' token 78 | Q_REQUIRED_RESULT Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1String trimmed(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:80:1: error: expected unqualified-id before '[' token 80 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLatin1(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:81:1: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToUtf8(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:82:1: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT Q_CORE_EXPORT QByteArray convertToLocal8Bit(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:83:1: error: expected unqualified-id before '[' token 83 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector convertToUcs4(QStringView str); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:84:1: error: expected unqualified-id before '[' token 84 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isRightToLeft(QStringView string); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:86:1: error: expected unqualified-id before '[' token 86 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QLatin1String s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:87:1: error: expected unqualified-id before '[' token 87 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isAscii(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:88:1: error: expected unqualified-id before '[' token 88 | Q_REQUIRED_RESULT bool isLatin1(QLatin1String s) Q_DECL_NOTHROW; // in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringalgorithms.h:89:1: error: expected unqualified-id before '[' token 89 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isLatin1(QStringView s) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:61:29: error: expected template-name before '<' token 61 | : std::integral_constant::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected template-argument before '<' token 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:70:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:70:107: error: template argument 1 is invalid 70 | : IsCompatibleCharTypeHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:73:50: error: expected class-name before '{' token 73 | struct IsCompatibleArrayHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:45: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected template-argument before '<' token 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:79:54: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:79:105: error: template argument 1 is invalid 79 | : IsCompatibleArrayHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:82:52: error: expected class-name before '{' token 82 | struct IsCompatiblePointerHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:47: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected template-argument before '<' token 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:88:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:88:109: error: template argument 1 is invalid 88 | : IsCompatiblePointerHelper::type>::type> {}; | ^ /usr/include/qt5/QtCore/qstringview.h:91:59: error: expected class-name before '{' token 91 | struct IsCompatibleStdBasicStringHelper : std::false_type {}; | ^ /usr/include/qt5/QtCore/qstringview.h:99:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 99 | typename std::remove_cv::type>::type | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected template-argument before '<' token 99 | typename std::remove_cv::type>::type | ^ /usr/include/qt5/QtCore/qstringview.h:99:32: error: expected '>' before '<' token /usr/include/qt5/QtCore/qstringview.h:100:7: error: template argument 1 is invalid 100 | > {}; | ^ /usr/include/qt5/QtCore/qstringview.h:110:13: error: 'char16_t' does not name a type 110 | typedef char16_t storage_type; | ^~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:114:13: error: 'qsizetype' does not name a type 114 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:127:5: error: expected unqualified-id before 'using' 127 | using if_compatible_char = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:130:5: error: expected unqualified-id before 'using' 130 | using if_compatible_array = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:133:5: error: expected unqualified-id before 'using' 133 | using if_compatible_pointer = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:136:5: error: expected unqualified-id before 'using' 136 | using if_compatible_string = typename std::enable_if::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:139:5: error: expected unqualified-id before 'using' 139 | using if_compatible_qstring_like = typename std::enable_if::value || std::is_same::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qstringview.h:142:29: error: 'qsizetype' does not name a type 142 | static Q_DECL_CONSTEXPR qsizetype lengthHelperArray(const Char (&)[N]) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:148:12: error: 'qsizetype' does not name a type 148 | static qsizetype lengthHelperPointer(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:160:12: error: 'qsizetype' does not name a type 160 | static qsizetype lengthHelperPointer(const QChar *str) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:166:18: error: 'storage_type' does not name a type 166 | static const storage_type *castHelper(const Char *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:168:35: error: 'storage_type' does not name a type 168 | static Q_DECL_CONSTEXPR const storage_type *castHelper(const storage_type *str) Q_DECL_NOTHROW | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:174:48: error: function definition does not declare parameters 174 | Q_DECL_CONSTEXPR QStringView(std::nullptr_t) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstringview.h:177:30: error: 'if_compatible_char' has not been declared 177 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:177:48: error: expected '>' before '<' token 177 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:178:51: error: 'qsizetype' has not been declared 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:30: error: 'if_compatible_char' has not been declared 182 | template = true> | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:182:48: error: expected '>' before '<' token 182 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:193:31: error: 'if_compatible_array' has not been declared 193 | template = true> | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:193:50: error: expected '>' before '<' token 193 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:197:33: error: 'if_compatible_pointer' has not been declared 197 | template = true> | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:197:54: error: expected '>' before '<' token 197 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:198:22: error: 'template > QStringView::QStringView(const Pointer&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 198 | Q_DECL_CONSTEXPR QStringView(const Pointer &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:32: error: 'if_compatible_qstring_like' has not been declared 206 | template = true> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:206:58: error: expected '>' before '<' token 206 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:207:5: error: 'template > QStringView::QStringView(const String&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 207 | QStringView(const String &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:40: error: 'if_compatible_string' has not been declared 211 | template = true> | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:211:60: error: expected '>' before '<' token 211 | template = true> | ^ /usr/include/qt5/QtCore/qstringview.h:212:5: error: 'template > QStringView::QStringView(const StdBasicString&)' cannot be overloaded with 'template > QStringView::QStringView(const Array&)' 212 | QStringView(const StdBasicString &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: previous declaration 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:215:5: error: expected unqualified-id before '[' token 215 | Q_REQUIRED_RESULT inline QString toString() const; // defined in qstring.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:217:5: error: expected unqualified-id before '[' token 217 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR qsizetype size() const Q_DECL_NOTHROW { return m_size; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:218:5: error: expected unqualified-id before '[' token 218 | Q_REQUIRED_RESULT const_pointer data() const Q_DECL_NOTHROW { return reinterpret_cast(m_data); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:219:5: error: expected unqualified-id before '[' token 219 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR const storage_type *utf16() const Q_DECL_NOTHROW { return m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar operator[](qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:228:5: error: expected unqualified-id before '[' token 228 | Q_REQUIRED_RESULT QByteArray toLatin1() const { return QtPrivate::convertToLatin1(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:229:5: error: expected unqualified-id before '[' token 229 | Q_REQUIRED_RESULT QByteArray toUtf8() const { return QtPrivate::convertToUtf8(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:230:5: error: expected unqualified-id before '[' token 230 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const { return QtPrivate::convertToLocal8Bit(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT inline QVector toUcs4() const; // defined in qvector.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:233:5: error: expected unqualified-id before '[' token 233 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar at(qsizetype n) const { return (*this)[n]; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:237:5: error: expected unqualified-id before '[' token 237 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView mid(qsizetype pos, qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView left(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:241:5: error: expected unqualified-id before '[' token 241 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView right(qsizetype n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:243:5: error: expected unqualified-id before '[' token 243 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QStringView chopped(qsizetype n) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:246:44: error: 'qsizetype' has not been declared 246 | Q_DECL_RELAXED_CONSTEXPR void truncate(qsizetype n) | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:248:40: error: 'qsizetype' has not been declared 248 | Q_DECL_RELAXED_CONSTEXPR void chop(qsizetype n) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT QStringView trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:253:5: error: expected unqualified-id before '[' token 253 | Q_REQUIRED_RESULT int compare(QStringView other, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:256:5: error: expected unqualified-id before '[' token 256 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT inline bool startsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:259:5: error: expected unqualified-id before '[' token 259 | Q_REQUIRED_RESULT bool startsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT bool startsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:264:5: error: expected unqualified-id before '[' token 264 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT inline bool endsWith(QLatin1String s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:267:5: error: expected unqualified-id before '[' token 267 | Q_REQUIRED_RESULT bool endsWith(QChar c) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool endsWith(QChar c, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT bool isRightToLeft() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT const_iterator begin() const Q_DECL_NOTHROW { return data(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT const_iterator end() const Q_DECL_NOTHROW { return data() + size(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT const_iterator cbegin() const Q_DECL_NOTHROW { return begin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT const_iterator cend() const Q_DECL_NOTHROW { return end(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return rbegin(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT const_reverse_iterator crend() const Q_DECL_NOTHROW { return rend(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool empty() const Q_DECL_NOTHROW { return size() == 0; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:288:5: error: expected unqualified-id before '[' token 288 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar front() const { return Q_ASSERT(!empty()), QChar(m_data[0]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar back() const { return Q_ASSERT(!empty()), QChar(m_data[m_size - 1]); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:294:5: error: expected unqualified-id before '[' token 294 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isNull() const Q_DECL_NOTHROW { return !m_data; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR bool isEmpty() const Q_DECL_NOTHROW { return empty(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:296:5: error: expected unqualified-id before '[' token 296 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR int length() const /* not nothrow! */ | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar first() const { return front(); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:299:5: error: expected unqualified-id before '[' token 299 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QChar last() const { return back(); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:301:5: error: 'qsizetype' does not name a type 301 | qsizetype m_size; | ^~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:302:11: error: 'storage_type' does not name a type 302 | const storage_type *m_data; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView()': /usr/include/qt5/QtCore/qstringview.h:173:11: error: class 'QStringView' does not have any field named 'm_size' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:22: error: class 'QStringView' does not have any field named 'm_data' 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:173:29: error: 'nullptr' was not declared in this scope 173 | : m_size(0), m_data(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const Char*, int)': /usr/include/qt5/QtCore/qstringview.h:179:11: error: class 'QStringView' does not have any field named 'm_size' 179 | : m_size((Q_ASSERT(len >= 0), Q_ASSERT(str || !len), len)), | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h:180:11: error: class 'QStringView' does not have any field named 'm_data' 180 | m_data(castHelper(str)) {} | ^~~~~~ /usr/include/qt5/QtCore/qstringview.h: In constructor 'QStringView::QStringView(const String&)': /usr/include/qt5/QtCore/qstringview.h:208:38: error: 'nullptr' was not declared in this scope 208 | : QStringView(str.isNull() ? nullptr : str.data(), qsizetype(str.size())) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::truncate(int)': /usr/include/qt5/QtCore/qstringview.h:247:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:247:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 247 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size = n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h: In member function 'void QStringView::chop(int)': /usr/include/qt5/QtCore/qstringview.h:249:25: error: 'size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:249:48: error: 'm_size' was not declared in this scope; did you mean 'dysize'? 249 | { Q_ASSERT(n >= 0); Q_ASSERT(n <= size()); m_size -= n; } | ^~~~~~ | dysize In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h: At global scope: /usr/include/qt5/QtCore/qstringview.h:304:1: error: 'is_integral' is not a member of 'std' 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: expected primary-expression before '>' token 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:304:1: error: '::value' has not been declared 304 | Q_DECLARE_TYPEINFO(QStringView, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:306:47: error: 'enable_if' in namespace 'std' does not name a template type 306 | template ' before '<' token 306 | template ; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:147:11: error: expected nested-name-specifier before 'const_reverse_iterator' 147 | using const_reverse_iterator = reverse_iterator; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:149:5: error: 'const_reverse_iterator' does not name a type 149 | const_reverse_iterator rbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:150:5: error: 'const_reverse_iterator' does not name a type 150 | const_reverse_iterator crbegin() const Q_DECL_NOTHROW { return const_reverse_iterator(end()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:151:5: error: 'const_reverse_iterator' does not name a type 151 | const_reverse_iterator rend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:152:5: error: 'const_reverse_iterator' does not name a type 152 | const_reverse_iterator crend() const Q_DECL_NOTHROW { return const_reverse_iterator(begin()); } | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR QLatin1String chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:170:5: error: expected unqualified-id before '[' token 170 | Q_REQUIRED_RESULT QLatin1String trimmed() const Q_DECL_NOTHROW { return QtPrivate::trimmed(*this); } | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In constructor 'QLatin1String::QLatin1String()': /usr/include/qt5/QtCore/qstring.h:94:80: error: 'nullptr' was not declared in this scope 94 | Q_DECL_CONSTEXPR inline QLatin1String() Q_DECL_NOTHROW : m_size(0), m_data(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:207:46: error: 'bool QtPrivate::isLatin1(QLatin1String)' should have been declared inside 'QtPrivate' 207 | inline bool QtPrivate::isLatin1(QLatin1String) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qstring.h:213:6: error: no declaration matches 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' 213 | bool QStringView::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:213:6: note: no functions named 'bool QStringView::startsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:215:6: error: no declaration matches 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' 215 | bool QStringView::endsWith(QLatin1String s, Qt::CaseSensitivity cs) const Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:215:6: note: no functions named 'bool QStringView::endsWith(QLatin1String, Qt::CaseSensitivity) const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:271:5: error: expected unqualified-id before '[' token 271 | Q_REQUIRED_RESULT inline QCharRef front(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:272:5: error: expected unqualified-id before '[' token 272 | Q_REQUIRED_RESULT inline QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline QCharRef back(); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:275:5: error: expected unqualified-id before '[' token 275 | Q_REQUIRED_RESULT QString arg(qlonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:277:5: error: expected unqualified-id before '[' token 277 | Q_REQUIRED_RESULT QString arg(qulonglong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:279:5: error: expected unqualified-id before '[' token 279 | Q_REQUIRED_RESULT QString arg(long a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:281:5: error: expected unqualified-id before '[' token 281 | Q_REQUIRED_RESULT QString arg(ulong a, int fieldwidth=0, int base=10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:283:5: error: expected unqualified-id before '[' token 283 | Q_REQUIRED_RESULT QString arg(int a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:285:5: error: expected unqualified-id before '[' token 285 | Q_REQUIRED_RESULT QString arg(uint a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT QString arg(short a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:289:5: error: expected unqualified-id before '[' token 289 | Q_REQUIRED_RESULT QString arg(ushort a, int fieldWidth = 0, int base = 10, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:291:5: error: expected unqualified-id before '[' token 291 | Q_REQUIRED_RESULT QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:293:5: error: expected unqualified-id before '[' token 293 | Q_REQUIRED_RESULT QString arg(char a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:295:5: error: expected unqualified-id before '[' token 295 | Q_REQUIRED_RESULT QString arg(QChar a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:298:5: error: expected unqualified-id before '[' token 298 | Q_REQUIRED_RESULT QString arg(const QString &a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:301:5: error: expected unqualified-id before '[' token 301 | Q_REQUIRED_RESULT QString arg(QStringView a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:303:5: error: expected unqualified-id before '[' token 303 | Q_REQUIRED_RESULT QString arg(QLatin1String a, int fieldWidth = 0, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:305:5: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:306:5: error: expected unqualified-id before '[' token 306 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:307:5: error: expected unqualified-id before '[' token 307 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:309:5: error: expected unqualified-id before '[' token 309 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:311:5: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:319:5: error: expected unqualified-id before '[' token 319 | Q_REQUIRED_RESULT QString arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:383:5: error: expected unqualified-id before '[' token 383 | Q_REQUIRED_RESULT QString left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:384:5: error: expected unqualified-id before '[' token 384 | Q_REQUIRED_RESULT QString right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:385:5: error: expected unqualified-id before '[' token 385 | Q_REQUIRED_RESULT QString mid(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:386:5: error: expected unqualified-id before '[' token 386 | Q_REQUIRED_RESULT QString chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:390:5: error: expected unqualified-id before '[' token 390 | Q_REQUIRED_RESULT QStringRef leftRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:391:5: error: expected unqualified-id before '[' token 391 | Q_REQUIRED_RESULT QStringRef rightRef(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:392:5: error: expected unqualified-id before '[' token 392 | Q_REQUIRED_RESULT QStringRef midRef(int position, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:398:5: error: expected unqualified-id before '[' token 398 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:407:5: error: expected unqualified-id before '[' token 407 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:415:5: error: expected unqualified-id before '[' token 415 | Q_REQUIRED_RESULT QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:416:5: error: expected unqualified-id before '[' token 416 | Q_REQUIRED_RESULT QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:450:5: error: expected unqualified-id before '[' token 450 | Q_REQUIRED_RESULT QString toLower() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:451:5: error: expected unqualified-id before '[' token 451 | Q_REQUIRED_RESULT QString toUpper() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:452:5: error: expected unqualified-id before '[' token 452 | Q_REQUIRED_RESULT QString toCaseFolded() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:453:5: error: expected unqualified-id before '[' token 453 | Q_REQUIRED_RESULT QString trimmed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:454:5: error: expected unqualified-id before '[' token 454 | Q_REQUIRED_RESULT QString simplified() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:456:5: error: expected unqualified-id before '[' token 456 | Q_REQUIRED_RESULT QString toHtmlEscaped() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:516:5: error: expected unqualified-id before '[' token 516 | Q_REQUIRED_RESULT QStringList split(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:518:5: error: expected unqualified-id before '[' token 518 | Q_REQUIRED_RESULT QVector splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:520:5: error: expected unqualified-id before '[' token 520 | Q_REQUIRED_RESULT QStringList split(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:522:5: error: expected unqualified-id before '[' token 522 | Q_REQUIRED_RESULT QVector splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:525:5: error: expected unqualified-id before '[' token 525 | Q_REQUIRED_RESULT QStringList split(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:526:5: error: expected unqualified-id before '[' token 526 | Q_REQUIRED_RESULT QVector splitRef(const QRegExp &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:529:5: error: expected unqualified-id before '[' token 529 | Q_REQUIRED_RESULT QStringList split(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:530:5: error: expected unqualified-id before '[' token 530 | Q_REQUIRED_RESULT QVector splitRef(const QRegularExpression &sep, SplitBehavior behavior = KeepEmptyParts) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:538:5: error: expected unqualified-id before '[' token 538 | Q_REQUIRED_RESULT QString normalized(NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:540:5: error: expected unqualified-id before '[' token 540 | Q_REQUIRED_RESULT QString repeated(int times) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:558:5: error: expected unqualified-id before '[' token 558 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:559:5: error: expected unqualified-id before '[' token 559 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:560:5: error: expected unqualified-id before '[' token 560 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:562:5: error: expected unqualified-id before '[' token 562 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:605:5: error: expected unqualified-id before '[' token 605 | Q_REQUIRED_RESULT static inline QString fromWCharArray(const wchar_t *string, int size = -1); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:640:29: error: 'nullptr' was not declared in this scope; did you mean 'null'? 640 | short toShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:641:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 641 | ushort toUShort(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:642:24: error: 'nullptr' was not declared in this scope; did you mean 'null'? 642 | int toInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:643:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 643 | uint toUInt(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:644:26: error: 'nullptr' was not declared in this scope; did you mean 'null'? 644 | long toLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:645:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 645 | ulong toULong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:646:35: error: 'nullptr' was not declared in this scope; did you mean 'null'? 646 | qlonglong toLongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:647:37: error: 'nullptr' was not declared in this scope; did you mean 'null'? 647 | qulonglong toULongLong(bool *ok=nullptr, int base=10) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:648:28: error: 'nullptr' was not declared in this scope; did you mean 'null'? 648 | float toFloat(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:649:30: error: 'nullptr' was not declared in this scope; did you mean 'null'? 649 | double toDouble(bool *ok=nullptr) const; | ^~~~~~~ | null /usr/include/qt5/QtCore/qstring.h:925:9: error: no declaration matches 'QString QStringView::toString() const' 925 | QString QStringView::toString() const | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:925:9: note: no functions named 'QString QStringView::toString() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:975:16: error: no declaration matches 'QString QString::arg(int, int, int, QChar) const' 975 | inline QString QString::arg(int a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:975:16: note: no functions named 'QString QString::arg(int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: error: no declaration matches 'QString QString::arg(uint, int, int, QChar) const' 977 | inline QString QString::arg(uint a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:977:16: note: no functions named 'QString QString::arg(uint, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: error: no declaration matches 'QString QString::arg(long int, int, int, QChar) const' 979 | inline QString QString::arg(long a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:979:16: note: no functions named 'QString QString::arg(long int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: error: no declaration matches 'QString QString::arg(ulong, int, int, QChar) const' 981 | inline QString QString::arg(ulong a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:981:16: note: no functions named 'QString QString::arg(ulong, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: error: no declaration matches 'QString QString::arg(short int, int, int, QChar) const' 983 | inline QString QString::arg(short a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:983:16: note: no functions named 'QString QString::arg(short int, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: error: no declaration matches 'QString QString::arg(ushort, int, int, QChar) const' 985 | inline QString QString::arg(ushort a, int fieldWidth, int base, QChar fillChar) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:985:16: note: no functions named 'QString QString::arg(ushort, int, int, QChar) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&) const' 987 | inline QString QString::arg(const QString &a1, const QString &a2) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:987:16: note: no functions named 'QString QString::arg(const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&) const' 989 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3) const | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:989:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' 991 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:991:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' 994 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:994:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 997 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:997:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1000 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1000:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1004 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1004:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: error: no declaration matches 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' 1008 | inline QString QString::arg(const QString &a1, const QString &a2, const QString &a3, | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1008:16: note: no functions named 'QString QString::arg(const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QString&) const' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: error: no declaration matches 'QString QString::fromWCharArray(const wchar_t*, int)' 1032 | inline QString QString::fromWCharArray(const wchar_t *string, int size) | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1032:16: note: no functions named 'QString QString::fromWCharArray(const wchar_t*, int)' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1128:1: error: 'is_integral' is not a member of 'std' 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: expected primary-expression before '>' token 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1128:1: error: '::value' has not been declared 1128 | Q_DECLARE_TYPEINFO(QCharRef, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1166:17: error: no declaration matches 'QCharRef QString::front()' 1166 | inline QCharRef QString::front() { return operator[](0); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1166:17: note: no functions named 'QCharRef QString::front()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: error: no declaration matches 'QCharRef QString::back()' 1167 | inline QCharRef QString::back() { return operator[](size() - 1); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1167:17: note: no functions named 'QCharRef QString::back()' /usr/include/qt5/QtCore/qstring.h:218:21: note: 'class QString' defined here 218 | class Q_CORE_EXPORT QString | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::append(const QString&)': /usr/include/qt5/QtCore/qstring.h:1331:19: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1331 | { return append(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::insert(int, const QString&)': /usr/include/qt5/QtCore/qstring.h:1333:22: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1333 | { return insert(i, s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(char, const QString&)': /usr/include/qt5/QtCore/qstring.h:1335:27: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1335 | { return replace(c, after.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const char*)': /usr/include/qt5/QtCore/qstring.h:1337:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1337 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::replace(const QString&, const QByteArray&)': /usr/include/qt5/QtCore/qstring.h:1339:25: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1339 | { return replace(before.toUtf8(), after); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'QByteArray& QByteArray::operator+=(const QString&)': /usr/include/qt5/QtCore/qstring.h:1341:23: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1341 | { return operator+=(s.toUtf8()); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::indexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1343:20: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1343 | { return indexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'int QByteArray::lastIndexOf(const QString&, int) const': /usr/include/qt5/QtCore/qstring.h:1345:24: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 1345 | { return lastIndexOf(s.toUtf8(), from); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In member function 'std::string QString::toStdString() const': /usr/include/qt5/QtCore/qstring.h:1372:10: error: 'toUtf8' was not declared in this scope; did you mean 'fromUtf8'? 1372 | { return toUtf8().toStdString(); } | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/qstring.h: In static member function 'static QString QString::fromStdWString(const wstring&)': /usr/include/qt5/QtCore/qstring.h:1393:10: error: 'fromWCharArray' was not declared in this scope; did you mean 'toWCharArray'? 1393 | { return fromWCharArray(s.data(), int(s.size())); } | ^~~~~~~~~~~~~~ | toWCharArray In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1419:1: error: 'is_integral' is not a member of 'std' 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: expected primary-expression before '>' token 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1419:1: error: '::value' has not been declared 1419 | Q_DECLARE_SHARED(QString) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1481:5: error: expected unqualified-id before '[' token 1481 | Q_REQUIRED_RESULT QVector split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1483:5: error: expected unqualified-id before '[' token 1483 | Q_REQUIRED_RESULT QVector split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1486:5: error: expected unqualified-id before '[' token 1486 | Q_REQUIRED_RESULT QStringRef left(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1487:5: error: expected unqualified-id before '[' token 1487 | Q_REQUIRED_RESULT QStringRef right(int n) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1488:5: error: expected unqualified-id before '[' token 1488 | Q_REQUIRED_RESULT QStringRef mid(int pos, int n = -1) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1489:5: error: expected unqualified-id before '[' token 1489 | Q_REQUIRED_RESULT QStringRef chopped(int n) const | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1503:5: error: expected unqualified-id before '[' token 1503 | Q_REQUIRED_RESULT bool startsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1512:5: error: expected unqualified-id before '[' token 1512 | Q_REQUIRED_RESULT bool endsWith(QStringView s, Qt::CaseSensitivity cs = Qt::CaseSensitive) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1547:5: error: expected unqualified-id before '[' token 1547 | Q_REQUIRED_RESULT QByteArray toLatin1() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1548:5: error: expected unqualified-id before '[' token 1548 | Q_REQUIRED_RESULT QByteArray toUtf8() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1549:5: error: expected unqualified-id before '[' token 1549 | Q_REQUIRED_RESULT QByteArray toLocal8Bit() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1550:5: error: expected unqualified-id before '[' token 1550 | Q_REQUIRED_RESULT QVector toUcs4() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1562:5: error: expected unqualified-id before '[' token 1562 | Q_REQUIRED_RESULT QChar front() const { return at(0); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1563:5: error: expected unqualified-id before '[' token 1563 | Q_REQUIRED_RESULT QChar back() const { return at(size() - 1); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1594:5: error: expected unqualified-id before '[' token 1594 | Q_REQUIRED_RESULT QStringRef trimmed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1595:31: error: 'nullptr' was not declared in this scope 1595 | short toShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1596:32: error: 'nullptr' was not declared in this scope 1596 | ushort toUShort(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1597:26: error: 'nullptr' was not declared in this scope 1597 | int toInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1598:28: error: 'nullptr' was not declared in this scope 1598 | uint toUInt(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1599:28: error: 'nullptr' was not declared in this scope 1599 | long toLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1600:30: error: 'nullptr' was not declared in this scope 1600 | ulong toULong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1601:37: error: 'nullptr' was not declared in this scope 1601 | qlonglong toLongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1602:39: error: 'nullptr' was not declared in this scope 1602 | qulonglong toULongLong(bool *ok = nullptr, int base = 10) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1603:30: error: 'nullptr' was not declared in this scope 1603 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h:1604:32: error: 'nullptr' was not declared in this scope 1604 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In constructor 'QStringRef::QStringRef()': /usr/include/qt5/QtCore/qstring.h:1436:36: error: 'nullptr' was not declared in this scope 1436 | inline QStringRef() : m_string(nullptr), m_position(0), m_size(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'void QStringRef::clear()': /usr/include/qt5/QtCore/qstring.h:1552:38: error: 'nullptr' was not declared in this scope 1552 | inline void clear() { m_string = nullptr; m_position = m_size = 0; } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In member function 'bool QStringRef::isNull() const': /usr/include/qt5/QtCore/qstring.h:1555:53: error: 'nullptr' was not declared in this scope 1555 | inline bool isNull() const { return m_string == nullptr || m_string->isNull(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1606:1: error: 'is_integral' is not a member of 'std' 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: expected primary-expression before '>' token 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1606:1: error: '::value' has not been declared 1606 | Q_DECLARE_TYPEINFO(QStringRef, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In member function 'int QString::compare(QStringView, Qt::CaseSensitivity) const': /usr/include/qt5/QtCore/qstring.h:1649:13: error: 'class QStringView' has no member named 'compare' 1649 | { return -s.compare(*this, cs); } | ^~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QString&)': /usr/include/qt5/QtCore/qstring.h:1682:40: error: 'const class QString' has no member named 'front' 1682 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, const QStringRef&)': /usr/include/qt5/QtCore/qstring.h:1701:40: error: 'const class QStringRef' has no member named 'front' 1701 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1720:40: error: 'class QLatin1String' has no member named 'front' 1720 | { return rhs.size() == 1 && lhs == rhs.front(); } | ^~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1738:86: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:100: error: 'class QStringView' has no member named 'size' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1738:121: error: 'compareStrings' is not a member of 'QtPrivate' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1740:93: error: 'compareStrings' is not a member of 'QtPrivate' 1740 | inline bool operator< (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1741:93: error: 'compareStrings' is not a member of 'QtPrivate' 1741 | inline bool operator<=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1742:93: error: 'compareStrings' is not a member of 'QtPrivate' 1742 | inline bool operator> (QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QStringView)': /usr/include/qt5/QtCore/qstring.h:1743:93: error: 'compareStrings' is not a member of 'QtPrivate' 1743 | inline bool operator>=(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1746:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1746:102: note: candidate expects 1 argument, 2 provided 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1746:102: note: mismatched types 'const Char*' and 'int' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1746:102: note: couldn't deduce template parameter '' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1747:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1747:102: note: candidate expects 1 argument, 2 provided 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1747:102: note: mismatched types 'const Char*' and 'int' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1747:102: note: couldn't deduce template parameter '' 1747 | inline bool operator!=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs != QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1748:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1748:102: note: candidate expects 1 argument, 2 provided 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1748:102: note: mismatched types 'const Char*' and 'int' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1748:102: note: couldn't deduce template parameter '' 1748 | inline bool operator< (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs < QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1749:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1749:102: note: candidate expects 1 argument, 2 provided 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1749:102: note: mismatched types 'const Char*' and 'int' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1749:102: note: couldn't deduce template parameter '' 1749 | inline bool operator<=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs <= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1750:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1750:102: note: candidate expects 1 argument, 2 provided 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1750:102: note: mismatched types 'const Char*' and 'int' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1750:102: note: couldn't deduce template parameter '' 1750 | inline bool operator> (QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs > QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QChar)': /usr/include/qt5/QtCore/qstring.h:1751:102: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1751:102: note: candidate expects 1 argument, 2 provided 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1751:102: note: mismatched types 'const Char*' and 'int' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1751:102: note: couldn't deduce template parameter '' 1751 | inline bool operator>=(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs >= QStringView(&rhs, 1); } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1753:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1753:95: note: candidate expects 1 argument, 2 provided 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1753:95: note: mismatched types 'const Char*' and 'int' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1753:95: note: couldn't deduce template parameter '' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator!=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1754:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1754:95: note: candidate expects 1 argument, 2 provided 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1754:95: note: mismatched types 'const Char*' and 'int' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1754:95: note: couldn't deduce template parameter '' 1754 | inline bool operator!=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) != rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1755:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1755:95: note: candidate expects 1 argument, 2 provided 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1755:95: note: mismatched types 'const Char*' and 'int' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1755:95: note: couldn't deduce template parameter '' 1755 | inline bool operator< (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) < rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1756:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1756:95: note: candidate expects 1 argument, 2 provided 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1756:95: note: mismatched types 'const Char*' and 'int' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1756:95: note: couldn't deduce template parameter '' 1756 | inline bool operator<=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) <= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1757:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1757:95: note: candidate expects 1 argument, 2 provided 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1757:95: note: mismatched types 'const Char*' and 'int' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1757:95: note: couldn't deduce template parameter '' 1757 | inline bool operator> (QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) > rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QChar, QStringView)': /usr/include/qt5/QtCore/qstring.h:1758:95: error: no matching function for call to 'QStringView::QStringView(QChar*, int)' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:194:22: note: candidate: 'template > QStringView::QStringView(const Array&)' 194 | Q_DECL_CONSTEXPR QStringView(const Array &str) Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:194:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1758:95: note: candidate expects 1 argument, 2 provided 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:183:22: note: candidate: 'template > QStringView::QStringView(const Char*, const Char*)' 183 | Q_DECL_CONSTEXPR QStringView(const Char *f, const Char *l) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:183:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1758:95: note: mismatched types 'const Char*' and 'int' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:178:22: note: candidate: 'template > QStringView::QStringView(const Char*, int)' 178 | Q_DECL_CONSTEXPR QStringView(const Char *str, qsizetype len) | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:178:22: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1758:95: note: couldn't deduce template parameter '' 1758 | inline bool operator>=(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) >= rhs; } | ^ In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate: 'QStringView::QStringView()' 172 | Q_DECL_CONSTEXPR QStringView() Q_DECL_NOTHROW | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:172:22: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate: 'QStringView::QStringView(const QStringView&)' 104 | class QStringView | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qstringview.h:104:7: note: candidate expects 1 argument, 2 provided In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1761:88: error: 'class QStringView' has no member named 'size' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1761:123: error: 'compareStrings' is not a member of 'QtPrivate' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1763:95: error: 'compareStrings' is not a member of 'QtPrivate' 1763 | inline bool operator< (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1764:95: error: 'compareStrings' is not a member of 'QtPrivate' 1764 | inline bool operator<=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1765:95: error: 'compareStrings' is not a member of 'QtPrivate' 1765 | inline bool operator> (QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QStringView, QLatin1String)': /usr/include/qt5/QtCore/qstring.h:1766:95: error: 'compareStrings' is not a member of 'QtPrivate' 1766 | inline bool operator>=(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator==(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1768:102: error: 'class QStringView' has no member named 'size' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~ /usr/include/qt5/QtCore/qstring.h:1768:123: error: 'compareStrings' is not a member of 'QtPrivate' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1770:95: error: 'compareStrings' is not a member of 'QtPrivate' 1770 | inline bool operator< (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) < 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator<=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1771:95: error: 'compareStrings' is not a member of 'QtPrivate' 1771 | inline bool operator<=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) <= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1772:95: error: 'compareStrings' is not a member of 'QtPrivate' 1772 | inline bool operator> (QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) > 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: In function 'bool operator>=(QLatin1String, QStringView)': /usr/include/qt5/QtCore/qstring.h:1773:95: error: 'compareStrings' is not a member of 'QtPrivate' 1773 | inline bool operator>=(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return QtPrivate::compareStrings(lhs, rhs) >= 0; } | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h: At global scope: /usr/include/qt5/QtCore/qstring.h:1872:16: error: expected unqualified-id before '&&' token 1872 | inline QString &&asString(QString &&s) { return std::move(s); } | ^~ In file included from /usr/include/qt5/QtCore/qhash.h:45, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qiterator.h: In constructor 'QKeyValueIterator::QKeyValueIterator(Iterator)': /usr/include/qt5/QtCore/qiterator.h:194:18: error: 'move' is not a member of 'std' 194 | : i(std::move(o)) {} | ^~~~ /usr/include/qt5/QtCore/qiterator.h:194:18: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhashfunctions.h: At global scope: /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'uint qHash' redeclared as different kind of entity 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:104:41: note: previous declaration 'uint qHash(QLatin1String, uint)' 104 | Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QLatin1String key, uint seed = 0) Q_DECL_NOTHROW; | ^~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:46: error: 'nullptr_t' is not a member of 'std' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qhashfunctions.h:107:62: error: expected primary-expression before 'seed' 107 | Q_DECL_CONST_FUNCTION inline uint qHash(std::nullptr_t, uint seed = 0) Q_DECL_NOTHROW | ^~~~ In file included from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlist.h:128:27: error: expected template-name before '<' token 128 | : std::conditional< | ^ /usr/include/qt5/QtCore/qlist.h:128:27: error: expected '{' before '<' token /usr/include/qt5/QtCore/qlist.h:128:27: error: expected unqualified-id before '<' token /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::iterator::iterator()': /usr/include/qt5/QtCore/qlist.h:234:46: error: 'nullptr' was not declared in this scope 234 | inline iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In constructor 'QList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlist.h:287:52: error: 'nullptr' was not declared in this scope 287 | inline const_iterator() Q_DECL_NOTHROW : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeAt(int)': /usr/include/qt5/QtCore/qlist.h:561:68: error: 'move' is not a member of 'std' 561 | detach(); Node *n = reinterpret_cast(p.at(i)); T t = std::move(n->t()); node_destruct(n); | ^~~~ /usr/include/qt5/QtCore/qlist.h:561:68: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeFirst()': /usr/include/qt5/QtCore/qlist.h:565:14: error: 'move' is not a member of 'std' 565 | { T t = std::move(first()); removeFirst(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:565:14: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlist.h: In member function 'T QList::takeLast()': /usr/include/qt5/QtCore/qlist.h:568:14: error: 'move' is not a member of 'std' 568 | { T t = std::move(last()); removeLast(); return t; } | ^~~~ /usr/include/qt5/QtCore/qlist.h:568:14: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qlist.h:1096, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearraylist.h: In member function 'QByteArray QListSpecialMethods::join() const': /usr/include/qt5/QtCore/qbytearraylist.h:73:53: error: 'nullptr' was not declared in this scope 73 | { return QtPrivate::QByteArrayList_join(self(), nullptr, 0); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qregexp.h: At global scope: /usr/include/qt5/QtCore/qregexp.h:121:1: error: 'is_integral' is not a member of 'std' 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: expected primary-expression before '>' token 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregexp.h:121:1: error: '::value' has not been declared 121 | Q_DECLARE_TYPEINFO(QRegExp, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstringlist.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_TYPEINFO(QStringList, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: 'is_integral' is not a member of 'std' 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: expected primary-expression before '>' token 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:146:1: error: '::value' has not been declared 146 | Q_DECLARE_TYPEINFO(QHashDummyValue, Q_MOVABLE_TYPE | Q_DUMMY_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhash.h:507:48: error: 'nullptr' was not declared in this scope 507 | Node **findNode(const Key &key, uint *hp = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::iterator::iterator()': /usr/include/qt5/QtCore/qhash.h:318:31: error: 'nullptr' was not declared in this scope 318 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In constructor 'QHash::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qhash.h:377:54: error: 'nullptr' was not declared in this scope 377 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In static member function 'static void QHash::duplicateNode(QHashData::Node*, void*)': /usr/include/qt5/QtCore/qhash.h:555:81: error: 'nullptr' was not declared in this scope 555 | new (newNode) Node(concreteNode->key, concreteNode->value, concreteNode->h, nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QHash::iterator QHash::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qhash.h:781:15: error: 'is_same' is not a member of 'std' 781 | if (!std::is_same::value) | ^~~~~~~ /usr/include/qt5/QtCore/qhash.h:781:24: error: expected primary-expression before ',' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:41: error: expected primary-expression before '>' token 781 | if (!std::is_same::value) | ^ /usr/include/qt5/QtCore/qhash.h:781:44: error: '::value' has not been declared; did you mean 'avalue'? 781 | if (!std::is_same::value) | ^~~~~ | avalue /usr/include/qt5/QtCore/qhash.h: In member function 'T QHash::take(const Key&)': /usr/include/qt5/QtCore/qhash.h:830:20: error: 'move' is not a member of 'std' 830 | T t = std::move((*node)->value); | ^~~~ /usr/include/qt5/QtCore/qhash.h:830:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qhash.h: In member function 'bool QHash::operator==(const QHash&) const': /usr/include/qt5/QtCore/qhash.h:954:14: error: 'thisEqualRangeEnd' does not name a type 954 | auto thisEqualRangeEnd = it; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:955:16: error: 'thisEqualRangeEnd' was not declared in this scope 955 | while (thisEqualRangeEnd != end() && it.key() == thisEqualRangeEnd.key()) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:958:20: error: 'otherEqualRange' does not name a type 958 | const auto otherEqualRange = other.equal_range(it.key()); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:31: error: 'thisEqualRangeEnd' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:960:67: error: 'otherEqualRange' was not declared in this scope 960 | if (std::distance(it, thisEqualRangeEnd) != std::distance(otherEqualRange.first, otherEqualRange.second)) | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:19: error: 'is_permutation' is not a member of 'std'; did you mean 'prev_permutation'? 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~ | prev_permutation /usr/include/qt5/QtCore/qhash.h:973:38: error: 'thisEqualRangeEnd' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:973:57: error: 'otherEqualRange' was not declared in this scope 973 | if (!std::is_permutation(it, thisEqualRangeEnd, otherEqualRange.first | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:981:14: error: 'thisEqualRangeEnd' was not declared in this scope 981 | it = thisEqualRangeEnd; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h: In member function 'QPair::iterator, QHash::iterator> QHash::equal_range(const Key&)': /usr/include/qt5/QtCore/qhash.h:991:10: error: 'pair' does not name a type 991 | auto pair = qAsConst(*this).equal_range(akey); | ^~~~ /usr/include/qt5/QtCore/qhash.h:992:31: error: 'pair' was not declared in this scope; did you mean 'std::pair'? 992 | return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); | ^~~~ | std::pair In file included from /usr/include/c++/9/bits/stl_algobase.h:64, from /usr/include/c++/9/bits/char_traits.h:39, from /usr/include/c++/9/string:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/c++/9/bits/stl_pair.h:208:12: note: 'std::pair' declared here 208 | struct pair | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhash.h: In function 'uint qHash(const QHash&, uint)': /usr/include/qt5/QtCore/qhash.h:1136:15: error: 'it' does not name a type; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:49: error: expected ';' before 'it' 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ | ; /usr/include/qt5/QtCore/qhash.h:1136:50: error: 'it' was not declared in this scope; did you mean 'Qt'? 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~ | Qt /usr/include/qt5/QtCore/qhash.h:1136:56: error: 'end' was not declared in this scope 1136 | for (auto it = key.begin(), end = key.end(); it != end; ++it) { | ^~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QSharedDataPointer::QSharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:88:39: error: 'nullptr' was not declared in this scope 88 | inline QSharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:139:48: error: declaration of 'operator==' as non-function 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:139:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:139:62: error: expected primary-expression before 'const' 139 | template inline bool operator==(std::nullptr_t p1, const QSharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:81: error: 'std::nullptr_t' has not been declared 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'T* QExplicitlySharedDataPointer::take()': /usr/include/qt5/QtCore/qshareddata.h:162:38: error: 'nullptr' was not declared in this scope 162 | inline T *take() { T *x = d; d = nullptr; return x; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'void QExplicitlySharedDataPointer::reset()': /usr/include/qt5/QtCore/qshareddata.h:171:13: error: 'nullptr' was not declared in this scope 171 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In member function 'QExplicitlySharedDataPointer::operator bool() const': /usr/include/qt5/QtCore/qshareddata.h:174:49: error: 'nullptr' was not declared in this scope 174 | inline operator bool () const { return d != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: In constructor 'QExplicitlySharedDataPointer::QExplicitlySharedDataPointer()': /usr/include/qt5/QtCore/qshareddata.h:181:49: error: 'nullptr' was not declared in this scope 181 | inline QExplicitlySharedDataPointer() { d = nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qshareddata.h: At global scope: /usr/include/qt5/QtCore/qshareddata.h:287:48: error: declaration of 'operator==' as non-function 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:287:48: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qshareddata.h:287:62: error: expected primary-expression before 'const' 287 | template inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer &p2) | ^~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:91: error: 'std::nullptr_t' has not been declared 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qshareddata.h:330:22: error: 'is_integral' is not a member of 'std' 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: expected primary-expression before '>' token 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:330:22: error: '::value' has not been declared 330 | template Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: 'is_integral' is not a member of 'std' 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: expected primary-expression before '>' token 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:331:22: error: '::value' has not been declared 331 | template Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs_impl.h:70:88: error: '>>' should be '> >' within a nested template argument list 70 | template struct List_Append, List> { typedef List Value; }; | ^~ | > > In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50, from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:22: error: expected ',' or '...' before '&&' token 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:91:10: error: 'void QtPrivate::operator,(T)' must have exactly two arguments 91 | void operator,(T &&value, const ApplyReturnValue &container) { | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:115:23: error: expected unqualified-id before 'using' 115 | template using InvokeGenSeq = typename T::Type; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:117:49: error: expected nested-name-specifier before 'Type' 117 | template struct IndexesList { using Type = IndexesList; }; | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:122:66: error: '>>' should be '> >' within a nested template argument list 122 | struct ConcatSeqImpl, IndexesList> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:126:5: error: expected unqualified-id before 'using' 126 | using ConcatSeq = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:129:21: error: expected unqualified-id before 'using' 129 | template using makeIndexSequence = InvokeGenSeq>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected template-name before '<' token 132 | struct GenSeq : ConcatSeq, makeIndexSequence>{}; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:132:30: error: expected '{' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:138:28: error: expected nested-name-specifier before 'Value' 138 | struct Indexes { using Value = makeIndexSequence; }; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:268:5: error: expected class-name before '{' token 268 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:56: error: 'enable_if' in namespace 'std' does not name a template type 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected template-argument before '<' token 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:65: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:272:95: error: template argument 2 is invalid 272 | struct IsEnumUnderlyingTypeSigned::value>::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:273:37: error: expected template-name before '<' token 273 | : std::integral_constant::type>::value> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:285:5: error: expected class-name before '{' token 285 | { | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:61: error: 'enable_if' in namespace 'std' does not name a template type 289 | struct AreArgumentsNarrowedBase::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected template-argument before '<' token 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:70: error: expected '>' before '<' token /usr/include/qt5/QtCore/qobjectdefs_impl.h:289:104: error: template argument 3 is invalid 289 | struct AreArgumentsNarrowedBase::type> | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:290:33: error: expected template-name before '<' token 290 | : std::integral_constant>' should be '> >' within a nested template argument list 329 | template <> struct CheckCompatibleArguments, List<>> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:330:75: error: '>>' should be '> >' within a nested template argument list 330 | template struct CheckCompatibleArguments> { enum { value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:332:78: error: '>>' should be '> >' within a nested template argument list 332 | struct CheckCompatibleArguments, List> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:335:78: error: '>>' should be '> >' within a nested template argument list 335 | && CheckCompatibleArguments, List>::value }; | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:352:113: error: '>>' should be '> >' within a nested template argument list 352 | template struct ComputeFunctorArgumentCount> | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected type-specifier before 'decltype' 355 | template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:355:56: error: expected initializer before 'decltype' /usr/include/qt5/QtCore/qobjectdefs_impl.h:365:104: error: '>>' should be '> >' within a nested template argument list 365 | template struct FunctorReturnType> { | ^~ | > > /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:26: error: expected identifier 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected unqualified-id before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:40: error: expected ')' before '(' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ~ ^ | ) /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: 'decltype' declared as function returning a function 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:41: error: expected ';' at end of member declaration 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ | ; /usr/include/qt5/QtCore/qobjectdefs_impl.h:367:42: error: expected unqualified-id before '.' token 367 | typedef decltype(dummy().operator()((dummy())...)) Value; | ^ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::destroyIfLastRef()': /usr/include/qt5/QtCore/qobjectdefs_impl.h:391:53: error: 'nullptr' was not declared in this scope 391 | { if (!m_ref.deref()) m_impl(Destroy, this, nullptr, nullptr, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'bool QtPrivate::QSlotObjectBase::compare(void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:393:81: error: 'nullptr' was not declared in this scope 393 | inline bool compare(void **a) { bool ret = false; m_impl(Compare, this, nullptr, a, &ret); return ret; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In member function 'void QtPrivate::QSlotObjectBase::call(QObject*, void**)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:394:79: error: 'nullptr' was not declared in this scope 394 | inline void call(QObject *r, void **a) { m_impl(Call, this, r, a, nullptr); } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h: In constructor 'QtPrivate::QFunctorSlotObject::QFunctorSlotObject(Func)': /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: error: 'move' is not a member of 'std' 447 | explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {} | ^~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:447:85: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qobjectdefs_impl.h: At global scope: /usr/include/qt5/QtCore/qobjectdefs_impl.h:452:5: error: expected unqualified-id before 'using' 452 | using QSlotObjectWithNoArgs = QSlotObject, R>; | ^~~~~ /usr/include/qt5/QtCore/qobjectdefs_impl.h:460:5: error: expected unqualified-id before 'using' 460 | using QFunctorSlotObjectWithNoArgsImplicitReturn = QFunctorSlotObjectWithNoArgs::ReturnType>; | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs.h:292:49: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:292:78: error: 'nullptr' was not declared in this scope 292 | inline QGenericArgument(const char *aName = nullptr, const void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:55: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:305:78: error: 'nullptr' was not declared in this scope 305 | inline QGenericReturnArgument(const char *aName = nullptr, void *aData = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs.h:473:26: error: 'enable_if' in namespace 'std' does not name a template type 473 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:473:35: error: expected unqualified-id before '<' token 473 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:485:26: error: 'enable_if' in namespace 'std' does not name a template type 485 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:485:35: error: expected unqualified-id before '<' token 485 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:497:26: error: 'enable_if' in namespace 'std' does not name a template type 497 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:497:35: error: expected unqualified-id before '<' token 497 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:508:26: error: 'enable_if' in namespace 'std' does not name a template type 508 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:508:35: error: expected unqualified-id before '<' token 508 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:519:26: error: 'enable_if' in namespace 'std' does not name a template type 519 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:519:35: error: expected unqualified-id before '<' token 519 | static typename std::enable_if::IsPointerToMemberFunction | ^ /usr/include/qt5/QtCore/qobjectdefs.h:532:26: error: 'enable_if' in namespace 'std' does not name a template type 532 | static typename std::enable_if::IsPointerToMemberFunction | ^~~~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:532:35: error: expected unqualified-id before '<' token 532 | static typename std::enable_if::IsPointerToMemberFunction | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs.h:386:52: error: 'nullptr' was not declared in this scope 386 | int type = 0, int *types = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:403:71: error: 'nullptr' was not declared in this scope 403 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:416:71: error: 'nullptr' was not declared in this scope 416 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:433:71: error: 'nullptr' was not declared in this scope 433 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:449:71: error: 'nullptr' was not declared in this scope 449 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectdefs.h:545:67: error: 'nullptr' was not declared in this scope 545 | QObject *newInstance(QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h:608:27: error: expected ',' or '...' before '&&' token 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^~ /usr/include/qt5/QtCore/qobjectdefs.h:608:30: error: invalid constructor; you probably meant 'QMetaObject::Connection (const QMetaObject::Connection&)' 608 | Connection(Connection &&o) Q_DECL_NOTHROW : d_ptr(o.d_ptr) { o.d_ptr = nullptr; } | ^ /usr/include/qt5/QtCore/qobjectdefs.h:609:38: error: expected ',' or '...' before '&&' token 609 | Connection &operator=(Connection &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection::operator QMetaObject::Connection::RestrictedBool() const': /usr/include/qt5/QtCore/qobjectdefs.h:605:99: error: 'nullptr' was not declared in this scope 605 | operator RestrictedBool() const { return d_ptr && isConnected_helper() ? &Connection::d_ptr : nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobjectdefs.h: In member function 'QMetaObject::Connection& QMetaObject::Connection::operator=(QMetaObject::Connection)': /usr/include/qt5/QtCore/qobjectdefs.h:610:20: error: 'other' was not declared in this scope 610 | { qSwap(d_ptr, other.d_ptr); return *this; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:100:36: error: 'nullptr' was not declared in this scope 100 | explicit QScopedPointer(T *p = nullptr) Q_DECL_NOTHROW : d(p) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:153:27: error: 'nullptr' was not declared in this scope 153 | void reset(T *other = nullptr) Q_DECL_NOEXCEPT_EXPR(noexcept(Cleanup::cleanup(std::declval()))) | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'QScopedPointer::operator QScopedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qscopedpointer.h:134:27: error: 'nullptr' was not declared in this scope 134 | return isNull() ? nullptr : &QScopedPointer::d; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: In member function 'T* QScopedPointer::take()': /usr/include/qt5/QtCore/qscopedpointer.h:165:13: error: 'nullptr' was not declared in this scope 165 | d = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h: At global scope: /usr/include/qt5/QtCore/qscopedpointer.h:196:68: error: 'std::nullptr_t' has not been declared 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: declaration of 'operator==' as non-function 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:202:40: error: expected primary-expression before 'const' 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:202:71: error: expected primary-expression before '>' token 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:202:74: error: 'rhs' was not declared in this scope 202 | inline bool operator==(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:208:68: error: 'std::nullptr_t' has not been declared 208 | inline bool operator!=(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: declaration of 'operator!=' as non-function 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qscopedpointer.h:214:40: error: expected primary-expression before 'const' 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:214:71: error: expected primary-expression before '>' token 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qscopedpointer.h:214:74: error: 'rhs' was not declared in this scope 214 | inline bool operator!=(std::nullptr_t, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~ /usr/include/qt5/QtCore/qscopedpointer.h:227:5: error: expected unqualified-id before 'using' 227 | using if_same_type = typename std::enable_if::type, Ptr>::value, bool>::type; | ^~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:27: error: 'if_same_type' has not been declared 231 | template = true> | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:231:39: error: expected '>' before '<' token 231 | template = true> | ^ /usr/include/qt5/QtCore/qscopedpointer.h: In constructor 'QScopedArrayPointer::QScopedArrayPointer()': /usr/include/qt5/QtCore/qscopedpointer.h:229:63: error: 'nullptr' was not declared in this scope 229 | inline QScopedArrayPointer() : QScopedPointer(nullptr) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:165:19: error: expected ',' or '...' before '&&' token 165 | void append(T &&t) { | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:178:55: error: expected ',' or '...' before '&&' token 178 | inline QVarLengthArray &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:182:55: error: expected ',' or '...' before '&&' token 182 | inline QVarLengthArray &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:185:20: error: expected ',' or '...' before '&&' token 185 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:187:26: error: expected ',' or '...' before '&&' token 187 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:227:46: error: expected ',' or '...' before '&&' token 227 | iterator insert(const_iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:22: error: expected ',' or '...' before '&&' token 235 | void push_back(T &&t) { append(std::move(t)); } | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(const T&)': /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: error: 'move' is not a member of 'std' 151 | new (ptr + idx) T(std::move(copy)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:151:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: error: 'move' is not a member of 'std' 153 | ptr[idx] = std::move(copy); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:153:33: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::append(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: error: 'move' is not a member of 'std' 170 | new (ptr + idx) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:170:36: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:170:41: error: 't' was not declared in this scope; did you mean 'at'? 170 | new (ptr + idx) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: error: 'move' is not a member of 'std' 172 | ptr[idx] = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:172:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:172:34: error: 't' was not declared in this scope; did you mean 'at'? 172 | ptr[idx] = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator<<(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: error: 'move' is not a member of 'std' 179 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:179:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:179:24: error: 't' was not declared in this scope; did you mean 'at'? 179 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'QVarLengthArray& QVarLengthArray::operator+=(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: error: 'move' is not a member of 'std' 183 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:183:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:183:24: error: 't' was not declared in this scope; did you mean 'at'? 183 | { append(std::move(t)); return *this; } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::push_back(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: error: 'move' is not a member of 'std' 235 | void push_back(T &&t) { append(std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:235:41: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:235:46: error: 't' was not declared in this scope; did you mean 'at'? 235 | void push_back(T &&t) { append(std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::realloc(int, int)': /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: error: 'move' is not a member of 'std' 386 | new (ptr+s) T(std::move(*(oldPtr+s))); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:386:40: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:438:59: error: expected ',' or '...' before '&&' token 438 | inline void QVarLengthArray::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::insert(int, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: error: 'move' is not a member of 'std' 440 | insert(cbegin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:440:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:440:34: error: 't' was not declared in this scope; did you mean 'at'? 440 | insert(cbegin() + i, std::move(t)); } | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:458:53: error: expected ',' or '...' before '&&' token 458 | inline void QVarLengthArray::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'void QVarLengthArray::prepend(T)': /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: error: 'move' is not a member of 'std' 459 | { insert(cbegin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:459:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:459:30: error: 't' was not declared in this scope; did you mean 'at'? 459 | { insert(cbegin(), std::move(t)); } | ^ | at In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvarlengtharray.h: At global scope: /usr/include/qt5/QtCore/qvarlengtharray.h:473:132: error: expected ',' or '...' before '&&' token 473 | Q_OUTOFLINE_TEMPLATE typename QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvarlengtharray.h: In member function 'T* QVarLengthArray::insert(QVarLengthArray::const_iterator, T)': /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: error: 'move' is not a member of 'std' 485 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:485:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: error: 'move' is not a member of 'std' 487 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:487:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: error: 'move' is not a member of 'std' 488 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:488:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:488:28: error: 't' was not declared in this scope; did you mean 'at'? 488 | *b = std::move(t); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: error: 'move' is not a member of 'std' 490 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:490:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:490:33: error: 't' was not declared in this scope; did you mean 'at'? 490 | new (b) T(std::move(t)); | ^ | at /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: error: 'move' is not a member of 'std' 495 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:495:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvarlengtharray.h:495:29: error: 't' was not declared in this scope; did you mean 'at'? 495 | new (b) T(std::move(t)); | ^ | at In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected '{' before ';' token 65 | enum class QCborSimpleType : quint8; | ^ /usr/include/qt5/QtCore/qmetatype.h:65:36: error: expected class-key before ';' token /usr/include/qt5/QtCore/qmetatype.h:252:53: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:252:74: error: 'nullptr' was not declared in this scope 252 | explicit AbstractDebugStreamFunction(Stream s = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:55: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:75: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:282:96: error: 'nullptr' was not declared in this scope 282 | explicit AbstractComparatorFunction(LessThan lt = nullptr, Equals e = nullptr, Destroy d = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtPrivate::BuiltInEqualsComparatorFunction::BuiltInEqualsComparatorFunction()': /usr/include/qt5/QtCore/qmetatype.h:319:38: error: 'nullptr' was not declared in this scope 319 | : AbstractComparatorFunction(nullptr, equals, destroy) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:336:54: error: 'nullptr' was not declared in this scope 336 | explicit AbstractConverterFunction(Converter c = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:554:54: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 554 | static void *create(int type, const void *copy = nullptr); | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:577:44: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 577 | inline void *create(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:579:60: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 579 | inline void *construct(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:721:45: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 721 | void *createExtended(const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h:723:61: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 723 | void *constructExtended(void *where, const void *copy = nullptr) const; | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static void* QtMetaTypePrivate::QMetaTypeFunctionHelper::Construct(void*, const void*)': /usr/include/qt5/QtCore/qmetatype.h:823:59: error: 'nullptr' was not declared in this scope 823 | static void *Construct(void *, const void *) { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:927:27: error: 'conditional' in namespace 'std' does not name a template type 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:927:38: error: expected unqualified-id before '<' token 927 | typedef typename std::conditional::value, Dummy, value_type>::type value_type_OR_Dummy; | ^ /usr/include/qt5/QtCore/qmetatype.h:929:42: error: 'value_type_OR_Dummy' does not name a type 929 | static void assign(void **ptr, const value_type_OR_Dummy *iterator ) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:954:38: error: 'value_type_OR_Dummy' does not name a type 954 | static const void *getData(const value_type_OR_Dummy *it) | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1061:19: error: 'nullptr' was not declared in this scope 1061 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QSequentialIterableImpl::QSequentialIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1078:19: error: 'nullptr' was not declared in this scope 1078 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: 'is_integral' is not a member of 'std' 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: expected primary-expression before '>' token 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1119:1: error: '::value' has not been declared 1119 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QSequentialIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h:1132:34: error: 'is_same' is not a member of 'std' 1132 | template::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1132:80: error: expected '(' before ',' token 1132 | template::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1132:108: error: 'value' in namespace '::' does not name a type 1132 | template::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:34: error: 'is_same' is not a member of 'std' 1146 | template >::value> | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1146:80: error: expected '(' before ',' token 1146 | template >::value> | ^ | ( /usr/include/qt5/QtCore/qmetatype.h:1146:87: error: non-type template parameters of class type only available with '-std=c++2a' or '-std=gnu++2a' 1146 | template >::value> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h:1146:148: error: 'value' in namespace '::' does not name a type 1146 | template >::value> | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1150:8: error: 'StlStyleAssociativeContainerAccessor' is not a class template 1150 | struct StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1164:8: error: 'AssociativeContainerAccessor' is not a class template 1164 | struct AssociativeContainerAccessor : public StlStyleAssociativeContainerAccessor | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl(const T*)': /usr/include/qt5/QtCore/qmetatype.h:1230:19: error: 'nullptr' was not declared in this scope 1230 | , _iterator(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QAssociativeIterableImpl::QAssociativeIterableImpl()': /usr/include/qt5/QtCore/qmetatype.h:1249:19: error: 'nullptr' was not declared in this scope 1249 | : _iterable(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: 'is_integral' is not a member of 'std' 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: expected primary-expression before '>' token 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1289:1: error: '::value' has not been declared 1289 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QAssociativeIterableImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()': /usr/include/qt5/QtCore/qmetatype.h:1333:15: error: 'nullptr' was not declared in this scope 1333 | : _pair(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: 'is_integral' is not a member of 'std' 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: expected primary-expression before '>' token 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1346:1: error: '::value' has not been declared 1346 | QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetatype.h:1415:57: error: 'nullptr' was not declared in this scope 1415 | enum { Value = sizeof(checkType(static_cast(nullptr))) == sizeof(yes_type) }; | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1439:15: error: expected nested-name-specifier before 'BaseType' 1439 | using BaseType = T; | ^~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1466:59: error: 'nullptr' was not declared in this scope 1466 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In static member function 'static const QMetaObject* QtPrivate::MetaObjectForType::value()': /usr/include/qt5/QtCore/qmetatype.h:1471:59: error: 'nullptr' was not declared in this scope 1471 | static inline const QMetaObject *value() { return nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:1474:48: error: 'enable_if' in namespace 'std' does not name a template type 1474 | struct MetaObjectForType::Value>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected template-argument before '<' token 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1474:57: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1474:109: error: template argument 2 is invalid 1474 | struct MetaObjectForType::Value>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:47: error: 'enable_if' in namespace 'std' does not name a template type 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected template-argument before '<' token 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1479:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1479:104: error: template argument 2 is invalid 1479 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:47: error: 'enable_if' in namespace 'std' does not name a template type 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected template-argument before '<' token 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1484:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1484:113: error: template argument 2 is invalid 1484 | struct MetaObjectForType::IsGadgetOrDerivedFrom>::type> | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:47: error: 'enable_if' in namespace 'std' does not name a template type 1489 | struct MetaObjectForType::Value>::type > | ^~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected template-argument before '<' token 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1489:56: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:1489:88: error: template argument 2 is invalid 1489 | struct MetaObjectForType::Value>::type > | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:30: error: 'is_enum' is not a member of 'std'; did you mean 'isalnum'? 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~~~ | isalnum /usr/include/qt5/QtCore/qmetatype.h:1696:39: error: expected primary-expression before '>' token 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^ /usr/include/qt5/QtCore/qmetatype.h:1696:42: error: '::value' has not been declared 1696 | | (std::is_enum::value ? QMetaType::IsEnumeration : 0) | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:1767:19: error: 'nullptr' was not declared in this scope 1767 | , T * dummy = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1784:25: error: 'nullptr' was not declared in this scope 1784 | , T * /* dummy */ = nullptr | ^~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:24: error: 'is_default_constructible' is not a member of 'std' 1848 | Defined = std::is_default_constructible::value | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:1848:50: error: expected primary-expression before '>' token 1848 | Defined = std::is_default_constructible::value | ^ /usr/include/qt5/QtCore/qmetatype.h:1848:53: error: '::value' has not been declared 1848 | Defined = std::is_default_constructible::value | ^~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: 'enable_if' in namespace 'std' does not name a template type 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected template-argument before '<' token 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: expected '>' before '<' token /usr/include/qt5/QtCore/qmetatype.h:2174:1: error: template argument 2 is invalid 2174 | QT_FOR_EACH_AUTOMATIC_TEMPLATE_SMART_POINTER(Q_DECLARE_METATYPE_TEMPLATE_SMART_POINTER_ITER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h: In constructor 'QMetaType::QMetaType(QMetaType::ExtensionFlag, const QMetaTypeInterface*, QMetaType::TypedConstructor, QMetaType::TypedDestructor, QMetaType::SaveOperator, QMetaType::LoadOperator, QMetaType::Constructor, QMetaType::Destructor, uint, uint, int, const QMetaObject*)': /usr/include/qt5/QtCore/qmetatype.h:2197:19: error: 'nullptr' was not declared in this scope; did you mean 'Nullptr'? 2197 | , m_extension(nullptr) | ^~~~~~~ | Nullptr /usr/include/qt5/QtCore/qmetatype.h: At global scope: /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: 'QCborSimpleType' was not declared in this scope 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetatype.h:2276:1: error: template argument 1 is invalid 2276 | QT_FOR_EACH_STATIC_TYPE(Q_DECLARE_BUILTIN_METATYPE) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:56, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject_impl.h:66:54: error: '>>' should be '> >' within a nested template argument list 66 | template <> struct TypesAreDeclaredMetaType> { enum { Value = true }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h:68:89: error: '>>' should be '> >' within a nested template argument list 68 | { enum { Value = QMetaTypeId2::Defined && TypesAreDeclaredMetaType>::Value }; }; | ^~ | > > /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes::types()': /usr/include/qt5/QtCore/qobject_impl.h:71:42: error: 'nullptr' was not declared in this scope 71 | { static const int *types() { return nullptr; } }; | ^~~~~~~ /usr/include/qt5/QtCore/qobject_impl.h: In static member function 'static const int* QtPrivate::ConnectionTypes, true>::types()': /usr/include/qt5/QtCore/qobject_impl.h:73:42: error: 'nullptr' was not declared in this scope 73 | { static const int *types() { return nullptr; } }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h: At global scope: /usr/include/qt5/QtCore/qobject.h:154:25: error: 'std::chrono' has not been declared 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qobject.h:154:46: error: expected ',' or '...' before 'time' 154 | int startTimer(std::chrono::milliseconds time, Qt::TimerType timerType = Qt::CoarseTimer) | ^~~~ /usr/include/qt5/QtCore/qobject.h:259:33: error: 'enable_if' in namespace 'std' does not name a template type 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:259:42: error: expected unqualified-id before '<' token 259 | static inline typename std::enable_if::ArgumentCount) >= 0, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:267:33: error: 'enable_if' in namespace 'std' does not name a template type 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:267:42: error: expected unqualified-id before '<' token 267 | static inline typename std::enable_if::ArgumentCount) >= 0 && | ^ /usr/include/qt5/QtCore/qobject.h:299:33: error: 'enable_if' in namespace 'std' does not name a template type 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:299:42: error: expected unqualified-id before '<' token 299 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ /usr/include/qt5/QtCore/qobject.h:307:33: error: 'enable_if' in namespace 'std' does not name a template type 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:307:42: error: expected unqualified-id before '<' token 307 | static inline typename std::enable_if::ArgumentCount == -1, QMetaObject::Connection>::type | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobject.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:124:50: error: 'nullptr' was not declared in this scope 124 | Q_INVOKABLE explicit QObject(QObject *parent=nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:341:49: error: 'nullptr' was not declared in this scope 341 | inline bool disconnect(const char *signal = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:54: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:342:84: error: 'nullptr' was not declared in this scope 342 | const QObject *receiver = nullptr, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:344:74: error: 'nullptr' was not declared in this scope 344 | inline bool disconnect(const QObject *receiver, const char *member = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:404:32: error: 'nullptr' was not declared in this scope 404 | void destroyed(QObject * = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h:430:51: error: 'nullptr' was not declared in this scope 430 | QObject(QObjectPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h: In member function 'QObjectPrivate* QObject::d_func()': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'const QObjectPrivate* QObject::d_func() const': /usr/include/qt5/QtCore/qobject.h:121:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qobject.h:121:5: note: mismatched types 'T*' and 'QScopedPointer' 121 | Q_DECLARE_PRIVATE(QObject) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h: In member function 'int QObject::startTimer(int)': /usr/include/qt5/QtCore/qobject.h:156:36: error: request for member 'count' in 'time', which is of non-class type 'time_t(time_t*) throw ()' {aka 'long int(long int*)'} 156 | return startTimer(int(time.count()), timerType); | ^~~~~ /usr/include/qt5/QtCore/qobject.h:156:46: error: 'timerType' was not declared in this scope 156 | return startTimer(int(time.count()), timerType); | ^~~~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'T QObject::findChild(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:164:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 164 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:164:40: error: expected unqualified-id before '<' token 164 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:165:65: error: 'ObjType' has not been declared 165 | return static_cast(qt_qFindChild_helper(this, aName, ObjType::staticMetaObject, options)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QString&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:171:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 171 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:171:40: error: expected unqualified-id before '<' token 171 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:173:46: error: 'ObjType' has not been declared 173 | qt_qFindChildren_helper(this, aName, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegExp&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:182:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 182 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:182:40: error: expected unqualified-id before '<' token 182 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:184:43: error: 'ObjType' has not been declared 184 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'QList QObject::findChildren(const QRegularExpression&, Qt::FindChildOptions) const': /usr/include/qt5/QtCore/qobject.h:194:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 194 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:194:40: error: expected unqualified-id before '<' token 194 | typedef typename std::remove_cv::type>::type ObjType; | ^ /usr/include/qt5/QtCore/qobject.h:196:43: error: 'ObjType' has not been declared 196 | qt_qFindChildren_helper(this, re, ObjType::staticMetaObject, | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In static member function 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::FunctionPointer::Object*, Func2, Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:246:28: error: 'nullptr' was not declared in this scope 246 | const int *types = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::disconnect(const QObject*, const char*) const': /usr/include/qt5/QtCore/qobject.h:345:35: error: 'nullptr' was not declared in this scope 345 | { return disconnect(this, nullptr, receiver, member); } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In member function 'bool QObject::inherits(const char*) const': /usr/include/qt5/QtCore/qobject.h:411:73: error: 'nullptr' was not declared in this scope 411 | { return const_cast(this)->qt_metacast(classname) != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(QObject*)': /usr/include/qt5/QtCore/qobject.h:501:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 501 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:501:36: error: expected unqualified-id before '<' token 501 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:502:5: error: 'ObjType' was not declared in this scope 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:502:5: error: template argument 1 is invalid 502 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:504:27: error: 'ObjType' is not a class or namespace 504 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'T qobject_cast(const QObject*)': /usr/include/qt5/QtCore/qobject.h:510:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 510 | typedef typename std::remove_cv::type>::type ObjType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qobject.h:510:36: error: expected unqualified-id before '<' token 510 | typedef typename std::remove_cv::type>::type ObjType; | ^ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:511:5: error: 'ObjType' was not declared in this scope 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qobject.h:511:5: error: template argument 1 is invalid 511 | Q_STATIC_ASSERT_X(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobject.h:513:27: error: 'ObjType' is not a class or namespace 513 | return static_cast(ObjType::staticMetaObject.cast(object)); | ^~~~~~~ /usr/include/qt5/QtCore/qobject.h: In function 'const char* qobject_interface_iid()': /usr/include/qt5/QtCore/qobject.h:518:10: error: 'nullptr' was not declared in this scope 518 | { return nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:31: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 249 | typedef typename std::remove_cv::type NoCVType; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:249:40: error: expected unqualified-id before '<' token 249 | typedef typename std::remove_cv::type NoCVType; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:250:9: error: 'NoCVType' does not name a type 250 | NoCVType data; | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:45: error: expected ';' at end of member declaration 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ^~~~~~ | ; /usr/include/qt5/QtCore/qsharedpointer_impl.h:266:60: error: expected ')' before '*' token 266 | static inline ExternalRefCountData *create(NoCVType **ptr, DestroyerFn destroy) | ~ ^~ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:317:51: error: function definition does not declare parameters 317 | Q_DECL_CONSTEXPR QSharedPointer(std::nullptr_t) Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:328:34: error: expected ')' before ',' token 328 | QSharedPointer(std::nullptr_t, Deleter) : value(nullptr), d(nullptr) { } | ~ ^ | ) /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:39: error: expected ',' or '...' before '&&' token 431 | static QSharedPointer create(Args && ...arguments) | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: error: parameter packs not expanded with '...': 431 | static QSharedPointer create(Args && ...arguments) | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:431:54: note: 'Args' /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QSharedPointer::operator QSharedPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:309:72: error: 'nullptr' was not declared in this scope 309 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QSharedPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:314:62: error: 'nullptr' was not declared in this scope 314 | Q_DECL_CONSTEXPR QSharedPointer() Q_DECL_NOTHROW : value(nullptr), d(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QSharedPointer::QSharedPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:383:65: error: 'nullptr' was not declared in this scope 383 | inline QSharedPointer(const QWeakPointer &other) : value(nullptr), d(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In static member function 'static QSharedPointer QSharedPointer::create()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:23: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 441 | typename std::remove_cv::type *ptr; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:441:32: error: expected unqualified-id before '<' token 441 | typename std::remove_cv::type *ptr; | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:442:37: error: 'ptr' was not declared in this scope 442 | result.d = Private::create(&ptr, noDestroy); | ^~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: error: 'forward' is not a member of 'std' 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:26: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:38: error: expected primary-expression before '>' token 445 | new (ptr) T(std::forward(arguments)...); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:445:40: error: 'arguments' was not declared in this scope; did you mean 'QArgument'? 445 | new (ptr) T(std::forward(arguments)...); | ^~~~~~~~~ | QArgument /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::enableSharedFromThis(const QEnableSharedFromThis*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:66: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^~~~~~~~~ | remove_if /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected template-argument before '<' token 474 | ptr->initializeFromSharedPointer(constCast::type>()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:474:75: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalConstruct(X*, Deleter)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:483:17: error: 'nullptr' was not declared in this scope 483 | d = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'void QSharedPointer::internalSet(QSharedPointer::Data*, T*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:534:21: error: 'nullptr' was not declared in this scope 534 | o = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:541:27: error: 'nullptr' was not declared in this scope 541 | this->value = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'bool QWeakPointer::isNull() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:566:54: error: 'nullptr' was not declared in this scope 566 | bool isNull() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 || value == nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'QWeakPointer::operator QWeakPointer::RestrictedBool() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:567:72: error: 'nullptr' was not declared in this scope 567 | operator RestrictedBool() const Q_DECL_NOTHROW { return isNull() ? nullptr : &QWeakPointer::value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In member function 'T* QWeakPointer::data() const': /usr/include/qt5/QtCore/qsharedpointer_impl.h:569:50: error: 'nullptr' was not declared in this scope 569 | T *data() const Q_DECL_NOTHROW { return d == nullptr || d->strongref.load() == 0 ? nullptr : value; } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer()': /usr/include/qt5/QtCore/qsharedpointer_impl.h:571:46: error: 'nullptr' was not declared in this scope 571 | inline QWeakPointer() Q_DECL_NOTHROW : d(nullptr), value(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QWeakPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:623:55: error: 'nullptr' was not declared in this scope 623 | inline QWeakPointer(const QWeakPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:644:57: error: 'nullptr' was not declared in this scope 644 | inline QWeakPointer(const QSharedPointer &o) : d(nullptr), value(nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In constructor 'QWeakPointer::QWeakPointer(X*, bool)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:688:72: error: 'nullptr' was not declared in this scope 688 | inline QWeakPointer(X *ptr, bool) : d(ptr ? Data::getAndRef(ptr) : nullptr), value(ptr) | ^~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:59: error: 'std::nullptr_t' has not been declared 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:791:59: error: 'std::nullptr_t' has not been declared 791 | inline bool operator!=(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: declaration of 'operator==' as non-function 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:797:40: error: expected primary-expression before 'const' 797 | inline bool operator==(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: declaration of 'operator!=' as non-function 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:803:40: error: expected primary-expression before 'const' 803 | inline bool operator!=(std::nullptr_t, const QSharedPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:57: error: 'std::nullptr_t' has not been declared 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:815:57: error: 'std::nullptr_t' has not been declared 815 | inline bool operator!=(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: declaration of 'operator==' as non-function 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:821:40: error: expected primary-expression before 'const' 821 | inline bool operator==(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: declaration of 'operator!=' as non-function 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:29: error: 'nullptr_t' is not a member of 'std' /usr/include/qt5/QtCore/qsharedpointer_impl.h:827:40: error: expected primary-expression before 'const' 827 | inline bool operator!=(std::nullptr_t, const QWeakPointer &rhs) Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:857:11: error: expected nested-name-specifier before 'CT' 857 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:22: error: 'CT' was not declared in this scope; did you mean 'T'? 858 | return std::less()(ptr1.data(), ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:858:24: error: template argument 1 is invalid 858 | return std::less()(ptr1.data(), ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(const QSharedPointer&, X*)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:863:11: error: expected nested-name-specifier before 'CT' 863 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:22: error: 'CT' was not declared in this scope; did you mean 'T'? 864 | return std::less()(ptr1.data(), ptr2); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:864:24: error: template argument 1 is invalid 864 | return std::less()(ptr1.data(), ptr2); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: In function 'bool operator<(T*, const QSharedPointer&)': /usr/include/qt5/QtCore/qsharedpointer_impl.h:869:11: error: expected nested-name-specifier before 'CT' 869 | using CT = typename std::common_type::type; | ^~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:22: error: 'CT' was not declared in this scope; did you mean 'T'? 870 | return std::less()(ptr1, ptr2.data()); | ^~ | T /usr/include/qt5/QtCore/qsharedpointer_impl.h:870:24: error: template argument 1 is invalid 870 | return std::less()(ptr1, ptr2.data()); | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h: At global scope: /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:28: error: 'enable_if' in namespace 'std' does not name a template type 987 | QWeakPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected template-argument before '<' token 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:37: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:987:103: error: template argument 1 is invalid 987 | QWeakPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:30: error: 'enable_if' in namespace 'std' does not name a template type 993 | QSharedPointer::Value, T>::type> | ^~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected template-argument before '<' token 993 | QSharedPointer::Value, T>::type> | ^ /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:39: error: expected '>' before '<' token /usr/include/qt5/QtCore/qsharedpointer_impl.h:993:105: error: template argument 1 is invalid 993 | QSharedPointer::Value, T>::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: 'is_integral' is not a member of 'std' 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: expected primary-expression before '>' token 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1001:22: error: '::value' has not been declared 1001 | template Q_DECLARE_TYPEINFO_BODY(QWeakPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: 'is_integral' is not a member of 'std' 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: expected primary-expression before '>' token 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:1002:22: error: '::value' has not been declared 1002 | template Q_DECLARE_TYPEINFO_BODY(QSharedPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:48, from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qeventloop.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QEventLoop(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qeventloop.h: In member function 'QEventLoopPrivate* QEventLoop::d_func()': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventloop.h: In member function 'const QEventLoopPrivate* QEventLoop::d_func() const': /usr/include/qt5/QtCore/qeventloop.h:53:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventloop.h:53:5: note: mismatched types 'T*' and 'QScopedPointer' 53 | Q_DECLARE_PRIVATE(QEventLoop) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcoreapplication.h: At global scope: /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:78:5: error: 'nullptr' was not declared in this scope 78 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcoreapplication.h:126:54: error: 'nullptr' was not declared in this scope 126 | static void sendPostedEvents(QObject *receiver = nullptr, int event_type = 0); | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:158:60: error: 'nullptr' was not declared in this scope 158 | const char * disambiguation = nullptr, | ^~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h:209:91: error: 'nullptr' was not declared in this scope 209 | static bool forwardEvent(QObject *receiver, QEvent *event, QEvent *originatingEvent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'QCoreApplicationPrivate* QCoreApplication::d_func()': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcoreapplication.h: In member function 'const QCoreApplicationPrivate* QCoreApplication::d_func() const': /usr/include/qt5/QtCore/qcoreapplication.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qcoreapplication.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QCoreApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:109:5: error: 'nullptr' was not declared in this scope 109 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmap.h:102:26: error: 'enable_if' in namespace 'std' does not name a template type 102 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:102:35: error: expected unqualified-id before '<' token 102 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:105:26: error: 'enable_if' in namespace 'std' does not name a template type 105 | static typename std::enable_if::isComplex>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:105:35: error: expected unqualified-id before '<' token 105 | static typename std::enable_if::isComplex>::type | ^ /usr/include/qt5/QtCore/qmap.h:136:32: error: 'std::false_type' has not been declared 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:32: error: 'std::true_type' has not been declared 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:137:10: error: 'void QMapNode::doDestroySubTree(int)' cannot be overloaded with 'void QMapNode::doDestroySubTree(int)' 137 | void doDestroySubTree(std::true_type) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:136:10: note: previous declaration 'void QMapNode::doDestroySubTree(int)' 136 | void doDestroySubTree(std::false_type) {} | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapNode::destroySubTree()': /usr/include/qt5/QtCore/qmap.h:129:31: error: 'integral_constant' is not a member of 'std' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:129:49: error: expected primary-expression before 'bool' 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^~~~ /usr/include/qt5/QtCore/qmap.h:129:109: error: expected primary-expression before ')' token 129 | doDestroySubTree(std::integral_constant::isComplex || QTypeInfo::isComplex>()); | ^ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:153:34: error: 'nullptr' was not declared in this scope 153 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:169:34: error: 'nullptr' was not declared in this scope 169 | QMapNode *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: At global scope: /usr/include/qt5/QtCore/qmap.h:223:63: error: 'nullptr' was not declared in this scope 223 | Node *createNode(const Key &k, const T &v, Node *parent = nullptr, bool left = false) | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapNode::copy(QMapData*) const': /usr/include/qt5/QtCore/qmap.h:264:19: error: 'nullptr' was not declared in this scope 264 | n->left = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:270:20: error: 'nullptr' was not declared in this scope 270 | n->right = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::deleteNode(QMapNode*)': /usr/include/qt5/QtCore/qmap.h:278:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 278 | QMapNodeBase::callDestructorIfNecessary(z->key); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h:279:19: error: 'callDestructorIfNecessary' is not a member of 'QMapNodeBase' 279 | QMapNodeBase::callDestructorIfNecessary(z->value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMapNode* QMapData::findNode(const Key&) const': /usr/include/qt5/QtCore/qmap.h:291:12: error: 'nullptr' was not declared in this scope 291 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'void QMapData::nodeRange(const Key&, QMapNode**, QMapNode**)': /usr/include/qt5/QtCore/qmap.h:307:76: error: 'nullptr' was not declared in this scope 307 | *firstNode = n->leftNode() ? n->leftNode()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::iterator::iterator()': /usr/include/qt5/QtCore/qmap.h:419:31: error: 'nullptr' was not declared in this scope 419 | inline iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In constructor 'QMap::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qmap.h:477:54: error: 'nullptr' was not declared in this scope 477 | Q_DECL_CONSTEXPR inline const_iterator() : i(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'bool QMap::contains(const Key&) const': /usr/include/qt5/QtCore/qmap.h:700:33: error: 'nullptr' was not declared in this scope 700 | return d->findNode(akey) != nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:709:22: error: 'nullptr' was not declared in this scope 709 | Node *lastNode = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insert(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:784:32: error: 'nullptr' was not declared in this scope 784 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:788:31: error: 'nullptr' was not declared in this scope 788 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:806:17: error: 'nullptr' was not declared in this scope 806 | while (x != nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::insertMulti(QMap::const_iterator, const Key&, const T&)': /usr/include/qt5/QtCore/qmap.h:853:32: error: 'nullptr' was not declared in this scope 853 | if (prev->right == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h:857:31: error: 'nullptr' was not declared in this scope 857 | if (next->left == nullptr) { | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'T QMap::take(const Key&)': /usr/include/qt5/QtCore/qmap.h:961:20: error: 'move' is not a member of 'std' 961 | T t = std::move(node->value); | ^~~~ /usr/include/qt5/QtCore/qmap.h:961:20: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::lowerBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1107:58: error: 'nullptr' was not declared in this scope 1107 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::lowerBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1117:58: error: 'nullptr' was not declared in this scope 1117 | Node *lb = d->root() ? d->root()->lowerBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::const_iterator QMap::upperBound(const Key&) const': /usr/include/qt5/QtCore/qmap.h:1127:58: error: 'nullptr' was not declared in this scope 1127 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qmap.h: In member function 'QMap::iterator QMap::upperBound(const Key&)': /usr/include/qt5/QtCore/qmap.h:1137:58: error: 'nullptr' was not declared in this scope 1137 | Node *ub = d->root() ? d->root()->upperBound(akey) : nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qiodevice.h: At global scope: /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:43, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qiodevice.h:166:55: error: 'nullptr' was not declared in this scope 166 | QIODevice(QIODevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qiodevice.h: In member function 'QIODevicePrivate* QIODevice::d_func()': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qiodevice.h: In member function 'const QIODevicePrivate* QIODevice::d_func() const': /usr/include/qt5/QtCore/qiodevice.h:181:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qiodevice.h:181:5: note: mismatched types 'T*' and 'QScopedPointer' 181 | Q_DECLARE_PRIVATE(QIODevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:295:26: error: 'nullptr' was not declared in this scope 295 | int toInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:296:28: error: 'nullptr' was not declared in this scope 296 | uint toUInt(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:297:37: error: 'nullptr' was not declared in this scope 297 | qlonglong toLongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:298:39: error: 'nullptr' was not declared in this scope 298 | qulonglong toULongLong(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:300:32: error: 'nullptr' was not declared in this scope 300 | double toDouble(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:301:30: error: 'nullptr' was not declared in this scope 301 | float toFloat(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h:302:29: error: 'nullptr' was not declared in this scope 302 | qreal toReal(bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qvariant.h: In constructor 'QVariant::Private::Private()': /usr/include/qt5/QtCore/qvariant.h:392:22: error: 'nullptr' was not declared in this scope 392 | { data.ptr = nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvariant.h: At global scope: /usr/include/qt5/QtCore/qvariant.h:600:1: error: 'is_integral' is not a member of 'std' 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: expected primary-expression before '>' token 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:600:1: error: '::value' has not been declared 600 | Q_DECLARE_SHARED(QVariant) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlocale.h:955:48: error: 'nullptr' was not declared in this scope 955 | short toShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:956:50: error: 'nullptr' was not declared in this scope 956 | ushort toUShort(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:957:44: error: 'nullptr' was not declared in this scope 957 | int toInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:958:46: error: 'nullptr' was not declared in this scope 958 | uint toUInt(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:959:55: error: 'nullptr' was not declared in this scope 959 | qlonglong toLongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:960:57: error: 'nullptr' was not declared in this scope 960 | qulonglong toULongLong(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:961:48: error: 'nullptr' was not declared in this scope 961 | float toFloat(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:962:50: error: 'nullptr' was not declared in this scope 962 | double toDouble(const QString &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:964:51: error: 'nullptr' was not declared in this scope 964 | short toShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:965:53: error: 'nullptr' was not declared in this scope 965 | ushort toUShort(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:966:47: error: 'nullptr' was not declared in this scope 966 | int toInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:967:49: error: 'nullptr' was not declared in this scope 967 | uint toUInt(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:968:58: error: 'nullptr' was not declared in this scope 968 | qlonglong toLongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:969:60: error: 'nullptr' was not declared in this scope 969 | qulonglong toULongLong(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:970:51: error: 'nullptr' was not declared in this scope 970 | float toFloat(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:971:53: error: 'nullptr' was not declared in this scope 971 | double toDouble(const QStringRef &s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:974:45: error: 'nullptr' was not declared in this scope 974 | short toShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:975:47: error: 'nullptr' was not declared in this scope 975 | ushort toUShort(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:976:41: error: 'nullptr' was not declared in this scope 976 | int toInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:977:43: error: 'nullptr' was not declared in this scope 977 | uint toUInt(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:978:52: error: 'nullptr' was not declared in this scope 978 | qlonglong toLongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:979:54: error: 'nullptr' was not declared in this scope 979 | qulonglong toULongLong(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:980:45: error: 'nullptr' was not declared in this scope 980 | float toFloat(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qlocale.h:981:47: error: 'nullptr' was not declared in this scope 981 | double toDouble(QStringView s, bool *ok = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlocale.h:1098:1: error: 'is_integral' is not a member of 'std' 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: expected primary-expression before '>' token 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlocale.h:1098:1: error: '::value' has not been declared 1098 | Q_DECLARE_SHARED(QLocale) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtextstream.h: In member function 'QTextStreamPrivate* QTextStream::d_func()': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In member function 'const QTextStreamPrivate* QTextStream::d_func() const': /usr/include/qt5/QtCore/qtextstream.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtextstream.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextStream) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFI, int)': /usr/include/qt5/QtCore/qtextstream.h:216:89: error: 'nullptr' was not declared in this scope 216 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFI m, int a) Q_DECL_NOTHROW : mf(m), mc(nullptr), arg(a), ch() {} | ^~~~~~~ /usr/include/qt5/QtCore/qtextstream.h: In constructor 'QTextStreamManipulator::QTextStreamManipulator(QTSMFC, QChar)': /usr/include/qt5/QtCore/qtextstream.h:217:84: error: 'nullptr' was not declared in this scope 217 | Q_DECL_CONSTEXPR QTextStreamManipulator(QTSMFC m, QChar c) Q_DECL_NOTHROW : mf(nullptr), mc(m), arg(-1), ch(c) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:140:20: error: expected ',' or '...' before '&&' token 140 | void prepend(T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:142:26: error: expected ',' or '...' before '&&' token 142 | void insert(int i, T &&t); | ^~ /usr/include/qt5/QtCore/qvector.h:231:47: error: expected ',' or '...' before '&&' token 231 | inline iterator insert(iterator before, T &&x); | ^~ /usr/include/qt5/QtCore/qvector.h:286:37: error: expected ',' or '...' before '&&' token 286 | inline QVector &operator+=(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h:288:37: error: expected ',' or '...' before '&&' token 288 | inline QVector &operator<<(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeFirst()': /usr/include/qt5/QtCore/qvector.h:150:54: error: 'move' is not a member of 'std' 150 | T takeFirst() { Q_ASSERT(!isEmpty()); T r = std::move(first()); removeFirst(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:150:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeLast()': /usr/include/qt5/QtCore/qvector.h:151:54: error: 'move' is not a member of 'std' 151 | T takeLast() { Q_ASSERT(!isEmpty()); T r = std::move(last()); removeLast(); return r; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:151:54: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'T QVector::takeAt(int)': /usr/include/qt5/QtCore/qvector.h:184:34: error: 'move' is not a member of 'std' 184 | T takeAt(int i) { T t = std::move((*this)[i]); remove(i); return t; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:184:34: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator+=(T)': /usr/include/qt5/QtCore/qvector.h:287:19: error: 'move' is not a member of 'std' 287 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:287:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:287:24: error: 't' was not declared in this scope 287 | { append(std::move(t)); return *this; } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector& QVector::operator<<(T)': /usr/include/qt5/QtCore/qvector.h:289:19: error: 'move' is not a member of 'std' 289 | { append(std::move(t)); return *this; } | ^~~~ /usr/include/qt5/QtCore/qvector.h:289:19: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:289:24: error: 't' was not declared in this scope 289 | { append(std::move(t)); return *this; } | ^ In file included from /usr/include/qt5/QtCore/qdebug.h:51, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:448:41: error: expected ',' or '...' before '&&' token 448 | inline void QVector::insert(int i, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::insert(int, T)': /usr/include/qt5/QtCore/qvector.h:450:28: error: 'move' is not a member of 'std' 450 | insert(begin() + i, std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:450:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:450:33: error: 't' was not declared in this scope 450 | insert(begin() + i, std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:463:35: error: expected ',' or '...' before '&&' token 463 | inline void QVector::prepend(T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::prepend(T)': /usr/include/qt5/QtCore/qvector.h:464:24: error: 'move' is not a member of 'std' 464 | { insert(begin(), std::move(t)); } | ^~~~ /usr/include/qt5/QtCore/qvector.h:464:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:464:29: error: 't' was not declared in this scope 464 | { insert(begin(), std::move(t)); } | ^ /usr/include/qt5/QtCore/qvector.h: In member function 'void QVector::reallocData(int, int, QArrayData::AllocationOptions)': /usr/include/qt5/QtCore/qvector.h:578:47: error: 'is_nothrow_move_constructible' is not a member of 'std' 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:578:78: error: expected primary-expression before '>' token 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^ /usr/include/qt5/QtCore/qvector.h:578:81: error: '::value' has not been declared 578 | if (isShared || !std::is_nothrow_move_constructible::value) { | ^~~~~ /usr/include/qt5/QtCore/qvector.h:584:52: error: 'move' is not a member of 'std' 584 | new (dst++) T(std::move(*srcBegin++)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:584:52: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, QVector::size_type, const T&)': /usr/include/qt5/QtCore/qvector.h:734:16: error: 'offset' does not name a type; did you mean 'off_t'? 734 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:746:30: error: 'offset' was not declared in this scope; did you mean 'off_t'? 746 | b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:753:33: error: 'offset' was not declared in this scope; did you mean 'off_t'? 753 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:761:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 761 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:765:69: error: expected ',' or '...' before '&&' token 765 | typename QVector::iterator QVector::insert(iterator before, T &&t) | ^~ /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::insert(QVector::iterator, T)': /usr/include/qt5/QtCore/qvector.h:769:16: error: 'offset' does not name a type; did you mean 'off_t'? 769 | const auto offset = std::distance(d->begin(), before); | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:775:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 775 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:778:30: error: 'move' is not a member of 'std' 778 | new (--j) T(std::move(*--i)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:778:30: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:780:29: error: 'move' is not a member of 'std' 780 | *--j = std::move(*--i); | ^~~~ /usr/include/qt5/QtCore/qvector.h:780:29: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:23: error: 'move' is not a member of 'std' 781 | *b = std::move(t); | ^~~~ /usr/include/qt5/QtCore/qvector.h:781:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:781:28: error: 't' was not declared in this scope 781 | *b = std::move(t); | ^ /usr/include/qt5/QtCore/qvector.h:783:28: error: 'move' is not a member of 'std' 783 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:783:28: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:783:33: error: 't' was not declared in this scope 783 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:786:29: error: 'offset' was not declared in this scope; did you mean 'off_t'? 786 | T *b = d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h:788:24: error: 'move' is not a member of 'std' 788 | new (b) T(std::move(t)); | ^~~~ /usr/include/qt5/QtCore/qvector.h:788:24: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qvector.h:788:29: error: 't' was not declared in this scope 788 | new (b) T(std::move(t)); | ^ /usr/include/qt5/QtCore/qvector.h:791:25: error: 'offset' was not declared in this scope; did you mean 'off_t'? 791 | return d->begin() + offset; | ^~~~~~ | off_t /usr/include/qt5/QtCore/qvector.h: In member function 'QVector::iterator QVector::erase(QVector::iterator, QVector::iterator)': /usr/include/qt5/QtCore/qvector.h:800:16: error: 'itemsToErase' does not name a type 800 | const auto itemsToErase = aend - abegin; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:802:10: error: 'itemsToErase' was not declared in this scope 802 | if (!itemsToErase) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:809:16: error: 'itemsUntouched' does not name a type 809 | const auto itemsUntouched = abegin - d->begin(); | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:816:31: error: 'itemsUntouched' was not declared in this scope 816 | abegin = d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:817:25: error: 'itemsToErase' was not declared in this scope 817 | aend = abegin + itemsToErase; | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:840:25: error: 'itemsUntouched' was not declared in this scope 840 | return d->begin() + itemsUntouched; | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h: At global scope: /usr/include/qt5/QtCore/qvector.h:1065:15: error: no declaration matches 'QVector QStringView::toUcs4() const' 1065 | QVector QStringView::toUcs4() const { return QtPrivate::convertToUcs4(*this); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qvector.h:1065:15: note: no functions named 'QVector QStringView::toUcs4() const' In file included from /usr/include/qt5/QtCore/qstring.h:54, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringview.h:104:7: note: 'class QStringView' defined here 104 | class QStringView | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qset.h: In member function 'QSet& QSet::subtract(const QSet&)': /usr/include/qt5/QtCore/qset.h:348:14: error: 'i' does not name a type 348 | auto i = other.constEnd(); | ^ /usr/include/qt5/QtCore/qset.h:349:16: error: 'i' was not declared in this scope 349 | while (i != other.constBegin()) { | ^ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdebug.h: In member function 'QDebug& QDebug::operator<<(QStringView)': /usr/include/qt5/QtCore/qdebug.h:158:60: error: 'class QStringView' has no member named 'data' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ /usr/include/qt5/QtCore/qdebug.h:158:77: error: 'class QStringView' has no member named 'size' 158 | inline QDebug &operator<<(QStringView s) { putString(s.data(), size_t(s.size())); return maybeSpace(); } | ^~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdebug.h: At global scope: /usr/include/qt5/QtCore/qdebug.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QDebug) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdebug.h:371:15: error: 'enable_if' in namespace 'std' does not name a template type 371 | typename std::enable_if::Value, QDebug>::type | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:371:24: error: expected unqualified-id before '<' token 371 | typename std::enable_if::Value, QDebug>::type | ^ /usr/include/qt5/QtCore/qdebug.h:380:37: error: 'enable_if' in namespace 'std' does not name a template type 380 | typename A = typename std::enable_if::value, void>::type, | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:380:46: error: expected '>' before '<' token 380 | typename A = typename std::enable_if::value, void>::type, | ^ /usr/include/qt5/QtCore/qdebug.h:385:1: error: expected unqualified-id before '{' token 385 | { | ^ /usr/include/qt5/QtCore/qdebug.h:393:22: error: 'enable_if' in namespace 'std' does not name a template type 393 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:393:31: error: expected unqualified-id before '<' token 393 | inline typename std::enable_if< | ^ /usr/include/qt5/QtCore/qdebug.h:404:22: error: 'enable_if' in namespace 'std' does not name a template type 404 | inline typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qdebug.h:404:31: error: expected unqualified-id before '<' token 404 | inline typename std::enable_if< | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qrgba64.h:190:1: error: 'is_integral' is not a member of 'std' 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: expected primary-expression before '>' token 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qrgba64.h:190:1: error: '::value' has not been declared 190 | Q_DECLARE_TYPEINFO(QRgba64, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qcolor.h:200:5: error: expected unqualified-id before '[' token 200 | Q_REQUIRED_RESULT QColor convertTo(Spec colorSpec) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:220:5: error: expected unqualified-id before '[' token 220 | Q_REQUIRED_RESULT QColor light(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:221:5: error: expected unqualified-id before '[' token 221 | Q_REQUIRED_RESULT QColor lighter(int f = 150) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:222:5: error: expected unqualified-id before '[' token 222 | Q_REQUIRED_RESULT QColor dark(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:223:5: error: expected unqualified-id before '[' token 223 | Q_REQUIRED_RESULT QColor darker(int f = 200) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qcolor.h:132:50: error: 'nullptr' was not declared in this scope 132 | void getRgb(int *r, int *g, int *b, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:135:59: error: 'nullptr' was not declared in this scope 135 | void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:159:50: error: 'nullptr' was not declared in this scope 159 | void getHsv(int *h, int *s, int *v, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:162:59: error: 'nullptr' was not declared in this scope 162 | void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:175:59: error: 'nullptr' was not declared in this scope 175 | void getCmyk(int *c, int *m, int *y, int *k, int *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:178:70: error: 'nullptr' was not declared in this scope 178 | void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:189:50: error: 'nullptr' was not declared in this scope 189 | void getHsl(int *h, int *s, int *l, int *a = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qcolor.h:192:59: error: 'nullptr' was not declared in this scope 192 | void getHslF(qreal *h, qreal *s, qreal *l, qreal *a = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qcolor.h:281:1: error: 'is_integral' is not a member of 'std' 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: expected primary-expression before '>' token 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcolor.h:281:1: error: '::value' has not been declared 281 | Q_DECLARE_TYPEINFO(QColor, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_MOVABLE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QColor:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qcolor.h:309:15: error: no declaration matches 'QColor QColor::lighter(int) const' 309 | inline QColor QColor::lighter(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:309:15: note: no functions named 'QColor QColor::lighter(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: error: no declaration matches 'QColor QColor::darker(int) const' 312 | inline QColor QColor::darker(int f) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtGui/qcolor.h:312:15: note: no functions named 'QColor QColor::darker(int) const' /usr/include/qt5/QtGui/qcolor.h:64:20: note: 'class QColor' defined here 64 | class Q_GUI_EXPORT QColor | ^~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:96:3: error: 'nullptr' was not declared in this scope 96 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:110:5: error: 'nullptr' was not declared in this scope 110 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:110:5: error: 'nullptr' was not declared in this scope 110 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp: In static member function 'static void Rosegarden::AllocateChannels::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:71:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 71 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:71:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 71 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:71:20: error: cannot convert 'Rosegarden::AllocateChannels*' to 'int*' in initialization 71 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AllocateChannels* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:74:21: error: request for member 'sigVacateChannel' in '* _t', which is of non-class type 'int' 74 | case 0: _t->sigVacateChannel((*reinterpret_cast< ChannelId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:80:19: error: expected nested-name-specifier before '_t' 80 | using _t = void (AllocateChannels::*)(ChannelId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:35: error: '_t' does not name a type; did you mean 'Qt'? 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:38: error: expected '>' before '*' token 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:38: error: expected '(' before '*' token 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:39: error: expected primary-expression before '>' token 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:63: error: '_t' does not name a type; did you mean 'Qt'? 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:81:104: error: expected ')' before '{' token 81 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AllocateChannels::sigVacateChannel)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:85:9: error: expected primary-expression before '}' token 85 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:78:14: warning: unused variable 'result' [-Wunused-variable] 78 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:95:5: error: 'nullptr' was not declared in this scope 95 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp: In member function 'virtual void* Rosegarden::AllocateChannels::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:106:26: error: 'nullptr' was not declared in this scope 106 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp: In member function 'void Rosegarden::AllocateChannels::sigVacateChannel(Rosegarden::ChannelId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:132:20: error: 'nullptr' was not declared in this scope 132 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:3: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In static member function 'static void Rosegarden::Instrument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:79:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 79 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:79:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 79 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:79:20: error: cannot convert 'Rosegarden::Instrument*' to 'int*' in initialization 79 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::Instrument* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:82:21: error: request for member 'wholeDeviceDestroyed' in '* _t', which is of non-class type 'int' 82 | case 0: _t->wholeDeviceDestroyed(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:83:21: error: request for member 'changedChannelSetup' in '* _t', which is of non-class type 'int' 83 | case 1: _t->changedChannelSetup(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:84:21: error: request for member 'channelBecomesFixed' in '* _t', which is of non-class type 'int' 84 | case 2: _t->channelBecomesFixed(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:85:21: error: request for member 'channelBecomesUnfixed' in '* _t', which is of non-class type 'int' 85 | case 3: _t->channelBecomesUnfixed(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:91:19: error: expected nested-name-specifier before '_t' 91 | using _t = void (Instrument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:35: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:38: error: expected '>' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:38: error: expected '(' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:39: error: expected primary-expression before '>' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:63: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:92:102: error: expected ')' before '{' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::wholeDeviceDestroyed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:96:9: error: expected primary-expression before '}' token 96 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:98:19: error: expected nested-name-specifier before '_t' 98 | using _t = void (Instrument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:35: error: '_t' does not name a type; did you mean 'Qt'? 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:38: error: expected '>' before '*' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:38: error: expected '(' before '*' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:39: error: expected primary-expression before '>' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:63: error: '_t' does not name a type; did you mean 'Qt'? 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:99:101: error: expected ')' before '{' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::changedChannelSetup)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:103:9: error: expected primary-expression before '}' token 103 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:105:19: error: expected nested-name-specifier before '_t' 105 | using _t = void (Instrument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:35: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:38: error: expected '>' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:38: error: expected '(' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:39: error: expected primary-expression before '>' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:63: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:106:101: error: expected ')' before '{' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesFixed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:110:9: error: expected primary-expression before '}' token 110 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:112:19: error: expected nested-name-specifier before '_t' 112 | using _t = void (Instrument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:35: error: '_t' does not name a type; did you mean 'Qt'? 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:38: error: expected '>' before '*' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:38: error: expected '(' before '*' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:39: error: expected primary-expression before '>' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:63: error: '_t' does not name a type; did you mean 'Qt'? 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:113:103: error: expected ')' before '{' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Instrument::channelBecomesUnfixed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:117:9: error: expected primary-expression before '}' token 117 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:89:14: warning: unused variable 'result' [-Wunused-variable] 89 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:127:5: error: 'nullptr' was not declared in this scope 127 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:128:5: error: 'nullptr' was not declared in this scope 128 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In member function 'virtual void* Rosegarden::Instrument::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:139:26: error: 'nullptr' was not declared in this scope 139 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In member function 'void Rosegarden::Instrument::wholeDeviceDestroyed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:169:55: error: 'nullptr' was not declared in this scope 169 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In member function 'void Rosegarden::Instrument::changedChannelSetup()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:175:55: error: 'nullptr' was not declared in this scope 175 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In member function 'void Rosegarden::Instrument::channelBecomesFixed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:181:55: error: 'nullptr' was not declared in this scope 181 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp: In member function 'void Rosegarden::Instrument::channelBecomesUnfixed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Instrument.cpp:187:55: error: 'nullptr' was not declared in this scope 187 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/InstrumentStaticSignals.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/InstrumentStaticSignals.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/InstrumentStaticSignals.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:4: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp: In static member function 'static void Rosegarden::InstrumentStaticSignals::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:76:20: error: cannot convert 'Rosegarden::InstrumentStaticSignals*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::InstrumentStaticSignals* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:79:21: error: request for member 'changed' in '* _t', which is of non-class type 'int' 79 | case 0: _t->changed((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:80:21: error: request for member 'controlChange' in '* _t', which is of non-class type 'int' 80 | case 1: _t->controlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:86:19: error: expected nested-name-specifier before '_t' 86 | using _t = void (InstrumentStaticSignals::*)(Instrument * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:35: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:38: error: expected '>' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:38: error: expected '(' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:39: error: expected primary-expression before '>' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:63: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:87:102: error: expected ')' before '{' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::changed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:91:9: error: expected primary-expression before '}' token 91 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:93:19: error: expected nested-name-specifier before '_t' 93 | using _t = void (InstrumentStaticSignals::*)(Instrument * , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:35: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:38: error: expected '>' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:38: error: expected '(' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:39: error: expected primary-expression before '>' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:63: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:94:108: error: expected ')' before '{' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentStaticSignals::controlChange)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:98:9: error: expected primary-expression before '}' token 98 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:84:14: warning: unused variable 'result' [-Wunused-variable] 84 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:107:5: error: 'nullptr' was not declared in this scope 107 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:108:5: error: 'nullptr' was not declared in this scope 108 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp: In member function 'virtual void* Rosegarden::InstrumentStaticSignals::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:119:26: error: 'nullptr' was not declared in this scope 119 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp: In member function 'void Rosegarden::InstrumentStaticSignals::changed(Rosegarden::Instrument*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:145:20: error: 'nullptr' was not declared in this scope 145 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp: In member function 'void Rosegarden::InstrumentStaticSignals::controlChange(Rosegarden::Instrument*, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_InstrumentStaticSignals.cpp:152:20: error: 'nullptr' was not declared in this scope 152 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:5: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp: In static member function 'static void Rosegarden::Segment::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:72:20: error: cannot convert 'Rosegarden::Segment*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::Segment* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:75:21: error: request for member 'contentsChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->contentsChanged((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:81:19: error: expected nested-name-specifier before '_t' 81 | using _t = void (Segment::*)(timeT , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:35: error: '_t' does not name a type; did you mean 'Qt'? 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:38: error: expected '>' before '*' token 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:38: error: expected '(' before '*' token 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:39: error: expected primary-expression before '>' token 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:63: error: '_t' does not name a type; did you mean 'Qt'? 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:82:94: error: expected ')' before '{' token 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Segment::contentsChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:86:9: error: expected primary-expression before '}' token 86 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:79:14: warning: unused variable 'result' [-Wunused-variable] 79 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:95:5: error: 'nullptr' was not declared in this scope 95 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:96:5: error: 'nullptr' was not declared in this scope 96 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp: In member function 'virtual void* Rosegarden::Segment::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:107:26: error: 'nullptr' was not declared in this scope 107 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp: In member function 'void Rosegarden::Segment::contentsChanged(Rosegarden::timeT, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_Segment.cpp:135:20: error: 'nullptr' was not declared in this scope 135 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/SegmentLinker.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/SegmentLinker.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/SegmentLinker.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:6: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp: In static member function 'static void Rosegarden::SegmentLinker::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:72:20: error: cannot convert 'Rosegarden::SegmentLinker*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SegmentLinker* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:75:21: error: request for member 'slotUpdateLinkedSegments' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotUpdateLinkedSegments((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:86:5: error: 'nullptr' was not declared in this scope 86 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp: In member function 'virtual void* Rosegarden::SegmentLinker::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_SegmentLinker.cpp:98:26: error: 'nullptr' was not declared in this scope 98 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/Command.h:89:5: error: 'nullptr' was not declared in this scope 89 | Q_DECLARE_TR_FUNCTIONS(BundleCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpointer.h:55:5: error: 'is_pointer' is not a member of 'std'; did you mean 'isprint'? 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: expected primary-expression before '>' token 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:55:5: error: '::value' has not been declared 55 | Q_STATIC_ASSERT_X(!std::is_pointer::value, "QPointer's template type must not be a pointer type"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpointer.h:100:20: error: 'is_integral' is not a member of 'std' 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: expected primary-expression before '>' token 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:100:20: error: '::value' has not been declared 100 | template Q_DECLARE_TYPEINFO_BODY(QPointer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp: In member function 'virtual void* Rosegarden::EventQuantizeCommand::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandHistory.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandHistory.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandHistory.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:8: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In static member function 'static void Rosegarden::CommandHistory::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:115:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 115 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:115:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 115 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:115:20: error: cannot convert 'Rosegarden::CommandHistory*' to 'int*' in initialization 115 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CommandHistory* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:118:21: error: request for member 'updateLinkedSegments' in '* _t', which is of non-class type 'int' 118 | case 0: _t->updateLinkedSegments((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:119:21: error: request for member 'commandExecuted' in '* _t', which is of non-class type 'int' 119 | case 1: _t->commandExecuted(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:120:21: error: request for member 'commandExecuted' in '* _t', which is of non-class type 'int' 120 | case 2: _t->commandExecuted((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:121:21: error: request for member 'commandUnexecuted' in '* _t', which is of non-class type 'int' 121 | case 3: _t->commandUnexecuted((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:122:21: error: request for member 'documentRestored' in '* _t', which is of non-class type 'int' 122 | case 4: _t->documentRestored(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:123:21: error: request for member 'documentSaved' in '* _t', which is of non-class type 'int' 123 | case 5: _t->documentSaved(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:124:21: error: request for member 'addExecutedCommand' in '* _t', which is of non-class type 'int' 124 | case 6: _t->addExecutedCommand((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:125:21: error: request for member 'addCommandAndExecute' in '* _t', which is of non-class type 'int' 125 | case 7: _t->addCommandAndExecute((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:126:21: error: request for member 'undo' in '* _t', which is of non-class type 'int' 126 | case 8: _t->undo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:127:21: error: request for member 'redo' in '* _t', which is of non-class type 'int' 127 | case 9: _t->redo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:128:22: error: request for member 'undoActivated' in '* _t', which is of non-class type 'int' 128 | case 10: _t->undoActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:129:22: error: request for member 'redoActivated' in '* _t', which is of non-class type 'int' 129 | case 11: _t->redoActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:130:22: error: request for member 'bundleTimerTimeout' in '* _t', which is of non-class type 'int' 130 | case 12: _t->bundleTimerTimeout(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:136:19: error: expected nested-name-specifier before '_t' 136 | using _t = void (CommandHistory::*)(Command * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:35: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:38: error: expected '>' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:38: error: expected '(' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:39: error: expected primary-expression before '>' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:63: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:137:106: error: expected ')' before '{' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::updateLinkedSegments)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:141:9: error: expected primary-expression before '}' token 141 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:143:19: error: expected nested-name-specifier before '_t' 143 | using _t = void (CommandHistory::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:35: error: '_t' does not name a type; did you mean 'Qt'? 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:38: error: expected '>' before '*' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:38: error: expected '(' before '*' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:39: error: expected primary-expression before '>' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:63: error: '_t' does not name a type; did you mean 'Qt'? 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:144:101: error: expected ')' before '{' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:148:9: error: expected primary-expression before '}' token 148 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:150:19: error: expected nested-name-specifier before '_t' 150 | using _t = void (CommandHistory::*)(Command * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:35: error: '_t' does not name a type; did you mean 'Qt'? 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:38: error: expected '>' before '*' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:38: error: expected '(' before '*' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:39: error: expected primary-expression before '>' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:63: error: '_t' does not name a type; did you mean 'Qt'? 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:151:101: error: expected ')' before '{' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandExecuted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:155:9: error: expected primary-expression before '}' token 155 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:157:19: error: expected nested-name-specifier before '_t' 157 | using _t = void (CommandHistory::*)(Command * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:35: error: '_t' does not name a type; did you mean 'Qt'? 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:38: error: expected '>' before '*' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:38: error: expected '(' before '*' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:39: error: expected primary-expression before '>' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:63: error: '_t' does not name a type; did you mean 'Qt'? 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:158:103: error: expected ')' before '{' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::commandUnexecuted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:162:9: error: expected primary-expression before '}' token 162 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:164:19: error: expected nested-name-specifier before '_t' 164 | using _t = void (CommandHistory::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:35: error: '_t' does not name a type; did you mean 'Qt'? 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:38: error: expected '>' before '*' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:38: error: expected '(' before '*' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:39: error: expected primary-expression before '>' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:63: error: '_t' does not name a type; did you mean 'Qt'? 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:165:102: error: expected ')' before '{' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CommandHistory::documentRestored)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:169:9: error: expected primary-expression before '}' token 169 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:134:14: warning: unused variable 'result' [-Wunused-variable] 134 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:178:5: error: 'nullptr' was not declared in this scope 178 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:179:5: error: 'nullptr' was not declared in this scope 179 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'virtual void* Rosegarden::CommandHistory::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:190:26: error: 'nullptr' was not declared in this scope 190 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'void Rosegarden::CommandHistory::updateLinkedSegments(Rosegarden::Command*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:216:20: error: 'nullptr' was not declared in this scope 216 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'void Rosegarden::CommandHistory::commandExecuted()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:223:55: error: 'nullptr' was not declared in this scope 223 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'void Rosegarden::CommandHistory::commandExecuted(Rosegarden::Command*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:229:20: error: 'nullptr' was not declared in this scope 229 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'void Rosegarden::CommandHistory::commandUnexecuted(Rosegarden::Command*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:236:20: error: 'nullptr' was not declared in this scope 236 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp: In member function 'void Rosegarden::CommandHistory::documentRestored()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandHistory.cpp:243:55: error: 'nullptr' was not declared in this scope 243 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qkeysequence.h: At global scope: /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: 'is_integral' is not a member of 'std' 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: expected primary-expression before '>' token 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qkeysequence.h:226:1: error: '::value' has not been declared 226 | Q_DECLARE_SHARED(QKeySequence) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:113:5: error: 'nullptr' was not declared in this scope 113 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/CommandRegistry.h:113:5: error: 'nullptr' was not declared in this scope 113 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:9: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp: In static member function 'static void Rosegarden::CommandRegistry::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:69:20: error: cannot convert 'Rosegarden::CommandRegistry*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CommandRegistry* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:72:21: error: request for member 'slotInvokeCommand' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotInvokeCommand(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp: In member function 'virtual void* Rosegarden::CommandRegistry::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_CommandRegistry.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Studio.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Studio) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock()': /usr/include/qt5/QtCore/qmutex.h:101:40: error: 'nullptr' was not declared in this scope 101 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked()); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock()': /usr/include/qt5/QtCore/qmutex.h:104:55: error: 'nullptr' was not declared in this scope 104 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryLock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:107:40: error: 'nullptr' was not declared in this scope 107 | return d_ptr.testAndSetAcquire(nullptr, dummyLocked(), current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QBasicMutex::fastTryUnlock(QMutexData*&)': /usr/include/qt5/QtCore/qmutex.h:110:55: error: 'nullptr' was not declared in this scope 110 | return d_ptr.testAndSetRelease(dummyLocked(), nullptr, current); | ^~~~~~~ /usr/include/qt5/QtCore/qmutex.h: At global scope: /usr/include/qt5/QtCore/qmutex.h:145:28: error: 'std::chrono' has not been declared 145 | bool try_lock_for(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:145:44: error: expected ',' or '...' before '<' token 145 | bool try_lock_for(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h:152:30: error: 'std::chrono' has not been declared 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:152:48: error: expected ',' or '...' before '<' token 152 | bool try_lock_until(std::chrono::time_point timePoint) | ^ /usr/include/qt5/QtCore/qmutex.h:171:43: error: 'std::chrono' has not been declared 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:59: error: expected ',' or '...' before '<' token 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_for(int)': /usr/include/qt5/QtCore/qmutex.h:147:54: error: no matching function for call to 'QMutex::convertToMilliseconds(int&)' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h:171:16: note: candidate: 'template static int QMutex::convertToMilliseconds(int)' 171 | static int convertToMilliseconds(std::chrono::duration duration) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmutex.h:171:16: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qmutex.h:147:54: note: couldn't deduce template parameter 'Rep' 147 | return tryLock(convertToMilliseconds(duration)); | ^ /usr/include/qt5/QtCore/qmutex.h: In member function 'bool QMutex::try_lock_until(int)': /usr/include/qt5/QtCore/qmutex.h:157:29: error: 'timePoint' was not declared in this scope; did you mean 'time_point'? 157 | return try_lock_for(timePoint - Clock::now()); | ^~~~~~~~~ | time_point /usr/include/qt5/QtCore/qmutex.h: In static member function 'static int QMutex::convertToMilliseconds(int)': /usr/include/qt5/QtCore/qmutex.h:178:34: error: request for member 'zero' in 'duration', which is of non-class type 'int' 178 | if (duration <= duration.zero()) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:183:14: error: 'std::chrono' has not been declared 183 | std::chrono::milliseconds wait = std::chrono::duration_cast(duration); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:184:13: error: 'wait' was not declared in this scope 184 | if (wait < duration) | ^~~~ /usr/include/qt5/QtCore/qmutex.h:185:26: error: 'std::chrono' has not been declared 185 | wait += std::chrono::milliseconds(1); | ^~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmutex.h:186:9: error: 'wait' was not declared in this scope 186 | Q_ASSERT(wait >= duration); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QMutex:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qmutex.h:187:20: error: 'ms' does not name a type; did you mean 'ws'? 187 | const auto ms = wait.count(); | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:188:20: error: 'maxInt' does not name a type 188 | const auto maxInt = (std::numeric_limits::max)(); | ^~~~~~ /usr/include/qt5/QtCore/qmutex.h:190:16: error: 'ms' was not declared in this scope; did you mean 'ws'? 190 | return ms < maxInt ? int(ms) : maxInt; | ^~ | ws /usr/include/qt5/QtCore/qmutex.h:190:21: error: 'maxInt' was not declared in this scope 190 | return ms < maxInt ? int(ms) : maxInt; | ^~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:127:37: error: expected ',' or '...' before '&&' token 127 | static QThread *create(Function &&f); | ^~ /usr/include/qt5/QtCore/qthread.h:162:21: error: expected ';' at end of member declaration 162 | static QThread *createThreadImpl(std::future &&future); | ^~~~~~~~~~~~~~~~ | ; /usr/include/qt5/QtCore/qthread.h:162:49: error: expected ')' before '<' token 162 | static QThread *createThreadImpl(std::future &&future); | ~ ^ | ) In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qthread.h:71:5: error: 'nullptr' was not declared in this scope 71 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qthread.h:78:40: error: 'nullptr' was not declared in this scope 78 | explicit QThread(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:156:51: error: 'nullptr' was not declared in this scope 156 | QThread(QThreadPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qthread.h: In member function 'QThreadPrivate* QThread::d_func()': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: In member function 'const QThreadPrivate* QThread::d_func() const': /usr/include/qt5/QtCore/qthread.h:159:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthread.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QThread) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QThread:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksThread.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:207:32: error: expected ',' or '...' before '&&' token 207 | explicit Callable(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h:228:19: error: 'decay' in namespace 'std' does not name a template type; did you mean 'dec'? 228 | typename std::decay::type m_function; | ^~~~~ | dec /usr/include/qt5/QtCore/qthread.h:228:24: error: expected unqualified-id before '<' token 228 | typename std::decay::type m_function; | ^ /usr/include/qt5/QtCore/qthread.h: In constructor 'QtPrivate::Callable::Callable(Function)': /usr/include/qt5/QtCore/qthread.h:208:11: error: class 'QtPrivate::Callable' does not have any field named 'm_function' 208 | : m_function(std::forward(f)) | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: error: 'forward' is not a member of 'std' 208 | : m_function(std::forward(f)) | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:208:27: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:208:43: error: expected primary-expression before '>' token 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h:208:45: error: 'f' was not declared in this scope 208 | : m_function(std::forward(f)) | ^ /usr/include/qt5/QtCore/qthread.h: In member function 'void QtPrivate::Callable::operator()()': /usr/include/qt5/QtCore/qthread.h:225:15: error: there are no arguments to 'm_function' that depend on a template parameter, so a declaration of 'm_function' must be available [-fpermissive] 225 | (void)m_function(); | ^~~~~~~~~~ /usr/include/qt5/QtCore/qthread.h: At global scope: /usr/include/qt5/QtCore/qthread.h:233:35: error: expected ',' or '...' before '&&' token 233 | QThread *QThread::create(Function &&f) | ^~ /usr/include/qt5/QtCore/qthread.h: In static member function 'static QThread* QThread::create(Function)': /usr/include/qt5/QtCore/qthread.h:235:34: error: 'async' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~ /usr/include/qt5/QtCore/qthread.h:235:34: note: 'std::async' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:45: error: 'std::launch' has not been declared 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:116: error: 'f' was not declared in this scope 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:92: error: expected primary-expression before '(' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:98: error: 'forward' is not a member of 'std' 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^~~~~~~ /usr/include/qt5/QtCore/qthread.h:235:98: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qthread.h:235:114: error: expected primary-expression before '>' token 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ /usr/include/qt5/QtCore/qthread.h:235:120: error: 'QThread::createThreadImpl' cannot be used as a function 235 | return createThreadImpl(std::async(std::launch::deferred, QtPrivate::Callable(std::forward(f)))); | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmargins.h: At global scope: /usr/include/qt5/QtCore/qmargins.h:88:1: error: 'is_integral' is not a member of 'std' 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: expected primary-expression before '>' token 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:88:1: error: '::value' has not been declared 88 | Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: 'is_integral' is not a member of 'std' 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: expected primary-expression before '>' token 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:320:1: error: '::value' has not been declared 320 | Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:43, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qmargins.h: In member function 'bool QMarginsF::isNull() const': /usr/include/qt5/QtCore/qmargins.h:345:10: error: 'qFuzzyIsNull' was not declared in this scope 345 | { return qFuzzyIsNull(m_left) && qFuzzyIsNull(m_top) && qFuzzyIsNull(m_right) && qFuzzyIsNull(m_bottom); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qmargins.h: In function 'bool operator==(const QMarginsF&, const QMarginsF&)': /usr/include/qt5/QtCore/qmargins.h:374:12: error: 'qFuzzyCompare' was not declared in this scope 374 | return qFuzzyCompare(lhs.left(), rhs.left()) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:67:5: error: expected unqualified-id before '[' token 67 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:71:5: error: expected unqualified-id before '[' token 71 | Q_REQUIRED_RESULT QSize scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:72:5: error: expected unqualified-id before '[' token 72 | Q_REQUIRED_RESULT QSize scaled(const QSize &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:74:5: error: expected unqualified-id before '[' token 74 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize expandedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:75:5: error: expected unqualified-id before '[' token 75 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSize boundedTo(const QSize &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h:101:1: error: 'is_integral' is not a member of 'std' 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: expected primary-expression before '>' token 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:101:1: error: '::value' has not been declared 101 | Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qsize.h:142:31: error: no declaration matches 'QSize QSize::transposed() const' 142 | Q_DECL_CONSTEXPR inline QSize QSize::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:142:31: note: no functions named 'QSize QSize::transposed() const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSize::scale(const QSize&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:149:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 149 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:151:14: error: no declaration matches 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' 151 | inline QSize QSize::scaled(int w, int h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:151:14: note: no functions named 'QSize QSize::scaled(int, int, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h: In member function 'QSize& QSize::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:189:5: error: 'qFuzzyIsNull' was not declared in this scope 189 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSize operator/(const QSize&, qreal)': /usr/include/qt5/QtCore/qsize.h:196:5: error: 'qFuzzyIsNull' was not declared in this scope 196 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:200:31: error: no declaration matches 'QSize QSize::expandedTo(const QSize&) const' 200 | Q_DECL_CONSTEXPR inline QSize QSize::expandedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:200:31: note: no functions named 'QSize QSize::expandedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: error: no declaration matches 'QSize QSize::boundedTo(const QSize&) const' 205 | Q_DECL_CONSTEXPR inline QSize QSize::boundedTo(const QSize & otherSize) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qsize.h:205:31: note: no functions named 'QSize QSize::boundedTo(const QSize&) const' /usr/include/qt5/QtCore/qsize.h:52:21: note: 'class QSize' defined here 52 | class Q_CORE_EXPORT QSize | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h:231:5: error: expected unqualified-id before '[' token 231 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:235:5: error: expected unqualified-id before '[' token 235 | Q_REQUIRED_RESULT QSizeF scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:236:5: error: expected unqualified-id before '[' token 236 | Q_REQUIRED_RESULT QSizeF scaled(const QSizeF &s, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:238:5: error: expected unqualified-id before '[' token 238 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF expandedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:239:5: error: expected unqualified-id before '[' token 239 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QSizeF boundedTo(const QSizeF &) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h:268:1: error: 'is_integral' is not a member of 'std' 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: expected primary-expression before '>' token 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h:268:1: error: '::value' has not been declared 268 | Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qsize.h: In member function 'bool QSizeF::isNull() const': /usr/include/qt5/QtCore/qsize.h:292:10: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 292 | { return qIsNull(wd) && qIsNull(ht); } | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:312:32: error: no declaration matches 'QSizeF QSizeF::transposed() const' 312 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:312:32: note: no functions named 'QSizeF QSizeF::transposed() const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In member function 'void QSizeF::scale(const QSizeF&, Qt::AspectRatioMode)': /usr/include/qt5/QtCore/qsize.h:319:11: error: 'scaled' was not declared in this scope; did you mean 'scale'? 319 | { *this = scaled(s, mode); } | ^~~~~~ | scale /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:321:15: error: no declaration matches 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' 321 | inline QSizeF QSizeF::scaled(qreal w, qreal h, Qt::AspectRatioMode mode) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:321:15: note: no functions named 'QSizeF QSizeF::scaled(qreal, qreal, Qt::AspectRatioMode) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator==(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:340:10: error: 'qFuzzyCompare' was not declared in this scope 340 | { return qFuzzyCompare(s1.wd, s2.wd) && qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'bool operator!=(const QSizeF&, const QSizeF&)': /usr/include/qt5/QtCore/qsize.h:343:11: error: 'qFuzzyCompare' was not declared in this scope 343 | { return !qFuzzyCompare(s1.wd, s2.wd) || !qFuzzyCompare(s1.ht, s2.ht); } | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsize.h: In member function 'QSizeF& QSizeF::operator/=(qreal)': /usr/include/qt5/QtCore/qsize.h:359:5: error: 'qFuzzyIsNull' was not declared in this scope 359 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h: In function 'const QSizeF operator/(const QSizeF&, qreal)': /usr/include/qt5/QtCore/qsize.h:366:5: error: 'qFuzzyIsNull' was not declared in this scope 366 | Q_ASSERT(!qFuzzyIsNull(c)); | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qsize.h: At global scope: /usr/include/qt5/QtCore/qsize.h:370:32: error: no declaration matches 'QSizeF QSizeF::expandedTo(const QSizeF&) const' 370 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::expandedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:370:32: note: no functions named 'QSizeF QSizeF::expandedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: error: no declaration matches 'QSizeF QSizeF::boundedTo(const QSizeF&) const' 375 | Q_DECL_CONSTEXPR inline QSizeF QSizeF::boundedTo(const QSizeF & otherSize) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qsize.h:375:32: note: no functions named 'QSizeF QSizeF::boundedTo(const QSizeF&) const' /usr/include/qt5/QtCore/qsize.h:215:21: note: 'class QSizeF' defined here 215 | class Q_CORE_EXPORT QSizeF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpoint.h:106:1: error: 'is_integral' is not a member of 'std' 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: expected primary-expression before '>' token 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:106:1: error: '::value' has not been declared 106 | Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: 'is_integral' is not a member of 'std' 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: expected primary-expression before '>' token 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:271:1: error: '::value' has not been declared 271 | Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qpoint.h: In member function 'bool QPointF::isNull() const': /usr/include/qt5/QtCore/qpoint.h:298:12: error: 'qIsNull' was not declared in this scope; did you mean 'isNull'? 298 | return qIsNull(xp) && qIsNull(yp); | ^~~~~~~ | isNull /usr/include/qt5/QtCore/qpoint.h: In function 'bool operator==(const QPointF&, const QPointF&)': /usr/include/qt5/QtCore/qpoint.h:354:34: error: 'qFuzzyIsNull' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:354:64: error: 'qFuzzyCompare' was not declared in this scope 354 | return ((!p1.xp || !p2.xp) ? qFuzzyIsNull(p1.xp - p2.xp) : qFuzzyCompare(p1.xp, p2.xp)) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:73:5: error: expected unqualified-id before '[' token 73 | Q_REQUIRED_RESULT QRect normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(int dx, int dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect translated(const QPoint &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect adjusted(int x1, int y1, int x2, int y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:139:5: error: expected unqualified-id before '[' token 139 | Q_REQUIRED_RESULT inline QRect united(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:140:5: error: expected unqualified-id before '[' token 140 | Q_REQUIRED_RESULT inline QRect intersected(const QRect &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qrect.h:166:1: error: 'is_integral' is not a member of 'std' 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: expected primary-expression before '>' token 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:166:1: error: '::value' has not been declared 166 | Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qrect.h:290:31: error: no declaration matches 'QRect QRect::translated(int, int) const' 290 | Q_DECL_CONSTEXPR inline QRect QRect::translated(int dx, int dy) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:290:31: note: no functions named 'QRect QRect::translated(int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: error: no declaration matches 'QRect QRect::translated(const QPoint&) const' 293 | Q_DECL_CONSTEXPR inline QRect QRect::translated(const QPoint &p) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:293:31: note: no functions named 'QRect QRect::translated(const QPoint&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: error: no declaration matches 'QRect QRect::transposed() const' 296 | Q_DECL_CONSTEXPR inline QRect QRect::transposed() const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:296:31: note: no functions named 'QRect QRect::transposed() const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: error: no declaration matches 'QRect QRect::adjusted(int, int, int, int) const' 399 | Q_DECL_CONSTEXPR inline QRect QRect::adjusted(int xp1, int yp1, int xp2, int yp2) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:399:31: note: no functions named 'QRect QRect::adjusted(int, int, int, int) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: error: no declaration matches 'QRect QRect::intersected(const QRect&) const' 444 | inline QRect QRect::intersected(const QRect &other) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:444:14: note: no functions named 'QRect QRect::intersected(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: error: no declaration matches 'QRect QRect::united(const QRect&) const' 449 | inline QRect QRect::united(const QRect &r) const Q_DECL_NOTHROW | ^~~~~ /usr/include/qt5/QtCore/qrect.h:449:14: note: no functions named 'QRect QRect::united(const QRect&) const' /usr/include/qt5/QtCore/qrect.h:57:21: note: 'class QRect' defined here 57 | class Q_CORE_EXPORT QRect | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qrect.h:523:5: error: expected unqualified-id before '[' token 523 | Q_REQUIRED_RESULT QRectF normalized() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:563:5: error: expected unqualified-id before '[' token 563 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(qreal dx, qreal dy) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:564:5: error: expected unqualified-id before '[' token 564 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF translated(const QPointF &p) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:566:5: error: expected unqualified-id before '[' token 566 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF transposed() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:578:5: error: expected unqualified-id before '[' token 578 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRectF adjusted(qreal x1, qreal y1, qreal x2, qreal y2) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:595:5: error: expected unqualified-id before '[' token 595 | Q_REQUIRED_RESULT inline QRectF united(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:596:5: error: expected unqualified-id before '[' token 596 | Q_REQUIRED_RESULT inline QRectF intersected(const QRectF &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:612:5: error: expected unqualified-id before '[' token 612 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QRect toRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:613:5: error: expected unqualified-id before '[' token 613 | Q_REQUIRED_RESULT QRect toAlignedRect() const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qrect.h:626:1: error: 'is_integral' is not a member of 'std' 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: expected primary-expression before '>' token 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h:626:1: error: '::value' has not been declared 626 | Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qrect.h:773:32: error: no declaration matches 'QRectF QRectF::translated(qreal, qreal) const' 773 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(qreal dx, qreal dy) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:773:32: note: no functions named 'QRectF QRectF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: error: no declaration matches 'QRectF QRectF::translated(const QPointF&) const' 776 | Q_DECL_CONSTEXPR inline QRectF QRectF::translated(const QPointF &p) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:776:32: note: no functions named 'QRectF QRectF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: error: no declaration matches 'QRectF QRectF::transposed() const' 779 | Q_DECL_CONSTEXPR inline QRectF QRectF::transposed() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:779:32: note: no functions named 'QRectF QRectF::transposed() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: error: no declaration matches 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' 817 | Q_DECL_CONSTEXPR inline QRectF QRectF::adjusted(qreal xp1, qreal yp1, qreal xp2, qreal yp2) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:817:32: note: no functions named 'QRectF QRectF::adjusted(qreal, qreal, qreal, qreal) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: error: no declaration matches 'QRectF QRectF::intersected(const QRectF&) const' 849 | inline QRectF QRectF::intersected(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:849:15: note: no functions named 'QRectF QRectF::intersected(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: error: no declaration matches 'QRectF QRectF::united(const QRectF&) const' 854 | inline QRectF QRectF::united(const QRectF &r) const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:854:15: note: no functions named 'QRectF QRectF::united(const QRectF&) const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator==(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:861:12: error: 'qFuzzyCompare' was not declared in this scope 861 | return qFuzzyCompare(r1.xp, r2.xp) && qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: In function 'bool operator!=(const QRectF&, const QRectF&)': /usr/include/qt5/QtCore/qrect.h:867:13: error: 'qFuzzyCompare' was not declared in this scope 867 | return !qFuzzyCompare(r1.xp, r2.xp) || !qFuzzyCompare(r1.yp, r2.yp) | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrect.h: At global scope: /usr/include/qt5/QtCore/qrect.h:871:31: error: no declaration matches 'QRect QRectF::toRect() const' 871 | Q_DECL_CONSTEXPR inline QRect QRectF::toRect() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qrect.h:871:31: note: no functions named 'QRect QRectF::toRect() const' /usr/include/qt5/QtCore/qrect.h:511:21: note: 'class QRectF' defined here 511 | class Q_CORE_EXPORT QRectF | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: 'is_integral' is not a member of 'std' 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: expected primary-expression before '>' token 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixelformat.h:232:1: error: '::value' has not been declared 232 | Q_DECLARE_TYPEINFO(QPixelFormat, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpolygon.h:81:5: error: expected unqualified-id before '[' token 81 | Q_REQUIRED_RESULT QPolygon translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:82:5: error: expected unqualified-id before '[' token 82 | Q_REQUIRED_RESULT inline QPolygon translated(const QPoint &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:98:5: error: expected unqualified-id before '[' token 98 | Q_REQUIRED_RESULT QPolygon united(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:99:5: error: expected unqualified-id before '[' token 99 | Q_REQUIRED_RESULT QPolygon intersected(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:100:5: error: expected unqualified-id before '[' token 100 | Q_REQUIRED_RESULT QPolygon subtracted(const QPolygon &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpolygon.h:104:1: error: 'is_integral' is not a member of 'std' 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: expected primary-expression before '>' token 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:104:1: error: '::value' has not been declared 104 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygon) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpolygon.h:136:17: error: no declaration matches 'QPolygon QPolygon::translated(const QPoint&) const' 136 | inline QPolygon QPolygon::translated(const QPoint &offset) const | ^~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:136:17: note: no functions named 'QPolygon QPolygon::translated(const QPoint&) const' /usr/include/qt5/QtGui/qpolygon.h:56:20: note: 'class QPolygon' defined here 56 | class Q_GUI_EXPORT QPolygon : public QVector | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpolygon.h:167:5: error: expected unqualified-id before '[' token 167 | Q_REQUIRED_RESULT QPolygonF translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:177:5: error: expected unqualified-id before '[' token 177 | Q_REQUIRED_RESULT QPolygonF united(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:178:5: error: expected unqualified-id before '[' token 178 | Q_REQUIRED_RESULT QPolygonF intersected(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QPolygonF subtracted(const QPolygonF &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpolygon.h:183:1: error: 'is_integral' is not a member of 'std' 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: expected primary-expression before '>' token 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:183:1: error: '::value' has not been declared 183 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPolygonF) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:44, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpolygon.h: In member function 'QPolygonF QPolygonF::translated(qreal, qreal) const': /usr/include/qt5/QtGui/qpolygon.h:203:36: error: no matching function for call to 'QPolygonF::translated(QPointF) const' 203 | { return translated(QPointF(dx, dy)); } | ^ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate: 'QPolygonF QPolygonF::translated(qreal, qreal) const' 202 | inline QPolygonF QPolygonF::translated(qreal dx, qreal dy) const | ^~~~~~~~~ /usr/include/qt5/QtGui/qpolygon.h:202:18: note: candidate expects 2 arguments, 1 provided In file included from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qdatastream.h: At global scope: /usr/include/qt5/QtCore/qdatastream.h:158:34: error: declaration of 'operator>>' as non-function 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qdatastream.h:158:26: error: expected ';' at end of member declaration 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:158:43: error: expected ')' before '&' token 158 | QDataStream &operator>>(std::nullptr_t &ptr) { ptr = nullptr; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qdatastream.h:174:43: error: declaration of 'operator<<' as non-function 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:26: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^~ | ; /usr/include/qt5/QtCore/qdatastream.h:174:61: error: invalid use of '::' 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ /usr/include/qt5/QtCore/qdatastream.h:174:61: error: expected ';' at end of member declaration 174 | QDataStream &operator<<(std::nullptr_t) { return *this; } | ^ | ; /usr/include/qt5/QtCore/qdatastream.h: In function 'QDataStream& QtPrivate::writeAssociativeContainer(QDataStream&, const Container&)': /usr/include/qt5/QtCore/qdatastream.h:315:10: error: 'it' does not name a type; did you mean 'Qt'? 315 | auto it = c.constEnd(); | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:316:10: error: 'begin' does not name a type; did you mean 'bin'? 316 | auto begin = c.constBegin(); | ^~~~~ | bin /usr/include/qt5/QtCore/qdatastream.h:317:12: error: 'it' was not declared in this scope; did you mean 'Qt'? 317 | while (it != begin) { | ^~ | Qt /usr/include/qt5/QtCore/qdatastream.h:317:18: error: 'begin' was not declared in this scope; did you mean 'bin'? 317 | while (it != begin) { | ^~~~~ | bin In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qregion.h: At global scope: /usr/include/qt5/QtGui/qregion.h:72:21: error: expected ',' or '...' before '&&' token 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtGui/qregion.h:72:28: error: invalid constructor; you probably meant 'QRegion (const QRegion&)' 72 | QRegion(QRegion &&other) Q_DECL_NOTHROW | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qregion.h:102:5: error: expected unqualified-id before '[' token 102 | Q_REQUIRED_RESULT QRegion translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:103:5: error: expected unqualified-id before '[' token 103 | Q_REQUIRED_RESULT inline QRegion translated(const QPoint &p) const { return translated(p.x(), p.y()); } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:105:5: error: expected unqualified-id before '[' token 105 | Q_REQUIRED_RESULT QRegion united(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:106:5: error: expected unqualified-id before '[' token 106 | Q_REQUIRED_RESULT QRegion united(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:107:5: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT QRegion intersected(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:108:5: error: expected unqualified-id before '[' token 108 | Q_REQUIRED_RESULT QRegion intersected(const QRect &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:109:5: error: expected unqualified-id before '[' token 109 | Q_REQUIRED_RESULT QRegion subtracted(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:110:5: error: expected unqualified-id before '[' token 110 | Q_REQUIRED_RESULT QRegion xored(const QRegion &r) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qregion.h:184:1: error: 'is_integral' is not a member of 'std' 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: expected primary-expression before '>' token 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qregion.h:184:1: error: '::value' has not been declared 184 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QRegion) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qline.h:76:5: error: expected unqualified-id before '[' token 76 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(const QPoint &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:77:5: error: expected unqualified-id before '[' token 77 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLine translated(int dx, int dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:79:5: error: expected unqualified-id before '[' token 79 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPoint center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qline.h:92:1: error: 'is_integral' is not a member of 'std' 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: expected primary-expression before '>' token 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:92:1: error: '::value' has not been declared 92 | Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:160:31: error: no declaration matches 'QLine QLine::translated(const QPoint&) const' 160 | Q_DECL_CONSTEXPR inline QLine QLine::translated(const QPoint &p) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:160:31: note: no functions named 'QLine QLine::translated(const QPoint&) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:165:31: error: no declaration matches 'QLine QLine::translated(int, int) const' 165 | Q_DECL_CONSTEXPR inline QLine QLine::translated(int adx, int ady) const | ^~~~~ /usr/include/qt5/QtCore/qline.h:165:31: note: no functions named 'QLine QLine::translated(int, int) const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:170:32: error: no declaration matches 'QPoint QLine::center() const' 170 | Q_DECL_CONSTEXPR inline QPoint QLine::center() const | ^~~~~ /usr/include/qt5/QtCore/qline.h:170:32: note: no functions named 'QPoint QLine::center() const' In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h:52:21: note: 'class QLine' defined here 52 | class Q_CORE_EXPORT QLine | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qline.h:224:5: error: expected unqualified-id before '[' token 224 | Q_REQUIRED_RESULT static QLineF fromPolar(qreal length, qreal angle); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:248:5: error: expected unqualified-id before '[' token 248 | Q_REQUIRED_RESULT QLineF unitVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:249:5: error: expected unqualified-id before '[' token 249 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF normalVector() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:260:5: error: expected unqualified-id before '[' token 260 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(const QPointF &p) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:261:5: error: expected unqualified-id before '[' token 261 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QLineF translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:263:5: error: expected unqualified-id before '[' token 263 | Q_REQUIRED_RESULT Q_DECL_CONSTEXPR inline QPointF center() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qline.h:278:1: error: 'is_integral' is not a member of 'std' 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: expected primary-expression before '>' token 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h:278:1: error: '::value' has not been declared 278 | Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qmatrix.h:47, from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qline.h: In member function 'bool QLineF::isNull() const': /usr/include/qt5/QtCore/qline.h:320:12: error: 'qFuzzyCompare' was not declared in this scope 320 | return qFuzzyCompare(pt1.x(), pt2.x()) && qFuzzyCompare(pt1.y(), pt2.y()); | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qline.h: At global scope: /usr/include/qt5/QtCore/qline.h:343:32: error: no declaration matches 'QLineF QLineF::normalVector() const' 343 | Q_DECL_CONSTEXPR inline QLineF QLineF::normalVector() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:343:32: note: no functions named 'QLineF QLineF::normalVector() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: error: no declaration matches 'QLineF QLineF::translated(const QPointF&) const' 359 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(const QPointF &p) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:359:32: note: no functions named 'QLineF QLineF::translated(const QPointF&) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: error: no declaration matches 'QLineF QLineF::translated(qreal, qreal) const' 364 | Q_DECL_CONSTEXPR inline QLineF QLineF::translated(qreal adx, qreal ady) const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:364:32: note: no functions named 'QLineF QLineF::translated(qreal, qreal) const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: error: no declaration matches 'QPointF QLineF::center() const' 369 | Q_DECL_CONSTEXPR inline QPointF QLineF::center() const | ^~~~~~ /usr/include/qt5/QtCore/qline.h:369:33: note: no functions named 'QPointF QLineF::center() const' /usr/include/qt5/QtCore/qline.h:214:21: note: 'class QLineF' defined here 214 | class Q_CORE_EXPORT QLineF { | ^~~~~~ /usr/include/qt5/QtCore/qline.h: In member function 'void QLineF::setLength(qreal)': /usr/include/qt5/QtCore/qline.h:378:16: error: 'unitVector' was not declared in this scope; did you mean 'FastVector'? 378 | QLineF v = unitVector(); | ^~~~~~~~~~ | FastVector In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:67:32: error: expected ',' or '...' before '&&' token 67 | QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:21: error: expected ',' or '...' before '&&' token 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qmatrix.h:70:28: error: invalid constructor; you probably meant 'QMatrix (const QMatrix&)' 70 | QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:111:5: error: expected unqualified-id before '[' token 111 | Q_REQUIRED_RESULT QMatrix inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h: In member function 'QMatrix& QMatrix::operator=(QMatrix)': /usr/include/qt5/QtGui/qmatrix.h:68:62: error: 'other' was not declared in this scope 68 | { memcpy(static_cast(this), static_cast(&other), sizeof(QMatrix)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isInvertible() const': /usr/include/qt5/QtGui/qmatrix.h:108:41: error: 'qFuzzyIsNull' was not declared in this scope 108 | bool isInvertible() const { return !qFuzzyIsNull(_m11*_m22 - _m12*_m21); } | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qmatrix.h: At global scope: /usr/include/qt5/QtGui/qmatrix.h:141:1: error: 'is_integral' is not a member of 'std' 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: expected primary-expression before '>' token 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:141:1: error: '::value' has not been declared 141 | Q_DECLARE_TYPEINFO(QMatrix, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h: In member function 'bool QMatrix::isIdentity() const': /usr/include/qt5/QtGui/qmatrix.h:164:12: error: 'qFuzzyIsNull' was not declared in this scope 164 | return qFuzzyIsNull(_m11 - 1) && qFuzzyIsNull(_m22 - 1) && qFuzzyIsNull(_m12) | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h: In function 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)': /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:170:44: error: 'QMatrix::QMatrix(bool)' is private within this context 170 | return qFuzzyCompare(m1.m11(), m2.m11()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:171:44: error: 'QMatrix::QMatrix(bool)' is private within this context 171 | && qFuzzyCompare(m1.m12(), m2.m12()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:172:44: error: 'QMatrix::QMatrix(bool)' is private within this context 172 | && qFuzzyCompare(m1.m21(), m2.m21()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:173:44: error: 'QMatrix::QMatrix(bool)' is private within this context 173 | && qFuzzyCompare(m1.m22(), m2.m22()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:174:42: error: 'QMatrix::QMatrix(bool)' is private within this context 174 | && qFuzzyCompare(m1.dx(), m2.dx()) | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:175:42: error: 'QMatrix::QMatrix(bool)' is private within this context 175 | && qFuzzyCompare(m1.dy(), m2.dy()); | ^ /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:157:5: error: expected unqualified-id before '[' token 157 | Q_REQUIRED_RESULT QPainterPath translated(qreal dx, qreal dy) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:158:5: error: expected unqualified-id before '[' token 158 | Q_REQUIRED_RESULT inline QPainterPath translated(const QPointF &offset) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:168:5: error: expected unqualified-id before '[' token 168 | Q_REQUIRED_RESULT QPainterPath toReversed() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:188:5: error: expected unqualified-id before '[' token 188 | Q_REQUIRED_RESULT QPainterPath united(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:189:5: error: expected unqualified-id before '[' token 189 | Q_REQUIRED_RESULT QPainterPath intersected(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:190:5: error: expected unqualified-id before '[' token 190 | Q_REQUIRED_RESULT QPainterPath subtracted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:191:5: error: expected unqualified-id before '[' token 191 | Q_REQUIRED_RESULT QPainterPath subtractedInverted(const QPainterPath &r) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:193:5: error: expected unqualified-id before '[' token 193 | Q_REQUIRED_RESULT QPainterPath simplified() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'bool QPainterPath::Element::operator==(const QPainterPath::Element&) const': /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpainterpath.h:86:78: error: 'QMatrix::QMatrix(bool)' is private within this context 86 | bool operator==(const Element &e) const { return qFuzzyCompare(x, e.x) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpainterpath.h:87:36: error: 'QMatrix::QMatrix(bool)' is private within this context 87 | && qFuzzyCompare(y, e.y) && type == e.type; } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:122:12: note: declared private here 122 | inline QMatrix(bool) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: 'is_integral' is not a member of 'std' 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: expected primary-expression before '>' token 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:234:1: error: '::value' has not been declared 234 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QPainterPath) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: 'is_integral' is not a member of 'std' 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: expected primary-expression before '>' token 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:235:1: error: '::value' has not been declared 235 | Q_DECLARE_TYPEINFO(QPainterPath::Element, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpainterpath.h: In member function 'QPainterPathStrokerPrivate* QPainterPathStroker::d_func()': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h: In member function 'const QPainterPathStrokerPrivate* QPainterPathStroker::d_func() const': /usr/include/qt5/QtGui/qpainterpath.h:244:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qpainterpath.h:244:5: note: mismatched types 'T*' and 'QScopedPointer' 244 | Q_DECLARE_PRIVATE(QPainterPathStroker) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:44, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpainterpath.h: At global scope: /usr/include/qt5/QtGui/qpainterpath.h:368:21: error: no declaration matches 'QPainterPath QPainterPath::translated(const QPointF&) const' 368 | inline QPainterPath QPainterPath::translated(const QPointF &offset) const | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qpainterpath.h:368:21: note: no functions named 'QPainterPath QPainterPath::translated(const QPointF&) const' /usr/include/qt5/QtGui/qpainterpath.h:64:20: note: 'class QPainterPath' defined here 64 | class Q_GUI_EXPORT QPainterPath | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:80:38: error: expected ',' or '...' before '&&' token 80 | QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:27: error: expected ',' or '...' before '&&' token 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtGui/qtransform.h:83:34: error: invalid constructor; you probably meant 'QTransform (const QTransform&)' 83 | QTransform(QTransform &&other) Q_DECL_NOTHROW // = default | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtransform.h:119:5: error: expected unqualified-id before '[' token 119 | Q_REQUIRED_RESULT QTransform inverted(bool *invertible = nullptr) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:120:5: error: expected unqualified-id before '[' token 120 | Q_REQUIRED_RESULT QTransform adjoint() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:121:5: error: expected unqualified-id before '[' token 121 | Q_REQUIRED_RESULT QTransform transposed() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h: In member function 'QTransform& QTransform::operator=(QTransform)': /usr/include/qt5/QtGui/qtransform.h:81:62: error: 'other' was not declared in this scope 81 | { memcpy(static_cast(this), static_cast(&other), sizeof(QTransform)); return *this; } | ^~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, qreal, bool)': /usr/include/qt5/QtGui/qtransform.h:176:13: error: 'nullptr' was not declared in this scope 176 | , d(nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In constructor 'QTransform::QTransform(bool)': /usr/include/qt5/QtGui/qtransform.h:184:13: error: 'nullptr' was not declared in this scope 184 | , d(nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtransform.h: At global scope: /usr/include/qt5/QtGui/qtransform.h:200:1: error: 'is_integral' is not a member of 'std' 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: expected primary-expression before '>' token 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:200:1: error: '::value' has not been declared 200 | Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h: In member function 'bool QTransform::isInvertible() const': /usr/include/qt5/QtGui/qtransform.h:223:13: error: 'qFuzzyIsNull' was not declared in this scope 223 | return !qFuzzyIsNull(determinant()); | ^~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h: In function 'bool qFuzzyCompare(const QTransform&, const QTransform&)': /usr/include/qt5/QtGui/qtransform.h:359:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 359 | return qFuzzyCompare(t1.m11(), t2.m11()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:360:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 360 | && qFuzzyCompare(t1.m12(), t2.m12()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:361:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 361 | && qFuzzyCompare(t1.m13(), t2.m13()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:362:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 362 | && qFuzzyCompare(t1.m21(), t2.m21()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:363:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 363 | && qFuzzyCompare(t1.m22(), t2.m22()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:364:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 364 | && qFuzzyCompare(t1.m23(), t2.m23()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:365:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 365 | && qFuzzyCompare(t1.m31(), t2.m31()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:366:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 366 | && qFuzzyCompare(t1.m32(), t2.m32()) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtransform.h:367:44: error: call of overloaded 'qFuzzyCompare(qreal, qreal)' is ambiguous 367 | && qFuzzyCompare(t1.m33(), t2.m33()); | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qimage.h: At global scope: /usr/include/qt5/QtGui/qimage.h:197:5: error: expected unqualified-id before '[' token 197 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QImage convertToFormat(Format f, const QVector &colorTable, Qt::ImageConversionFlags flags = Qt::AutoColor) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qimage.h:225:5: error: 'qsizetype' does not name a type 225 | qsizetype sizeInBytes() const; | ^~~~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qimage.h:144:103: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qimage.h:144:132: error: 'nullptr' was not declared in this scope 144 | QImage(uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:109: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:145:138: error: 'nullptr' was not declared in this scope 145 | QImage(const uchar *data, int width, int height, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:121: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:146:150: error: 'nullptr' was not declared in this scope 146 | QImage(uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:127: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:147:156: error: 'nullptr' was not declared in this scope 147 | QImage(const uchar *data, int width, int height, int bytesPerLine, Format format, QImageCleanupFunction cleanupFunction = nullptr, void *cleanupInfo = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:152:67: error: 'nullptr' was not declared in this scope 152 | explicit QImage(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:306:61: error: 'nullptr' was not declared in this scope 306 | bool load(const QString &fileName, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:307:71: error: 'nullptr' was not declared in this scope 307 | bool loadFromData(const uchar *buf, int len, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:308:76: error: 'nullptr' was not declared in this scope 308 | inline bool loadFromData(const QByteArray &data, const char *aformat = nullptr) | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:311:61: error: 'nullptr' was not declared in this scope 311 | bool save(const QString &fileName, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:312:55: error: 'nullptr' was not declared in this scope 312 | bool save(QIODevice *device, const char *format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:314:78: error: 'nullptr' was not declared in this scope 314 | static QImage fromData(const uchar *data, int size, const char *format = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qimage.h:315:80: error: 'nullptr' was not declared in this scope 315 | inline static QImage fromData(const QByteArray &data, const char *format = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qimage.h:383:1: error: 'is_integral' is not a member of 'std' 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: expected primary-expression before '>' token 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qimage.h:383:1: error: '::value' has not been declared 383 | Q_DECLARE_SHARED(QImage) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpixmap.h:68:59: error: 'nullptr' was not declared in this scope 68 | QPixmap(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:141:61: error: 'nullptr' was not declared in this scope 141 | bool load(const QString& fileName, const char *format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:142:72: error: 'nullptr' was not declared in this scope 142 | bool loadFromData(const uchar *buf, uint len, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ In file included from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qpixmap.h:143:75: error: 'nullptr' was not declared in this scope 143 | inline bool loadFromData(const QByteArray &data, const char* format = nullptr, Qt::ImageConversionFlags flags = Qt::AutoColor); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:144:61: error: 'nullptr' was not declared in this scope 144 | bool save(const QString& fileName, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:145:55: error: 'nullptr' was not declared in this scope 145 | bool save(QIODevice* device, const char* format = nullptr, int quality = -1) const; | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:152:96: error: 'nullptr' was not declared in this scope 152 | inline void scroll(int dx, int dy, int x, int y, int width, int height, QRegion *exposed = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:153:71: error: 'nullptr' was not declared in this scope 153 | void scroll(int dx, int dy, const QRect &rect, QRegion *exposed = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpixmap.h:205:1: error: 'is_integral' is not a member of 'std' 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: expected primary-expression before '>' token 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpixmap.h:205:1: error: '::value' has not been declared 205 | Q_DECLARE_SHARED(QPixmap) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qurl.h:199:5: error: expected unqualified-id before '[' token 199 | Q_REQUIRED_RESULT QUrl adjusted(FormattingOptions options) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:258:5: error: expected unqualified-id before '[' token 258 | Q_REQUIRED_RESULT QUrl resolved(const QUrl &relative) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qurl.h:375:1: error: 'is_integral' is not a member of 'std' 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: expected primary-expression before '>' token 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurl.h:375:1: error: '::value' has not been declared 375 | Q_DECLARE_SHARED(QUrl) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QUrl:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions& operator|=(QUrl::FormattingOptions&, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:389:39: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 389 | { i |= QUrl::UrlFormattingOption(int(f)); return i; } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::UrlFormattingOption, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:393:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 393 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::UrlFormattingOption)': /usr/include/qt5/QtCore/qurl.h:397:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 397 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::FormattingOptions, QUrl::ComponentFormattingOptions)': /usr/include/qt5/QtCore/qurl.h:399:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 399 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ /usr/include/qt5/QtCore/qurl.h: In function 'QUrl::FormattingOptions operator|(QUrl::ComponentFormattingOptions, QUrl::FormattingOptions)': /usr/include/qt5/QtCore/qurl.h:403:45: error: invalid cast from type 'QUrl::ComponentFormattingOptions' {aka 'QFlags'} to type 'int' 403 | { return i | QUrl::UrlFormattingOption(int(f)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qbrush.h: At global scope: /usr/include/qt5/QtGui/qbrush.h:137:1: error: 'is_integral' is not a member of 'std' 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: expected primary-expression before '>' token 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qbrush.h:137:1: error: '::value' has not been declared 137 | Q_DECLARE_SHARED(QBrush) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: 'is_integral' is not a member of 'std' 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: expected primary-expression before '>' token 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpalette.h:193:1: error: '::value' has not been declared 193 | Q_DECLARE_SHARED(QPalette) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: 'is_integral' is not a member of 'std' 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: expected primary-expression before '>' token 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfont.h:333:1: error: '::value' has not been declared 333 | Q_DECLARE_SHARED(QFont) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qfontmetrics.h:110:106: error: 'nullptr' was not declared in this scope 110 | QRect boundingRect(const QRect &r, int flags, const QString &text, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:112:65: error: 'nullptr' was not declared in this scope 112 | int tabstops = 0, int *tabarray = nullptr) const | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:114:81: error: 'nullptr' was not declared in this scope 114 | QSize size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: 'is_integral' is not a member of 'std' 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: expected primary-expression before '>' token 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:135:1: error: '::value' has not been declared 135 | Q_DECLARE_SHARED(QFontMetrics) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qfontmetrics.h:184:110: error: 'nullptr' was not declared in this scope 184 | QRectF boundingRect(const QRectF &r, int flags, const QString& string, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:185:82: error: 'nullptr' was not declared in this scope 185 | QSizeF size(int flags, const QString& str, int tabstops = 0, int *tabarray = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: 'is_integral' is not a member of 'std' 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: expected primary-expression before '>' token 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontmetrics.h:203:1: error: '::value' has not been declared 203 | Q_DECLARE_SHARED(QFontMetricsF) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: 'is_integral' is not a member of 'std' 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: expected primary-expression before '>' token 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qfontinfo.h:85:1: error: '::value' has not been declared 85 | Q_DECLARE_SHARED(QFontInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qsizepolicy.h:162:5: error: expected unqualified-id before '[' token 162 | Q_REQUIRED_RESULT | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:52, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtWidgets/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/include/qt5/QtWidgets/qsizepolicy.h:161:72: error: 'transposed' was not declared in this scope; did you mean 'transpose'? 161 | Q_DECL_RELAXED_CONSTEXPR void transpose() Q_DECL_NOTHROW { *this = transposed(); } | ^~~~~~~~~~ | transpose In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope: /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: 'is_integral' is not a member of 'std' 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: expected primary-expression before '>' token 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qsizepolicy.h:231:1: error: '::value' has not been declared 231 | Q_DECLARE_TYPEINFO(QSizePolicy, Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: 'is_integral' is not a member of 'std' 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: expected primary-expression before '>' token 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:118:1: error: '::value' has not been declared 118 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QCursor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:130:5: error: 'nullptr' was not declared in this scope 130 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtWidgets/qwidget.h:214:40: error: 'nullptr' was not declared in this scope 214 | explicit QWidget(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h:599:76: error: 'nullptr' was not declared in this scope 599 | static QWidget *createWindowContainer(QWindow *window, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qwidget.h: In member function 'QWidgetPrivate* QWidget::d_func()': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'const QWidgetPrivate* QWidget::d_func() const': /usr/include/qt5/QtWidgets/qwidget.h:131:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qwidget.h:131:5: note: mismatched types 'T*' and 'QScopedPointer' 131 | Q_DECLARE_PRIVATE(QWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(QObject*) [with T = QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:742:42: error: 'nullptr' was not declared in this scope 742 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In function 'T qobject_cast(const QObject*) [with T = const QWidget*]': /usr/include/qt5/QtWidgets/qwidget.h:747:42: error: 'nullptr' was not declared in this scope 747 | if (!o || !o->isWidgetType()) return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qwidget.h: In member function 'Qt::WindowType QWidget::windowType() const': /usr/include/qt5/QtWidgets/qwidget.h:756:82: error: invalid cast from type 'QFlags' to type 'int' 756 | { return static_cast(int(data->window_flags & Qt::WindowType_Mask)); } | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qdialog.h: At global scope: /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtWidgets/qdialog.h:63:40: error: 'nullptr' was not declared in this scope 63 | explicit QDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qdialog.h: In member function 'QDialogPrivate* QDialog::d_func()': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qdialog.h: In member function 'const QDialogPrivate* QDialog::d_func() const': /usr/include/qt5/QtWidgets/qdialog.h:114:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialog.h:114:5: note: mismatched types 'T*' and 'QScopedPointer' 114 | Q_DECLARE_PRIVATE(QDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qprogressdialog.h: At global scope: /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtWidgets/qprogressdialog.h:71:48: error: 'nullptr' was not declared in this scope 71 | explicit QProgressDialog(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h:73:65: error: 'nullptr' was not declared in this scope 73 | int minimum, int maximum, QWidget *parent = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'QProgressDialogPrivate* QProgressDialog::d_func()': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qprogressdialog.h: In member function 'const QProgressDialogPrivate* QProgressDialog::d_func() const': /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressdialog.h:60:5: note: mismatched types 'T*' and 'QScopedPointer' 60 | Q_DECLARE_PRIVATE(QProgressDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfiledevice.h: At global scope: /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qfiledevice.h:139:59: error: 'nullptr' was not declared in this scope 139 | QFileDevice(QFileDevicePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfiledevice.h: In member function 'QFileDevicePrivate* QFileDevice::d_func()': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfiledevice.h: In member function 'const QFileDevicePrivate* QFileDevice::d_func() const': /usr/include/qt5/QtCore/qfiledevice.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfiledevice.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QFileDevice) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfile.h: At global scope: /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfile.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qfile.h:145:47: error: 'nullptr' was not declared in this scope 145 | QFile(QFilePrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfile.h: In member function 'QFilePrivate* QFile::d_func()': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfile.h: In member function 'const QFilePrivate* QFile::d_func() const': /usr/include/qt5/QtCore/qfile.h:62:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfile.h:62:5: note: mismatched types 'T*' and 'QScopedPointer' 62 | Q_DECLARE_PRIVATE(QFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFile.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qfile.h: In static member function 'static QByteArray QFile::encodeName(const QString&)': /usr/include/qt5/QtCore/qfile.h:90:25: error: 'const class QString' has no member named 'toLocal8Bit'; did you mean 'fromLocal8Bit'? 90 | return fileName.toLocal8Bit(); | ^~~~~~~~~~~ | fromLocal8Bit In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfileinfo.h: At global scope: /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: 'is_integral' is not a member of 'std' 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: expected primary-expression before '>' token 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileinfo.h:157:1: error: '::value' has not been declared 157 | Q_DECLARE_SHARED(QFileInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/SoundFile.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SoundFile) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:113:5: error: expected unqualified-id before '[' token 113 | Q_REQUIRED_RESULT QDate addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:114:5: error: expected unqualified-id before '[' token 114 | Q_REQUIRED_RESULT QDate addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:115:5: error: expected unqualified-id before '[' token 115 | Q_REQUIRED_RESULT QDate addYears(int years) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:32, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qdatetime.h:82:35: error: 'nullptr' was not declared in this scope 82 | int weekNumber(int *yearNum = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:152:1: error: 'is_integral' is not a member of 'std' 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: expected primary-expression before '>' token 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:152:1: error: '::value' has not been declared 152 | Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:179:5: error: expected unqualified-id before '[' token 179 | Q_REQUIRED_RESULT QTime addSecs(int secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:181:5: error: expected unqualified-id before '[' token 181 | Q_REQUIRED_RESULT QTime addMSecs(int ms) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:216:1: error: 'is_integral' is not a member of 'std' 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: expected primary-expression before '>' token 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:216:1: error: '::value' has not been declared 216 | Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QDateTime:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:32, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qdatetime.h:246:19: error: expected ',' or '...' before '&&' token 246 | Data(Data &&other); | ^~ /usr/include/qt5/QtCore/qdatetime.h:246:26: error: invalid constructor; you probably meant 'QDateTime::Data (const QDateTime::Data&)' 246 | Data(Data &&other); | ^ /usr/include/qt5/QtCore/qdatetime.h:270:25: error: expected ',' or '...' before '&&' token 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^~ /usr/include/qt5/QtCore/qdatetime.h:270:32: error: invalid constructor; you probably meant 'QDateTime (const QDateTime&)' 270 | QDateTime(QDateTime &&other) Q_DECL_NOTHROW; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:313:5: error: expected unqualified-id before '[' token 313 | Q_REQUIRED_RESULT QDateTime addDays(qint64 days) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:314:5: error: expected unqualified-id before '[' token 314 | Q_REQUIRED_RESULT QDateTime addMonths(int months) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:315:5: error: expected unqualified-id before '[' token 315 | Q_REQUIRED_RESULT QDateTime addYears(int years) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:316:5: error: expected unqualified-id before '[' token 316 | Q_REQUIRED_RESULT QDateTime addSecs(qint64 secs) const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:317:5: error: expected unqualified-id before '[' token 317 | Q_REQUIRED_RESULT QDateTime addMSecs(qint64 msecs) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdatetime.h:393:1: error: 'is_integral' is not a member of 'std' 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: expected primary-expression before '>' token 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdatetime.h:393:1: error: '::value' has not been declared 393 | Q_DECLARE_SHARED(QDateTime) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFile.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/PeakFileManager.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:84:5: error: 'nullptr' was not declared in this scope 84 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In static member function 'static void Rosegarden::RosegardenDocument::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:152:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 152 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:152:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 152 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:152:20: error: cannot convert 'Rosegarden::RosegardenDocument*' to 'int*' in initialization 152 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RosegardenDocument* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:155:21: error: request for member 'documentModified' in '* _t', which is of non-class type 'int' 155 | case 0: _t->documentModified((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:156:21: error: request for member 'pointerPositionChanged' in '* _t', which is of non-class type 'int' 156 | case 1: _t->pointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:157:21: error: request for member 'recordMIDISegmentUpdated' in '* _t', which is of non-class type 'int' 157 | case 2: _t->recordMIDISegmentUpdated((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:158:21: error: request for member 'newMIDIRecordingSegment' in '* _t', which is of non-class type 'int' 158 | case 3: _t->newMIDIRecordingSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:159:21: error: request for member 'newAudioRecordingSegment' in '* _t', which is of non-class type 'int' 159 | case 4: _t->newAudioRecordingSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:160:21: error: request for member 'makeTrackVisible' in '* _t', which is of non-class type 'int' 160 | case 5: _t->makeTrackVisible((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:161:21: error: request for member 'stoppedAudioRecording' in '* _t', which is of non-class type 'int' 161 | case 6: _t->stoppedAudioRecording(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:162:21: error: request for member 'stoppedMIDIRecording' in '* _t', which is of non-class type 'int' 162 | case 7: _t->stoppedMIDIRecording(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:163:21: error: request for member 'audioFileFinalized' in '* _t', which is of non-class type 'int' 163 | case 8: _t->audioFileFinalized((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:164:21: error: request for member 'playPositionChanged' in '* _t', which is of non-class type 'int' 164 | case 9: _t->playPositionChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:165:22: error: request for member 'loopChanged' in '* _t', which is of non-class type 'int' 165 | case 10: _t->loopChanged((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:166:22: error: request for member 'docColoursChanged' in '* _t', which is of non-class type 'int' 166 | case 11: _t->docColoursChanged(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:167:22: error: request for member 'devicesResyncd' in '* _t', which is of non-class type 'int' 167 | case 12: _t->devicesResyncd(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:168:22: error: request for member 'slotUpdateAllViews' in '* _t', which is of non-class type 'int' 168 | case 13: _t->slotUpdateAllViews((*reinterpret_cast< RosegardenMainViewWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:169:22: error: request for member 'slotDocumentModified' in '* _t', which is of non-class type 'int' 169 | case 14: _t->slotDocumentModified(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:170:22: error: request for member 'slotDocumentRestored' in '* _t', which is of non-class type 'int' 170 | case 15: _t->slotDocumentRestored(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:171:22: error: request for member 'slotAutoSave' in '* _t', which is of non-class type 'int' 171 | case 16: _t->slotAutoSave(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:172:22: error: request for member 'slotSetPointerPosition' in '* _t', which is of non-class type 'int' 172 | case 17: _t->slotSetPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:173:22: error: request for member 'slotSetLoop' in '* _t', which is of non-class type 'int' 173 | case 18: _t->slotSetLoop((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:174:22: error: request for member 'slotDocColoursChanged' in '* _t', which is of non-class type 'int' 174 | case 19: _t->slotDocColoursChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:212:19: error: expected nested-name-specifier before '_t' 212 | using _t = void (RosegardenDocument::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:35: error: '_t' does not name a type; did you mean 'Qt'? 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:38: error: expected '>' before '*' token 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:38: error: expected '(' before '*' token 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:39: error: expected primary-expression before '>' token 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:63: error: '_t' does not name a type; did you mean 'Qt'? 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:213:106: error: expected ')' before '{' token 213 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::documentModified)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:217:9: error: expected primary-expression before '}' token 217 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:219:19: error: expected nested-name-specifier before '_t' 219 | using _t = void (RosegardenDocument::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:35: error: '_t' does not name a type; did you mean 'Qt'? 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:38: error: expected '>' before '*' token 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:38: error: expected '(' before '*' token 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:39: error: expected primary-expression before '>' token 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:63: error: '_t' does not name a type; did you mean 'Qt'? 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:220:112: error: expected ')' before '{' token 220 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::pointerPositionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:224:9: error: expected primary-expression before '}' token 224 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:226:19: error: expected nested-name-specifier before '_t' 226 | using _t = void (RosegardenDocument::*)(Segment * , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:35: error: '_t' does not name a type; did you mean 'Qt'? 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:38: error: expected '>' before '*' token 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:38: error: expected '(' before '*' token 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:39: error: expected primary-expression before '>' token 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:63: error: '_t' does not name a type; did you mean 'Qt'? 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:227:114: error: expected ')' before '{' token 227 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::recordMIDISegmentUpdated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:231:9: error: expected primary-expression before '}' token 231 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:233:19: error: expected nested-name-specifier before '_t' 233 | using _t = void (RosegardenDocument::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:35: error: '_t' does not name a type; did you mean 'Qt'? 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:38: error: expected '>' before '*' token 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:38: error: expected '(' before '*' token 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:39: error: expected primary-expression before '>' token 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:63: error: '_t' does not name a type; did you mean 'Qt'? 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:234:113: error: expected ')' before '{' token 234 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newMIDIRecordingSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:238:9: error: expected primary-expression before '}' token 238 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:240:19: error: expected nested-name-specifier before '_t' 240 | using _t = void (RosegardenDocument::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:35: error: '_t' does not name a type; did you mean 'Qt'? 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:38: error: expected '>' before '*' token 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:38: error: expected '(' before '*' token 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:39: error: expected primary-expression before '>' token 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:63: error: '_t' does not name a type; did you mean 'Qt'? 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:241:114: error: expected ')' before '{' token 241 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::newAudioRecordingSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:245:9: error: expected primary-expression before '}' token 245 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:247:19: error: expected nested-name-specifier before '_t' 247 | using _t = void (RosegardenDocument::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:35: error: '_t' does not name a type; did you mean 'Qt'? 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:38: error: expected '>' before '*' token 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:38: error: expected '(' before '*' token 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:39: error: expected primary-expression before '>' token 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:63: error: '_t' does not name a type; did you mean 'Qt'? 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:248:106: error: expected ')' before '{' token 248 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::makeTrackVisible)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:252:9: error: expected primary-expression before '}' token 252 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:254:19: error: expected nested-name-specifier before '_t' 254 | using _t = void (RosegardenDocument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:35: error: '_t' does not name a type; did you mean 'Qt'? 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:38: error: expected '>' before '*' token 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:38: error: expected '(' before '*' token 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:39: error: expected primary-expression before '>' token 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:63: error: '_t' does not name a type; did you mean 'Qt'? 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:255:111: error: expected ')' before '{' token 255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedAudioRecording)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:259:9: error: expected primary-expression before '}' token 259 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:261:19: error: expected nested-name-specifier before '_t' 261 | using _t = void (RosegardenDocument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:35: error: '_t' does not name a type; did you mean 'Qt'? 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:38: error: expected '>' before '*' token 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:38: error: expected '(' before '*' token 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:39: error: expected primary-expression before '>' token 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:63: error: '_t' does not name a type; did you mean 'Qt'? 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:262:110: error: expected ')' before '{' token 262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::stoppedMIDIRecording)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:266:9: error: expected primary-expression before '}' token 266 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:268:19: error: expected nested-name-specifier before '_t' 268 | using _t = void (RosegardenDocument::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:35: error: '_t' does not name a type; did you mean 'Qt'? 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:38: error: expected '>' before '*' token 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:38: error: expected '(' before '*' token 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:39: error: expected primary-expression before '>' token 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:63: error: '_t' does not name a type; did you mean 'Qt'? 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:269:108: error: expected ')' before '{' token 269 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::audioFileFinalized)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:273:9: error: expected primary-expression before '}' token 273 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:275:19: error: expected nested-name-specifier before '_t' 275 | using _t = void (RosegardenDocument::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:35: error: '_t' does not name a type; did you mean 'Qt'? 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:38: error: expected '>' before '*' token 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:38: error: expected '(' before '*' token 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:39: error: expected primary-expression before '>' token 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:63: error: '_t' does not name a type; did you mean 'Qt'? 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:276:109: error: expected ')' before '{' token 276 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::playPositionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:280:9: error: expected primary-expression before '}' token 280 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:282:19: error: expected nested-name-specifier before '_t' 282 | using _t = void (RosegardenDocument::*)(timeT , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:35: error: '_t' does not name a type; did you mean 'Qt'? 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:38: error: expected '>' before '*' token 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:38: error: expected '(' before '*' token 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:39: error: expected primary-expression before '>' token 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:63: error: '_t' does not name a type; did you mean 'Qt'? 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:283:101: error: expected ')' before '{' token 283 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::loopChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:287:9: error: expected primary-expression before '}' token 287 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:289:19: error: expected nested-name-specifier before '_t' 289 | using _t = void (RosegardenDocument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:35: error: '_t' does not name a type; did you mean 'Qt'? 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:38: error: expected '>' before '*' token 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:38: error: expected '(' before '*' token 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:39: error: expected primary-expression before '>' token 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:63: error: '_t' does not name a type; did you mean 'Qt'? 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:290:107: error: expected ')' before '{' token 290 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::docColoursChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:294:9: error: expected primary-expression before '}' token 294 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:296:19: error: expected nested-name-specifier before '_t' 296 | using _t = void (RosegardenDocument::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:35: error: '_t' does not name a type; did you mean 'Qt'? 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:38: error: expected '>' before '*' token 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:38: error: expected '(' before '*' token 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:39: error: expected primary-expression before '>' token 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:63: error: '_t' does not name a type; did you mean 'Qt'? 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:297:104: error: expected ')' before '{' token 297 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenDocument::devicesResyncd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:301:9: error: expected primary-expression before '}' token 301 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:210:14: warning: unused variable 'result' [-Wunused-variable] 210 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:310:5: error: 'nullptr' was not declared in this scope 310 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:311:5: error: 'nullptr' was not declared in this scope 311 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'virtual void* Rosegarden::RosegardenDocument::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:322:26: error: 'nullptr' was not declared in this scope 322 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::documentModified(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:348:20: error: 'nullptr' was not declared in this scope 348 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::pointerPositionChanged(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:355:20: error: 'nullptr' was not declared in this scope 355 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::recordMIDISegmentUpdated(Rosegarden::Segment*, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:362:20: error: 'nullptr' was not declared in this scope 362 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::newMIDIRecordingSegment(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:369:20: error: 'nullptr' was not declared in this scope 369 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::newAudioRecordingSegment(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:376:20: error: 'nullptr' was not declared in this scope 376 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::makeTrackVisible(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:383:20: error: 'nullptr' was not declared in this scope 383 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::stoppedAudioRecording()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:390:55: error: 'nullptr' was not declared in this scope 390 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::stoppedMIDIRecording()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:396:55: error: 'nullptr' was not declared in this scope 396 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::audioFileFinalized(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:402:20: error: 'nullptr' was not declared in this scope 402 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::playPositionChanged(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:409:20: error: 'nullptr' was not declared in this scope 409 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::loopChanged(Rosegarden::timeT, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:416:20: error: 'nullptr' was not declared in this scope 416 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::docColoursChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:423:56: error: 'nullptr' was not declared in this scope 423 | QMetaObject::activate(this, &staticMetaObject, 11, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp: In member function 'void Rosegarden::RosegardenDocument::devicesResyncd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:429:56: error: 'nullptr' was not declared in this scope 429 | QMetaObject::activate(this, &staticMetaObject, 12, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircClient.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircClient.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircClient.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:11: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp: In static member function 'static void Rosegarden::LircClient::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:77:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 77 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:77:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 77 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:77:20: error: cannot convert 'Rosegarden::LircClient*' to 'int*' in initialization 77 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LircClient* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:80:21: error: request for member 'buttonPressed' in '* _t', which is of non-class type 'int' 80 | case 0: _t->buttonPressed((*reinterpret_cast< const char*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:81:21: error: request for member 'readButton' in '* _t', which is of non-class type 'int' 81 | case 1: _t->readButton(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:87:19: error: expected nested-name-specifier before '_t' 87 | using _t = void (LircClient::*)(const char * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:35: error: '_t' does not name a type; did you mean 'Qt'? 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:38: error: expected '>' before '*' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:38: error: expected '(' before '*' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:39: error: expected primary-expression before '>' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:63: error: '_t' does not name a type; did you mean 'Qt'? 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:88:95: error: expected ')' before '{' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircClient::buttonPressed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:92:9: error: expected primary-expression before '}' token 92 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:85:14: warning: unused variable 'result' [-Wunused-variable] 85 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp: In member function 'virtual void* Rosegarden::LircClient::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp: In member function 'void Rosegarden::LircClient::buttonPressed(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircClient.cpp:139:20: error: 'nullptr' was not declared in this scope 139 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircCommander.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircCommander.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/LircCommander.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:12: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In static member function 'static void Rosegarden::LircCommander::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:147:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 147 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:147:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 147 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:147:20: error: cannot convert 'Rosegarden::LircCommander*' to 'int*' in initialization 147 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LircCommander* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:150:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 150 | case 0: _t->play(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:151:21: error: request for member 'stop' in '* _t', which is of non-class type 'int' 151 | case 1: _t->stop(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:152:21: error: request for member 'record' in '* _t', which is of non-class type 'int' 152 | case 2: _t->record(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:153:21: error: request for member 'rewind' in '* _t', which is of non-class type 'int' 153 | case 3: _t->rewind(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:154:21: error: request for member 'rewindToBeginning' in '* _t', which is of non-class type 'int' 154 | case 4: _t->rewindToBeginning(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:155:21: error: request for member 'fastForward' in '* _t', which is of non-class type 'int' 155 | case 5: _t->fastForward(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:156:21: error: request for member 'fastForwardToEnd' in '* _t', which is of non-class type 'int' 156 | case 6: _t->fastForwardToEnd(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:157:21: error: request for member 'toggleRecord' in '* _t', which is of non-class type 'int' 157 | case 7: _t->toggleRecord(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:158:21: error: request for member 'trackDown' in '* _t', which is of non-class type 'int' 158 | case 8: _t->trackDown(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:159:21: error: request for member 'trackUp' in '* _t', which is of non-class type 'int' 159 | case 9: _t->trackUp(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:160:22: error: request for member 'trackMute' in '* _t', which is of non-class type 'int' 160 | case 10: _t->trackMute(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:161:22: error: request for member 'trackRecord' in '* _t', which is of non-class type 'int' 161 | case 11: _t->trackRecord(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:162:22: error: request for member 'undo' in '* _t', which is of non-class type 'int' 162 | case 12: _t->undo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:163:22: error: request for member 'redo' in '* _t', which is of non-class type 'int' 163 | case 13: _t->redo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:164:22: error: request for member 'aboutrg' in '* _t', which is of non-class type 'int' 164 | case 14: _t->aboutrg(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:165:22: error: request for member 'editInEventList' in '* _t', which is of non-class type 'int' 165 | case 15: _t->editInEventList(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:166:22: error: request for member 'editInMatrix' in '* _t', which is of non-class type 'int' 166 | case 16: _t->editInMatrix(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:167:22: error: request for member 'editInPercussionMatrix' in '* _t', which is of non-class type 'int' 167 | case 17: _t->editInPercussionMatrix(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:168:22: error: request for member 'editAsNotation' in '* _t', which is of non-class type 'int' 168 | case 18: _t->editAsNotation(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:169:22: error: request for member 'quit' in '* _t', which is of non-class type 'int' 169 | case 19: _t->quit(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:170:22: error: request for member 'closeTransport' in '* _t', which is of non-class type 'int' 170 | case 20: _t->closeTransport(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:171:22: error: request for member 'toggleTransportVisibility' in '* _t', which is of non-class type 'int' 171 | case 21: _t->toggleTransportVisibility(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:172:22: error: request for member 'slotExecute' in '* _t', which is of non-class type 'int' 172 | case 22: _t->slotExecute((*reinterpret_cast< const char*(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:178:19: error: expected nested-name-specifier before '_t' 178 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:35: error: '_t' does not name a type; did you mean 'Qt'? 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:38: error: expected '>' before '*' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:38: error: expected '(' before '*' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:39: error: expected primary-expression before '>' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:63: error: '_t' does not name a type; did you mean 'Qt'? 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:179:89: error: expected ')' before '{' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:183:9: error: expected primary-expression before '}' token 183 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:185:19: error: expected nested-name-specifier before '_t' 185 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:35: error: '_t' does not name a type; did you mean 'Qt'? 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:38: error: expected '>' before '*' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:38: error: expected '(' before '*' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:39: error: expected primary-expression before '>' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:63: error: '_t' does not name a type; did you mean 'Qt'? 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:186:89: error: expected ')' before '{' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::stop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:190:9: error: expected primary-expression before '}' token 190 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:192:19: error: expected nested-name-specifier before '_t' 192 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:35: error: '_t' does not name a type; did you mean 'Qt'? 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:38: error: expected '>' before '*' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:38: error: expected '(' before '*' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:39: error: expected primary-expression before '>' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:63: error: '_t' does not name a type; did you mean 'Qt'? 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:193:91: error: expected ')' before '{' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::record)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:197:9: error: expected primary-expression before '}' token 197 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:199:19: error: expected nested-name-specifier before '_t' 199 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:35: error: '_t' does not name a type; did you mean 'Qt'? 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:38: error: expected '>' before '*' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:38: error: expected '(' before '*' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:39: error: expected primary-expression before '>' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:63: error: '_t' does not name a type; did you mean 'Qt'? 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:200:91: error: expected ')' before '{' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewind)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:204:9: error: expected primary-expression before '}' token 204 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:206:19: error: expected nested-name-specifier before '_t' 206 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:35: error: '_t' does not name a type; did you mean 'Qt'? 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:38: error: expected '>' before '*' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:38: error: expected '(' before '*' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:39: error: expected primary-expression before '>' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:63: error: '_t' does not name a type; did you mean 'Qt'? 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:207:102: error: expected ')' before '{' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::rewindToBeginning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:211:9: error: expected primary-expression before '}' token 211 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:213:19: error: expected nested-name-specifier before '_t' 213 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:35: error: '_t' does not name a type; did you mean 'Qt'? 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:38: error: expected '>' before '*' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:38: error: expected '(' before '*' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:39: error: expected primary-expression before '>' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:63: error: '_t' does not name a type; did you mean 'Qt'? 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:214:96: error: expected ')' before '{' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForward)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:218:9: error: expected primary-expression before '}' token 218 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:220:19: error: expected nested-name-specifier before '_t' 220 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:35: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:38: error: expected '>' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:38: error: expected '(' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:39: error: expected primary-expression before '>' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:63: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:221:101: error: expected ')' before '{' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::fastForwardToEnd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:225:9: error: expected primary-expression before '}' token 225 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:227:19: error: expected nested-name-specifier before '_t' 227 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:35: error: '_t' does not name a type; did you mean 'Qt'? 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:38: error: expected '>' before '*' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:38: error: expected '(' before '*' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:39: error: expected primary-expression before '>' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:63: error: '_t' does not name a type; did you mean 'Qt'? 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:228:97: error: expected ')' before '{' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleRecord)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:232:9: error: expected primary-expression before '}' token 232 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:234:19: error: expected nested-name-specifier before '_t' 234 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:35: error: '_t' does not name a type; did you mean 'Qt'? 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:38: error: expected '>' before '*' token 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:38: error: expected '(' before '*' token 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:39: error: expected primary-expression before '>' token 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:63: error: '_t' does not name a type; did you mean 'Qt'? 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:235:94: error: expected ')' before '{' token 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackDown)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:239:9: error: expected primary-expression before '}' token 239 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:241:19: error: expected nested-name-specifier before '_t' 241 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:35: error: '_t' does not name a type; did you mean 'Qt'? 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:38: error: expected '>' before '*' token 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:38: error: expected '(' before '*' token 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:39: error: expected primary-expression before '>' token 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:63: error: '_t' does not name a type; did you mean 'Qt'? 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:242:92: error: expected ')' before '{' token 242 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackUp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:246:9: error: expected primary-expression before '}' token 246 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:248:19: error: expected nested-name-specifier before '_t' 248 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:35: error: '_t' does not name a type; did you mean 'Qt'? 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:38: error: expected '>' before '*' token 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:38: error: expected '(' before '*' token 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:39: error: expected primary-expression before '>' token 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:63: error: '_t' does not name a type; did you mean 'Qt'? 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:249:94: error: expected ')' before '{' token 249 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackMute)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:253:9: error: expected primary-expression before '}' token 253 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:255:19: error: expected nested-name-specifier before '_t' 255 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:35: error: '_t' does not name a type; did you mean 'Qt'? 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:38: error: expected '>' before '*' token 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:38: error: expected '(' before '*' token 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:39: error: expected primary-expression before '>' token 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:63: error: '_t' does not name a type; did you mean 'Qt'? 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:256:96: error: expected ')' before '{' token 256 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::trackRecord)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:260:9: error: expected primary-expression before '}' token 260 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:262:19: error: expected nested-name-specifier before '_t' 262 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:35: error: '_t' does not name a type; did you mean 'Qt'? 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:38: error: expected '>' before '*' token 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:38: error: expected '(' before '*' token 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:39: error: expected primary-expression before '>' token 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:63: error: '_t' does not name a type; did you mean 'Qt'? 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:263:89: error: expected ')' before '{' token 263 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::undo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:267:9: error: expected primary-expression before '}' token 267 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:269:19: error: expected nested-name-specifier before '_t' 269 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:35: error: '_t' does not name a type; did you mean 'Qt'? 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:38: error: expected '>' before '*' token 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:38: error: expected '(' before '*' token 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:39: error: expected primary-expression before '>' token 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:63: error: '_t' does not name a type; did you mean 'Qt'? 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:270:89: error: expected ')' before '{' token 270 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::redo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:274:9: error: expected primary-expression before '}' token 274 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:276:19: error: expected nested-name-specifier before '_t' 276 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:35: error: '_t' does not name a type; did you mean 'Qt'? 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:38: error: expected '>' before '*' token 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:38: error: expected '(' before '*' token 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:39: error: expected primary-expression before '>' token 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:63: error: '_t' does not name a type; did you mean 'Qt'? 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:277:92: error: expected ')' before '{' token 277 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::aboutrg)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:281:9: error: expected primary-expression before '}' token 281 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:283:19: error: expected nested-name-specifier before '_t' 283 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:35: error: '_t' does not name a type; did you mean 'Qt'? 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:38: error: expected '>' before '*' token 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:38: error: expected '(' before '*' token 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:39: error: expected primary-expression before '>' token 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:63: error: '_t' does not name a type; did you mean 'Qt'? 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:284:100: error: expected ')' before '{' token 284 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInEventList)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:288:9: error: expected primary-expression before '}' token 288 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:290:19: error: expected nested-name-specifier before '_t' 290 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:35: error: '_t' does not name a type; did you mean 'Qt'? 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:38: error: expected '>' before '*' token 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:38: error: expected '(' before '*' token 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:39: error: expected primary-expression before '>' token 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:63: error: '_t' does not name a type; did you mean 'Qt'? 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:291:97: error: expected ')' before '{' token 291 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInMatrix)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:295:9: error: expected primary-expression before '}' token 295 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:297:19: error: expected nested-name-specifier before '_t' 297 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:35: error: '_t' does not name a type; did you mean 'Qt'? 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:38: error: expected '>' before '*' token 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:38: error: expected '(' before '*' token 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:39: error: expected primary-expression before '>' token 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:63: error: '_t' does not name a type; did you mean 'Qt'? 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:298:107: error: expected ')' before '{' token 298 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editInPercussionMatrix)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:302:9: error: expected primary-expression before '}' token 302 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:304:19: error: expected nested-name-specifier before '_t' 304 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:35: error: '_t' does not name a type; did you mean 'Qt'? 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:38: error: expected '>' before '*' token 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:38: error: expected '(' before '*' token 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:39: error: expected primary-expression before '>' token 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:63: error: '_t' does not name a type; did you mean 'Qt'? 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:305:99: error: expected ')' before '{' token 305 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::editAsNotation)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:309:9: error: expected primary-expression before '}' token 309 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:311:19: error: expected nested-name-specifier before '_t' 311 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:35: error: '_t' does not name a type; did you mean 'Qt'? 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:38: error: expected '>' before '*' token 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:38: error: expected '(' before '*' token 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:39: error: expected primary-expression before '>' token 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:63: error: '_t' does not name a type; did you mean 'Qt'? 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:312:89: error: expected ')' before '{' token 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::quit)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:316:9: error: expected primary-expression before '}' token 316 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:318:19: error: expected nested-name-specifier before '_t' 318 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:35: error: '_t' does not name a type; did you mean 'Qt'? 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:38: error: expected '>' before '*' token 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:38: error: expected '(' before '*' token 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:39: error: expected primary-expression before '>' token 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:63: error: '_t' does not name a type; did you mean 'Qt'? 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:319:99: error: expected ')' before '{' token 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::closeTransport)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:323:9: error: expected primary-expression before '}' token 323 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:325:19: error: expected nested-name-specifier before '_t' 325 | using _t = void (LircCommander::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:35: error: '_t' does not name a type; did you mean 'Qt'? 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:38: error: expected '>' before '*' token 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:38: error: expected '(' before '*' token 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:39: error: expected primary-expression before '>' token 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:63: error: '_t' does not name a type; did you mean 'Qt'? 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:326:110: error: expected ')' before '{' token 326 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LircCommander::toggleTransportVisibility)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:330:9: error: expected primary-expression before '}' token 330 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:176:14: warning: unused variable 'result' [-Wunused-variable] 176 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:339:5: error: 'nullptr' was not declared in this scope 339 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:340:5: error: 'nullptr' was not declared in this scope 340 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'virtual void* Rosegarden::LircCommander::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:351:26: error: 'nullptr' was not declared in this scope 351 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::play()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:377:55: error: 'nullptr' was not declared in this scope 377 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::stop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:383:55: error: 'nullptr' was not declared in this scope 383 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::record()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:389:55: error: 'nullptr' was not declared in this scope 389 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::rewind()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:395:55: error: 'nullptr' was not declared in this scope 395 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::rewindToBeginning()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:401:55: error: 'nullptr' was not declared in this scope 401 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::fastForward()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:407:55: error: 'nullptr' was not declared in this scope 407 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::fastForwardToEnd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:413:55: error: 'nullptr' was not declared in this scope 413 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::toggleRecord()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:419:55: error: 'nullptr' was not declared in this scope 419 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::trackDown()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:425:55: error: 'nullptr' was not declared in this scope 425 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::trackUp()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:431:55: error: 'nullptr' was not declared in this scope 431 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::trackMute()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:437:56: error: 'nullptr' was not declared in this scope 437 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::trackRecord()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:443:56: error: 'nullptr' was not declared in this scope 443 | QMetaObject::activate(this, &staticMetaObject, 11, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::undo()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:449:56: error: 'nullptr' was not declared in this scope 449 | QMetaObject::activate(this, &staticMetaObject, 12, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::redo()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:455:56: error: 'nullptr' was not declared in this scope 455 | QMetaObject::activate(this, &staticMetaObject, 13, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::aboutrg()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:461:56: error: 'nullptr' was not declared in this scope 461 | QMetaObject::activate(this, &staticMetaObject, 14, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::editInEventList()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:467:56: error: 'nullptr' was not declared in this scope 467 | QMetaObject::activate(this, &staticMetaObject, 15, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::editInMatrix()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:473:56: error: 'nullptr' was not declared in this scope 473 | QMetaObject::activate(this, &staticMetaObject, 16, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::editInPercussionMatrix()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:479:56: error: 'nullptr' was not declared in this scope 479 | QMetaObject::activate(this, &staticMetaObject, 17, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::editAsNotation()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:485:56: error: 'nullptr' was not declared in this scope 485 | QMetaObject::activate(this, &staticMetaObject, 18, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::quit()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:491:56: error: 'nullptr' was not declared in this scope 491 | QMetaObject::activate(this, &staticMetaObject, 19, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::closeTransport()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:497:56: error: 'nullptr' was not declared in this scope 497 | QMetaObject::activate(this, &staticMetaObject, 20, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp: In member function 'void Rosegarden::LircCommander::toggleTransportVisibility()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_LircCommander.cpp:503:56: error: 'nullptr' was not declared in this scope 503 | QMetaObject::activate(this, &staticMetaObject, 21, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qinputmethod.h: At global scope: /usr/include/qt5/QtGui/qinputmethod.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qinputmethod.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qinputmethod.h: In member function 'QInputMethodPrivate* QInputMethod::d_func()': /usr/include/qt5/QtGui/qinputmethod.h:57:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QInputMethod) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qinputmethod.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QInputMethod) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qinputmethod.h: In member function 'const QInputMethodPrivate* QInputMethod::d_func() const': /usr/include/qt5/QtGui/qinputmethod.h:57:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QInputMethod) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qinputmethod.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QInputMethod) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qguiapplication.h: At global scope: /usr/include/qt5/QtGui/qguiapplication.h:74:5: error: 'nullptr' was not declared in this scope 74 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qguiapplication.h:74:5: error: 'nullptr' was not declared in this scope 74 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qguiapplication.h: In member function 'QGuiApplicationPrivate* QGuiApplication::d_func()': /usr/include/qt5/QtGui/qguiapplication.h:200:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 200 | Q_DECLARE_PRIVATE(QGuiApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qguiapplication.h:200:5: note: mismatched types 'T*' and 'QScopedPointer' 200 | Q_DECLARE_PRIVATE(QGuiApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qguiapplication.h: In member function 'const QGuiApplicationPrivate* QGuiApplication::d_func() const': /usr/include/qt5/QtGui/qguiapplication.h:200:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 200 | Q_DECLARE_PRIVATE(QGuiApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qguiapplication.h:200:5: note: mismatched types 'T*' and 'QScopedPointer' 200 | Q_DECLARE_PRIVATE(QGuiApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qapplication.h: At global scope: /usr/include/qt5/QtWidgets/qapplication.h:74:5: error: 'nullptr' was not declared in this scope 74 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qapplication.h:74:5: error: 'nullptr' was not declared in this scope 74 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenApplication.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:13: /usr/include/qt5/QtWidgets/qapplication.h:113:70: error: 'nullptr' was not declared in this scope 113 | static void setPalette(const QPalette &, const char* className = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qapplication.h:117:64: error: 'nullptr' was not declared in this scope 117 | static void setFont(const QFont &, const char* className = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qapplication.h: In member function 'QApplicationPrivate* QApplication::d_func()': /usr/include/qt5/QtWidgets/qapplication.h:209:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 209 | Q_DECLARE_PRIVATE(QApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qapplication.h:209:5: note: mismatched types 'T*' and 'QScopedPointer' 209 | Q_DECLARE_PRIVATE(QApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qapplication.h: In member function 'const QApplicationPrivate* QApplication::d_func() const': /usr/include/qt5/QtWidgets/qapplication.h:209:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 209 | Q_DECLARE_PRIVATE(QApplication) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qapplication.h:209:5: note: mismatched types 'T*' and 'QScopedPointer' 209 | Q_DECLARE_PRIVATE(QApplication) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenApplication.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenApplication.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenApplication.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:13: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp: In static member function 'static void Rosegarden::RosegardenApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:69:20: error: cannot convert 'Rosegarden::RosegardenApplication*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RosegardenApplication* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:72:21: error: request for member 'aboutToSaveState' in '* _t', which is of non-class type 'int' 72 | case 0: _t->aboutToSaveState(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (RosegardenApplication::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:79:109: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenApplication::aboutToSaveState)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp: In member function 'virtual void* Rosegarden::RosegardenApplication::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp: In member function 'void Rosegarden::RosegardenApplication::aboutToSaveState()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenApplication.cpp:131:55: error: 'nullptr' was not declared in this scope 131 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TempoDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qslider.h:45, from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qabstractslider.h:70:48: error: 'nullptr' was not declared in this scope 70 | explicit QAbstractSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h:156:67: error: 'nullptr' was not declared in this scope 156 | QAbstractSlider(QAbstractSliderPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'QAbstractSliderPrivate* QAbstractSlider::d_func()': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractslider.h: In member function 'const QAbstractSliderPrivate* QAbstractSlider::d_func() const': /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractslider.h:160:5: note: mismatched types 'T*' and 'QScopedPointer' 160 | Q_DECLARE_PRIVATE(QAbstractSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qslider.h: At global scope: /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QSlider:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ZoomSlider.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qslider.h:71:40: error: 'nullptr' was not declared in this scope 71 | explicit QSlider(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qslider.h:72:69: error: 'nullptr' was not declared in this scope 72 | explicit QSlider(Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qslider.h: In member function 'QSliderPrivate* QSlider::d_func()': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qslider.h: In member function 'const QSliderPrivate* QSlider::d_func() const': /usr/include/qt5/QtWidgets/qslider.h:99:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qslider.h:99:5: note: mismatched types 'T*' and 'QScopedPointer' 99 | Q_DECLARE_PRIVATE(QSlider) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RecentFiles.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qicon.h:144:1: error: 'is_integral' is not a member of 'std' 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: expected primary-expression before '>' token 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qicon.h:144:1: error: '::value' has not been declared 144 | Q_DECLARE_SHARED(QIcon) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtabwidget.h:45, from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtGui/qicon.h:156:70: error: 'nullptr' was not declared in this scope 156 | qreal *sourceDevicePixelRatio = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmainwindow.h:46, from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtabwidget.h:71:43: error: 'nullptr' was not declared in this scope 71 | explicit QTabWidget(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'QTabWidgetPrivate* QTabWidget::d_func()': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtabwidget.h: In member function 'const QTabWidgetPrivate* QTabWidget::d_func() const': /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabwidget.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QTabWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmainwindow.h: At global scope: /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMainWindow:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmainwindow.h:94:44: error: 'nullptr' was not declared in this scope 94 | explicit QMainWindow(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'QMainWindowPrivate* QMainWindow::d_func()': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmainwindow.h: In member function 'const QMainWindowPrivate* QMainWindow::d_func() const': /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmainwindow.h:211:5: note: mismatched types 'T*' and 'QScopedPointer' 211 | Q_DECLARE_PRIVATE(QMainWindow) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qaction.h: At global scope: /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qmenu.h:47, from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qaction.h:95:40: error: 'nullptr' was not declared in this scope 95 | explicit QAction(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:96:61: error: 'nullptr' was not declared in this scope 96 | explicit QAction(const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:97:80: error: 'nullptr' was not declared in this scope 97 | explicit QAction(const QIcon &icon, const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qaction.h:164:43: error: 'nullptr' was not declared in this scope 164 | bool showStatusText(QWidget *widget = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qaction.h: In member function 'QActionPrivate* QAction::d_func()': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qaction.h: In member function 'const QActionPrivate* QAction::d_func() const': /usr/include/qt5/QtWidgets/qaction.h:63:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qaction.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QAction) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qactiongroup.h: At global scope: /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'QActionGroupPrivate* QActionGroup::d_func()': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qactiongroup.h: In member function 'const QActionGroupPrivate* QActionGroup::d_func() const': /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qactiongroup.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QActionGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenu.h: At global scope: /usr/include/qt5/QtWidgets/qmenu.h:100:26: error: 'enable_if' in namespace 'std' does not name a template type 100 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:100:35: error: expected unqualified-id before '<' token 100 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qmenu.h:128:26: error: 'enable_if' in namespace 'std' does not name a template type 128 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:128:35: error: expected unqualified-id before '<' token 128 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenu.h:74:38: error: 'nullptr' was not declared in this scope 74 | explicit QMenu(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:75:60: error: 'nullptr' was not declared in this scope 75 | explicit QMenu(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenu.h:187:49: error: 'nullptr' was not declared in this scope 187 | void popup(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:189:52: error: 'nullptr' was not declared in this scope 189 | QAction *exec(const QPoint &pos, QAction *at = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:84: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:194:111: error: 'nullptr' was not declared in this scope 194 | static QAction *exec(QList actions, const QPoint &pos, QAction *at = nullptr, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h:262:47: error: 'nullptr' was not declared in this scope 262 | QMenu(QMenuPrivate &dd, QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QMenuPrivate* QMenu::d_func()': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenu.h: In member function 'const QMenuPrivate* QMenu::d_func() const': /usr/include/qt5/QtWidgets/qmenu.h:65:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenu.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QMenu) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenu:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:123:51: error: 'move' is not a member of 'std' 123 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:123:51: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtWidgets/qmenu.h: In member function 'QAction* QMenu::addAction(const QIcon&, const QString&, Func1, const QKeySequence&)': /usr/include/qt5/QtWidgets/qmenu.h:151:51: error: 'move' is not a member of 'std' 151 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenu.h:151:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenubar.h: At global scope: /usr/include/qt5/QtWidgets/qmenubar.h:78:26: error: 'enable_if' in namespace 'std' does not name a template type 78 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:78:35: error: expected unqualified-id before '<' token 78 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMenuBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qmenubar.h:63:41: error: 'nullptr' was not declared in this scope 63 | explicit QMenuBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QAction* QMenuBar::addAction(const QString&, Func1)': /usr/include/qt5/QtWidgets/qmenubar.h:91:51: error: 'move' is not a member of 'std' 91 | connect(result, &QAction::triggered, std::move(slot)); | ^~~~ /usr/include/qt5/QtWidgets/qmenubar.h:91:51: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'QMenuBarPrivate* QMenuBar::d_func()': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmenubar.h: In member function 'const QMenuBarPrivate* QMenuBar::d_func() const': /usr/include/qt5/QtWidgets/qmenubar.h:156:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmenubar.h:156:5: note: mismatched types 'T*' and 'QScopedPointer' 156 | Q_DECLARE_PRIVATE(QMenuBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h: At global scope: /usr/include/qt5/QtWidgets/qtoolbar.h:118:26: error: 'enable_if' in namespace 'std' does not name a template type 118 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:118:35: error: expected unqualified-id before '<' token 118 | inline typename std::enable_if::value | ^ /usr/include/qt5/QtWidgets/qtoolbar.h:136:26: error: 'enable_if' in namespace 'std' does not name a template type 136 | inline typename std::enable_if::value | ^~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:136:35: error: expected unqualified-id before '<' token 136 | inline typename std::enable_if::value | ^ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:78:63: error: 'nullptr' was not declared in this scope 78 | explicit QToolBar(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h:79:41: error: 'nullptr' was not declared in this scope 79 | explicit QToolBar(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'bool QToolBar::isAreaAllowed(Qt::ToolBarArea) const': /usr/include/qt5/QtWidgets/qtoolbar.h:89:38: error: no match for 'operator==' (operand types are 'QFlags' and 'Qt::ToolBarArea') 89 | { return (allowedAreas() & area) == area; } | ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~ | | | | | Qt::ToolBarArea | QFlags In file included from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qchar.h:600:30: note: candidate: 'bool operator==(QChar, QChar)' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:600:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 600 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) Q_DECL_NOTHROW { return c1.ucs == c2.ucs; } | ~~~~~~^~ /usr/include/qt5/QtCore/qchar.h:609:30: note: candidate: 'bool operator==(QChar, int)' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qchar.h:609:47: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 609 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return lhs.isNull(); } | ~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbytearray.h:620:13: note: candidate: 'bool operator==(const QByteArray&, const QByteArray&)' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:620:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 620 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:622:13: note: candidate: 'bool operator==(const QByteArray&, const char*)' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:622:42: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 622 | inline bool operator==(const QByteArray &a1, const char *a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qbytearray.h:624:13: note: candidate: 'bool operator==(const char*, const QByteArray&)' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qbytearray.h:624:36: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 624 | inline bool operator==(const char *a1, const QByteArray &a2) Q_DECL_NOTHROW | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstring.h:1194:13: note: candidate: 'bool operator==(QString::Null, QString::Null)' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1194:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1194 | inline bool operator==(QString::Null, QString::Null) { return true; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:13: note: candidate: 'bool operator==(QString::Null, const QString&)' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1196:24: note: no known conversion for argument 1 from 'QFlags' to 'QString::Null' 1196 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:13: note: candidate: 'bool operator==(const QString&, QString::Null)' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1198:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1198 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); } | ~~~~~~~~~~~~~~~^ /usr/include/qt5/QtCore/qstring.h:1206:13: note: candidate: 'bool operator==(QLatin1String, QLatin1String)' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1206:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1206 | inline bool operator==(QLatin1String s1, QLatin1String s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1250:32: note: candidate: 'bool operator==(const char*, const QString&)' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1250:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1250 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1263:32: note: candidate: 'bool operator==(const char*, QLatin1String)' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1263:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1263 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2) | ~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1618:20: note: candidate: 'bool operator==(const QStringRef&, const QStringRef&)' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1618:49: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1618 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qstring.h:1630:20: note: candidate: 'bool operator==(const QString&, const QStringRef&)' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1630:46: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1630 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1637:13: note: candidate: 'bool operator==(const QStringRef&, const QString&)' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1637:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1637 | inline bool operator==(const QStringRef &lhs, const QString &rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1666:20: note: candidate: 'bool operator==(QLatin1String, const QStringRef&)' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1666:45: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1666 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1673:13: note: candidate: 'bool operator==(const QStringRef&, QLatin1String)' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1673:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1673 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1681:13: note: candidate: 'bool operator==(QChar, const QString&)' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1681:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1681 | inline bool operator==(QChar lhs, const QString &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1692:13: note: candidate: 'bool operator==(const QString&, QChar)' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1692:39: note: no known conversion for argument 1 from 'QFlags' to 'const QString&' 1692 | inline bool operator==(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1700:13: note: candidate: 'bool operator==(QChar, const QStringRef&)' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1700:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1700 | inline bool operator==(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1711:13: note: candidate: 'bool operator==(const QStringRef&, QChar)' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1711:42: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1711 | inline bool operator==(const QStringRef &lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1719:13: note: candidate: 'bool operator==(QChar, QLatin1String)' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1719:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1719 | inline bool operator==(QChar lhs, QLatin1String rhs) Q_DECL_NOTHROW | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1730:13: note: candidate: 'bool operator==(QLatin1String, QChar)' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1730:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1730 | inline bool operator==(QLatin1String lhs, QChar rhs) Q_DECL_NOTHROW { return rhs == lhs; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1738:13: note: candidate: 'bool operator==(QStringView, QStringView)' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1738:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1738 | inline bool operator==(QStringView lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1746:13: note: candidate: 'bool operator==(QStringView, QChar)' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1746:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1746 | inline bool operator==(QStringView lhs, QChar rhs) Q_DECL_NOTHROW { return lhs == QStringView(&rhs, 1); } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1753:13: note: candidate: 'bool operator==(QChar, QStringView)' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1753:30: note: no known conversion for argument 1 from 'QFlags' to 'QChar' 1753 | inline bool operator==(QChar lhs, QStringView rhs) Q_DECL_NOTHROW { return QStringView(&lhs, 1) == rhs; } | ~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1761:13: note: candidate: 'bool operator==(QStringView, QLatin1String)' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1761:36: note: no known conversion for argument 1 from 'QFlags' to 'QStringView' 1761 | inline bool operator==(QStringView lhs, QLatin1String rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1768:13: note: candidate: 'bool operator==(QLatin1String, QStringView)' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1768:38: note: no known conversion for argument 1 from 'QFlags' to 'QLatin1String' 1768 | inline bool operator==(QLatin1String lhs, QStringView rhs) Q_DECL_NOTHROW { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; } | ~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1777:32: note: candidate: 'bool operator==(const QStringRef&, const QByteArray&)' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1777:61: note: no known conversion for argument 1 from 'QFlags' to 'const QStringRef&' 1777 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1784:32: note: candidate: 'bool operator==(const QByteArray&, const QStringRef&)' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1784:61: note: no known conversion for argument 1 from 'QFlags' to 'const QByteArray&' 1784 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; } | ~~~~~~~~~~~~~~~~~~^~~ /usr/include/qt5/QtCore/qstring.h:1805:32: note: candidate: 'bool operator==(const char*, const QStringRef&)' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ^~~~~~~~ /usr/include/qt5/QtCore/qstring.h:1805:55: note: no known conversion for argument 1 from 'QFlags' to 'const char*' 1805 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2) | ~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:45, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpair.h:110:41: note: candidate: 'template bool operator==(const QPair&, const QPair&)' 110 | Q_DECL_CONSTEXPR Q_INLINE_TEMPLATE bool operator==(const QPair &p1, const QPair &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpair.h:110:41: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPair' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qshareddata.h:46, from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhash.h:141:13: note: candidate: 'bool operator==(const QHashDummyValue&, const QHashDummyValue&)' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~ /usr/include/qt5/QtCore/qhash.h:141:24: note: no known conversion for argument 1 from 'QFlags' to 'const QHashDummyValue&' 141 | inline bool operator==(const QHashDummyValue & /* v1 */, const QHashDummyValue & /* v2 */) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qshareddata.h:145:32: note: candidate: 'template bool operator==(const QSharedDataPointer&, int)' 145 | template inline bool operator==(const QSharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:145:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qshareddata.h:293:32: note: candidate: 'template bool operator==(const QExplicitlySharedDataPointer&, int)' 293 | template inline bool operator==(const QExplicitlySharedDataPointer &p1, std::nullptr_t p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qshareddata.h:293:32: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QExplicitlySharedDataPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: candidate: 'template bool operator==(const QScopedPointer&, const QScopedPointer&)' 184 | inline bool operator==(const QScopedPointer &lhs, const QScopedPointer &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:184:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:53, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: candidate: 'template bool operator==(const QScopedPointer&, int)' 196 | inline bool operator==(const QScopedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qscopedpointer.h:196:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QScopedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/qobject.h:54, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: candidate: 'template bool operator==(const QVarLengthArray&, const QVarLengthArray&)' 555 | bool operator==(const QVarLengthArray &l, const QVarLengthArray &r) | ^~~~~~~~ /usr/include/qt5/QtCore/qvarlengtharray.h:555:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QVarLengthArray' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QSharedPointer&)' 742 | bool operator==(const QSharedPointer &ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:742:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: candidate: 'template bool operator==(const QSharedPointer&, const X*)' 753 | bool operator==(const QSharedPointer &ptr1, const X *ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:753:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: candidate: 'template bool operator==(const T*, const QSharedPointer&)' 758 | bool operator==(const T *ptr1, const QSharedPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:758:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'const T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: candidate: 'template bool operator==(const QSharedPointer&, const QWeakPointer&)' 774 | bool operator==(const QSharedPointer &ptr1, const QWeakPointer &ptr2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:774:6: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: candidate: 'template bool operator==(const QSharedPointer&, int)' 785 | inline bool operator==(const QSharedPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:785:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QSharedPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: candidate: 'template bool operator==(const QWeakPointer&, int)' 809 | inline bool operator==(const QWeakPointer &lhs, std::nullptr_t) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedpointer_impl.h:809:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QWeakPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qlocale.h:43, from /usr/include/qt5/QtCore/qtextstream.h:46, from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/misc/Debug.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvariant.h:590:13: note: candidate: 'bool operator==(const QVariant&, const QVariantComparisonHelper&)' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ^~~~~~~~ /usr/include/qt5/QtCore/qvariant.h:590:40: note: no known conversion for argument 1 from 'QFlags' to 'const QVariant&' 590 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2) | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/include/qt5/QtCore/qpointer.h:103:13: note: candidate: 'template bool operator==(const T*, const QPointer&)' 103 | inline bool operator==(const T *o, const QPointer &p) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:103:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'const T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/include/qt5/QtCore/qpointer.h:107:13: note: candidate: 'template bool operator==(const QPointer&, const T*)' 107 | inline bool operator==(const QPointer &p, const T *o) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:107:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/include/qt5/QtCore/qpointer.h:111:13: note: candidate: 'template bool operator==(T*, const QPointer&)' 111 | inline bool operator==(T *o, const QPointer &p) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:111:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: mismatched types 'T*' and 'QFlags' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/include/qt5/QtCore/qpointer.h:115:13: note: candidate: 'template bool operator==(const QPointer&, T*)' 115 | inline bool operator==(const QPointer &p, T *o) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:115:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/QPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/EventQuantizeCommand.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JAWNUOOXPG/moc_EventQuantizeCommand.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:7: /usr/include/qt5/QtCore/qpointer.h:119:13: note: candidate: 'template bool operator==(const QPointer&, const QPointer&)' 119 | inline bool operator==(const QPointer &p1, const QPointer &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpointer.h:119:13: note: template argument deduction/substitution failed: In file included from /usr/include/qt5/QtWidgets/QToolBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qtoolbar.h:89:41: note: 'QFlags' is not derived from 'const QPointer' 89 | { return (allowedAreas() & area) == area; } | ^~~~ In file included from /usr/include/qt5/QtCore/qrect.h:43, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qmargins.h:135:30: note: candidate: 'bool operator==(const QMargins&, const QMargins&)' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:135:57: note: no known conversion for argument 1 from 'QFlags' to 'const QMargins&' 135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qmargins.h:372:30: note: candidate: 'bool operator==(const QMarginsF&, const QMarginsF&)' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qmargins.h:372:58: note: no known conversion for argument 1 from 'QFlags' to 'const QMarginsF&' 372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/qrect.h:44, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qsize.h:169:30: note: candidate: 'bool operator==(const QSize&, const QSize&)' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:169:54: note: no known conversion for argument 1 from 'QFlags' to 'const QSize&' 169 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qsize.h:339:30: note: candidate: 'bool operator==(const QSizeF&, const QSizeF&)' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qsize.h:339:55: note: no known conversion for argument 1 from 'QFlags' to 'const QSizeF&' 339 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtCore/qrect.h:45, from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qpoint.h:163:30: note: candidate: 'bool operator==(const QPoint&, const QPoint&)' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:163:55: note: no known conversion for argument 1 from 'QFlags' to 'const QPoint&' 163 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2) | ~~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qpoint.h:352:30: note: candidate: 'bool operator==(const QPointF&, const QPointF&)' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ^~~~~~~~ /usr/include/qt5/QtCore/qpoint.h:352:56: note: no known conversion for argument 1 from 'QFlags' to 'const QPointF&' 352 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2) | ~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtGui/qpaintdevice.h:45, from /usr/include/qt5/QtGui/qpixmap.h:44, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtCore/qrect.h:454:30: note: candidate: 'bool operator==(const QRect&, const QRect&)' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:454:54: note: no known conversion for argument 1 from 'QFlags' to 'const QRect&' 454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~^~ /usr/include/qt5/QtCore/qrect.h:859:30: note: candidate: 'bool operator==(const QRectF&, const QRectF&)' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ^~~~~~~~ /usr/include/qt5/QtCore/qrect.h:859:55: note: no known conversion for argument 1 from 'QFlags' to 'const QRectF&' 859 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) Q_DECL_NOTHROW | ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt5/QtWidgets/qwidget.h:55, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/qprogressdialog.h:45, from /usr/include/qt5/QtWidgets/QProgressDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qcursor.h:120:19: note: candidate: 'bool operator==(const QCursor&, const QCursor&)' 120 | Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ^~~~~~~~ /usr/include/qt5/QtGui/qcursor.h:115:56: note: no known conversion for argument 1 from 'QFlags' to 'const QCursor&' 115 | friend Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) Q_DECL_NOTHROW; | ~~~~~~~~~~~~~~~^~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'QToolBarPrivate* QToolBar::d_func()': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbar.h: In member function 'const QToolBarPrivate* QToolBar::d_func() const': /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbar.h:198:5: note: mismatched types 'T*' and 'QScopedPointer' 198 | Q_DECLARE_PRIVATE(QToolBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainWindow.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qframe.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qframe.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackLabel.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qframe.h:64:39: error: 'nullptr' was not declared in this scope 64 | explicit QFrame(QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qframe.h:118:49: error: 'nullptr' was not declared in this scope 118 | QFrame(QFramePrivate &dd, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qframe.h: In member function 'QFramePrivate* QFrame::d_func()': /usr/include/qt5/QtWidgets/qframe.h:123:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 123 | Q_DECLARE_PRIVATE(QFrame) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qframe.h:123:5: note: mismatched types 'T*' and 'QScopedPointer' 123 | Q_DECLARE_PRIVATE(QFrame) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qframe.h: In member function 'const QFramePrivate* QFrame::d_func() const': /usr/include/qt5/QtWidgets/qframe.h:123:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 123 | Q_DECLARE_PRIVATE(QFrame) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qframe.h:123:5: note: mismatched types 'T*' and 'QScopedPointer' 123 | Q_DECLARE_PRIVATE(QFrame) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qlabel.h: At global scope: /usr/include/qt5/QtWidgets/qlabel.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qlabel.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QLabel:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackLabel.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qlabel.h:70:37: error: 'nullptr' was not declared in this scope 70 | explicit QLabel(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()); | ^~~~~~~ /usr/include/qt5/QtWidgets/qlabel.h:71:58: error: 'nullptr' was not declared in this scope 71 | explicit QLabel(const QString &text, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qlabel.h: In member function 'QLabelPrivate* QLabel::d_func()': /usr/include/qt5/QtWidgets/qlabel.h:154:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 154 | Q_DECLARE_PRIVATE(QLabel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlabel.h:154:5: note: mismatched types 'T*' and 'QScopedPointer' 154 | Q_DECLARE_PRIVATE(QLabel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qlabel.h: In member function 'const QLabelPrivate* QLabel::d_func() const': /usr/include/qt5/QtWidgets/qlabel.h:154:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 154 | Q_DECLARE_PRIVATE(QLabel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlabel.h:154:5: note: mismatched types 'T*' and 'QScopedPointer' 154 | Q_DECLARE_PRIVATE(QLabel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackLabel.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackLabel.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackLabel.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:72:5: error: 'nullptr' was not declared in this scope 72 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackButtons.h:72:5: error: 'nullptr' was not declared in this scope 72 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractscrollarea.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractscrollarea.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qscrollarea.h:44, from /usr/include/qt5/QtWidgets/QScrollArea:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qabstractscrollarea.h:64:52: error: 'nullptr' was not declared in this scope 64 | explicit QAbstractScrollArea(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractscrollarea.h:104:75: error: 'nullptr' was not declared in this scope 104 | QAbstractScrollArea(QAbstractScrollAreaPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractscrollarea.h: In member function 'QAbstractScrollAreaPrivate* QAbstractScrollArea::d_func()': /usr/include/qt5/QtWidgets/qabstractscrollarea.h:139:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 139 | Q_DECLARE_PRIVATE(QAbstractScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractscrollarea.h:139:5: note: mismatched types 'T*' and 'QScopedPointer' 139 | Q_DECLARE_PRIVATE(QAbstractScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractscrollarea.h: In member function 'const QAbstractScrollAreaPrivate* QAbstractScrollArea::d_func() const': /usr/include/qt5/QtWidgets/qabstractscrollarea.h:139:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 139 | Q_DECLARE_PRIVATE(QAbstractScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractscrollarea.h:139:5: note: mismatched types 'T*' and 'QScopedPointer' 139 | Q_DECLARE_PRIVATE(QAbstractScrollArea) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qscrollarea.h: At global scope: /usr/include/qt5/QtWidgets/qscrollarea.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qscrollarea.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QScrollArea:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qscrollarea.h:59:44: error: 'nullptr' was not declared in this scope 59 | explicit QScrollArea(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qscrollarea.h:80:59: error: 'nullptr' was not declared in this scope 80 | QScrollArea(QScrollAreaPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qscrollarea.h: In member function 'QScrollAreaPrivate* QScrollArea::d_func()': /usr/include/qt5/QtWidgets/qscrollarea.h:89:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 89 | Q_DECLARE_PRIVATE(QScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qscrollarea.h:89:5: note: mismatched types 'T*' and 'QScopedPointer' 89 | Q_DECLARE_PRIVATE(QScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qscrollarea.h: In member function 'const QScrollAreaPrivate* QScrollArea::d_func() const': /usr/include/qt5/QtWidgets/qscrollarea.h:89:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 89 | Q_DECLARE_PRIVATE(QScrollArea) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qscrollarea.h:89:5: note: mismatched types 'T*' and 'QScopedPointer' 89 | Q_DECLARE_PRIVATE(QScrollArea) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TrackEditor.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qlayout.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qlayout.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qlayout.h: In member function 'QLayoutPrivate* QLayout::d_func()': /usr/include/qt5/QtWidgets/qlayout.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlayout.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qlayout.h: In member function 'const QLayoutPrivate* QLayout::d_func() const': /usr/include/qt5/QtWidgets/qlayout.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlayout.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QLayout) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgridlayout.h: At global scope: /usr/include/qt5/QtWidgets/qgridlayout.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qgridlayout.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgridlayout.h: In member function 'QGridLayoutPrivate* QGridLayout::d_func()': /usr/include/qt5/QtWidgets/qgridlayout.h:59:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QGridLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgridlayout.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QGridLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgridlayout.h: In member function 'const QGridLayoutPrivate* QGridLayout::d_func() const': /usr/include/qt5/QtWidgets/qgridlayout.h:59:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QGridLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgridlayout.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QGridLayout) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qboxlayout.h: At global scope: /usr/include/qt5/QtWidgets/qboxlayout.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qboxlayout.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QVBoxLayout:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/include/qt5/QtWidgets/qboxlayout.h:64:54: error: 'nullptr' was not declared in this scope 64 | explicit QBoxLayout(Direction, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qboxlayout.h: In member function 'QBoxLayoutPrivate* QBoxLayout::d_func()': /usr/include/qt5/QtWidgets/qboxlayout.h:59:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QBoxLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qboxlayout.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QBoxLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qboxlayout.h: In member function 'const QBoxLayoutPrivate* QBoxLayout::d_func() const': /usr/include/qt5/QtWidgets/qboxlayout.h:59:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QBoxLayout) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qboxlayout.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QBoxLayout) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qboxlayout.h: At global scope: /usr/include/qt5/QtWidgets/qboxlayout.h:115:5: error: 'nullptr' was not declared in this scope 115 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qboxlayout.h:115:5: error: 'nullptr' was not declared in this scope 115 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qboxlayout.h:128:5: error: 'nullptr' was not declared in this scope 128 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qboxlayout.h:128:5: error: 'nullptr' was not declared in this scope 128 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:76:5: error: 'nullptr' was not declared in this scope 76 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/RosegardenMainViewWidget.h:76:5: error: 'nullptr' was not declared in this scope 76 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In static member function 'static void Rosegarden::RosegardenMainViewWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:294:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 294 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:294:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 294 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:294:20: error: cannot convert 'Rosegarden::RosegardenMainViewWidget*' to 'int*' in initialization 294 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RosegardenMainViewWidget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:297:21: error: request for member 'activateTool' in '* _t', which is of non-class type 'int' 297 | case 0: _t->activateTool((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:298:21: error: request for member 'stateChange' in '* _t', which is of non-class type 'int' 298 | case 1: _t->stateChange((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:299:21: error: request for member 'segmentsSelected' in '* _t', which is of non-class type 'int' 299 | case 2: _t->segmentsSelected((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:300:21: error: request for member 'toggleSolo' in '* _t', which is of non-class type 'int' 300 | case 3: _t->toggleSolo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:301:21: error: request for member 'compositionStateUpdate' in '* _t', which is of non-class type 'int' 301 | case 4: _t->compositionStateUpdate(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:302:21: error: request for member 'stepByStepTargetRequested' in '* _t', which is of non-class type 'int' 302 | case 5: _t->stepByStepTargetRequested((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:303:21: error: request for member 'addAudioFile' in '* _t', which is of non-class type 'int' 303 | case 6: _t->addAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:304:21: error: request for member 'instrumentLevelsChanged' in '* _t', which is of non-class type 'int' 304 | case 7: _t->instrumentLevelsChanged((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< const LevelInfo(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:305:21: error: request for member 'controllerDeviceEventReceived' in '* _t', which is of non-class type 'int' 305 | case 8: _t->controllerDeviceEventReceived((*reinterpret_cast< MappedEvent*(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:306:21: error: request for member 'showVisuals' in '* _t', which is of non-class type 'int' 306 | case 9: _t->showVisuals((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:307:22: error: request for member 'slotEditSegment' in '* _t', which is of non-class type 'int' 307 | case 10: _t->slotEditSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:308:22: error: request for member 'slotEditSegmentNotation' in '* _t', which is of non-class type 'int' 308 | case 11: _t->slotEditSegmentNotation((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:309:22: error: request for member 'slotEditSegmentsNotation' in '* _t', which is of non-class type 'int' 309 | case 12: _t->slotEditSegmentsNotation((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:310:22: error: request for member 'slotEditSegmentMatrix' in '* _t', which is of non-class type 'int' 310 | case 13: _t->slotEditSegmentMatrix((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:311:22: error: request for member 'slotEditSegmentsMatrix' in '* _t', which is of non-class type 'int' 311 | case 14: _t->slotEditSegmentsMatrix((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:312:22: error: request for member 'slotEditSegmentPercussionMatrix' in '* _t', which is of non-class type 'int' 312 | case 15: _t->slotEditSegmentPercussionMatrix((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:313:22: error: request for member 'slotEditSegmentsPercussionMatrix' in '* _t', which is of non-class type 'int' 313 | case 16: _t->slotEditSegmentsPercussionMatrix((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:314:22: error: request for member 'slotEditSegmentEventList' in '* _t', which is of non-class type 'int' 314 | case 17: _t->slotEditSegmentEventList((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:315:22: error: request for member 'slotEditSegmentsEventList' in '* _t', which is of non-class type 'int' 315 | case 18: _t->slotEditSegmentsEventList((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:316:22: error: request for member 'slotEditSegmentPitchTracker' in '* _t', which is of non-class type 'int' 316 | case 19: _t->slotEditSegmentPitchTracker((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:317:22: error: request for member 'slotEditSegmentsPitchTracker' in '* _t', which is of non-class type 'int' 317 | case 20: _t->slotEditSegmentsPitchTracker((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:318:22: error: request for member 'slotEditTriggerSegment' in '* _t', which is of non-class type 'int' 318 | case 21: _t->slotEditTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:319:22: error: request for member 'slotEditSegmentAudio' in '* _t', which is of non-class type 'int' 319 | case 22: _t->slotEditSegmentAudio((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:320:22: error: request for member 'slotSegmentAutoSplit' in '* _t', which is of non-class type 'int' 320 | case 23: _t->slotSegmentAutoSplit((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:321:22: error: request for member 'slotEditRepeat' in '* _t', which is of non-class type 'int' 321 | case 24: _t->slotEditRepeat((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:322:22: error: request for member 'slotSelectTrackSegments' in '* _t', which is of non-class type 'int' 322 | case 25: _t->slotSelectTrackSegments((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:323:22: error: request for member 'slotSelectAllSegments' in '* _t', which is of non-class type 'int' 323 | case 26: _t->slotSelectAllSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:324:22: error: request for member 'slotUpdateInstrumentParameterBox' in '* _t', which is of non-class type 'int' 324 | case 27: _t->slotUpdateInstrumentParameterBox((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:325:22: error: request for member 'slotSelectedSegments' in '* _t', which is of non-class type 'int' 325 | case 28: _t->slotSelectedSegments((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:326:22: error: request for member 'slotPropagateSegmentSelection' in '* _t', which is of non-class type 'int' 326 | case 29: _t->slotPropagateSegmentSelection((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:327:22: error: request for member 'slotShowRulers' in '* _t', which is of non-class type 'int' 327 | case 30: _t->slotShowRulers((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:328:22: error: request for member 'slotShowTempoRuler' in '* _t', which is of non-class type 'int' 328 | case 31: _t->slotShowTempoRuler((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:329:22: error: request for member 'slotShowChordNameRuler' in '* _t', which is of non-class type 'int' 329 | case 32: _t->slotShowChordNameRuler((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:330:22: error: request for member 'slotShowPreviews' in '* _t', which is of non-class type 'int' 330 | case 33: _t->slotShowPreviews((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:331:22: error: request for member 'slotShowSegmentLabels' in '* _t', which is of non-class type 'int' 331 | case 34: _t->slotShowSegmentLabels((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:332:22: error: request for member 'slotAddTracks' in '* _t', which is of non-class type 'int' 332 | case 35: _t->slotAddTracks((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:333:22: error: request for member 'slotDeleteTracks' in '* _t', which is of non-class type 'int' 333 | case 36: _t->slotDeleteTracks((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:334:22: error: request for member 'slotAddAudioSegmentCurrentPosition' in '* _t', which is of non-class type 'int' 334 | case 37: _t->slotAddAudioSegmentCurrentPosition((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< const RealTime(*)>(_a[2])),(*reinterpret_cast< const RealTime(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:335:22: error: request for member 'slotAddAudioSegmentDefaultPosition' in '* _t', which is of non-class type 'int' 335 | case 38: _t->slotAddAudioSegmentDefaultPosition((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< const RealTime(*)>(_a[2])),(*reinterpret_cast< const RealTime(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:336:22: error: request for member 'slotAddAudioSegment' in '* _t', which is of non-class type 'int' 336 | case 39: _t->slotAddAudioSegment((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< TrackId(*)>(_a[2])),(*reinterpret_cast< timeT(*)>(_a[3])),(*reinterpret_cast< const RealTime(*)>(_a[4])),(*reinterpret_cast< const RealTime(*)>(_a[5]))); break; | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:14: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:337:22: error: request for member 'slotDroppedAudio' in '* _t', which is of non-class type 'int' 337 | case 40: _t->slotDroppedAudio((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:338:22: error: request for member 'slotDroppedNewAudio' in '* _t', which is of non-class type 'int' 338 | case 41: _t->slotDroppedNewAudio((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:339:22: error: request for member 'slotAddCommandToHistory' in '* _t', which is of non-class type 'int' 339 | case 42: _t->slotAddCommandToHistory((*reinterpret_cast< Command*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:340:22: error: request for member 'slotSetRecord' in '* _t', which is of non-class type 'int' 340 | case 43: _t->slotSetRecord((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:341:22: error: request for member 'slotSetSolo' in '* _t', which is of non-class type 'int' 341 | case 44: _t->slotSetSolo((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:342:22: error: request for member 'slotUpdateRecordingSegment' in '* _t', which is of non-class type 'int' 342 | case 45: _t->slotUpdateRecordingSegment((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:343:22: error: request for member 'slotSynchroniseWithComposition' in '* _t', which is of non-class type 'int' 343 | case 46: _t->slotSynchroniseWithComposition(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:344:22: error: request for member 'slotActiveMainWindowChanged' in '* _t', which is of non-class type 'int' 344 | case 47: _t->slotActiveMainWindowChanged((*reinterpret_cast< const QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:345:22: error: request for member 'slotActiveMainWindowChanged' in '* _t', which is of non-class type 'int' 345 | case 48: _t->slotActiveMainWindowChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:346:22: error: request for member 'slotControllerDeviceEventReceived' in '* _t', which is of non-class type 'int' 346 | case 49: _t->slotControllerDeviceEventReceived((*reinterpret_cast< MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:347:22: error: request for member 'slotControllerDeviceEventReceived' in '* _t', which is of non-class type 'int' 347 | case 50: _t->slotControllerDeviceEventReceived((*reinterpret_cast< MappedEvent*(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:427:19: error: expected nested-name-specifier before '_t' 427 | using _t = void (RosegardenMainViewWidget::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:35: error: '_t' does not name a type; did you mean 'Qt'? 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:38: error: expected '>' before '*' token 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:38: error: expected '(' before '*' token 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:39: error: expected primary-expression before '>' token 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:63: error: '_t' does not name a type; did you mean 'Qt'? 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:428:108: error: expected ')' before '{' token 428 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::activateTool)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:432:9: error: expected primary-expression before '}' token 432 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:434:19: error: expected nested-name-specifier before '_t' 434 | using _t = void (RosegardenMainViewWidget::*)(QString , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:35: error: '_t' does not name a type; did you mean 'Qt'? 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:38: error: expected '>' before '*' token 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:38: error: expected '(' before '*' token 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:39: error: expected primary-expression before '>' token 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:63: error: '_t' does not name a type; did you mean 'Qt'? 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:435:107: error: expected ')' before '{' token 435 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stateChange)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:439:9: error: expected primary-expression before '}' token 439 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:441:19: error: expected nested-name-specifier before '_t' 441 | using _t = void (RosegardenMainViewWidget::*)(const SegmentSelection & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:35: error: '_t' does not name a type; did you mean 'Qt'? 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:38: error: expected '>' before '*' token 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:38: error: expected '(' before '*' token 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:39: error: expected primary-expression before '>' token 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:63: error: '_t' does not name a type; did you mean 'Qt'? 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:442:112: error: expected ')' before '{' token 442 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::segmentsSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:446:9: error: expected primary-expression before '}' token 446 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:448:19: error: expected nested-name-specifier before '_t' 448 | using _t = void (RosegardenMainViewWidget::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:35: error: '_t' does not name a type; did you mean 'Qt'? 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:38: error: expected '>' before '*' token 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:38: error: expected '(' before '*' token 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:39: error: expected primary-expression before '>' token 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:63: error: '_t' does not name a type; did you mean 'Qt'? 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:449:106: error: expected ')' before '{' token 449 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::toggleSolo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:453:9: error: expected primary-expression before '}' token 453 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:455:19: error: expected nested-name-specifier before '_t' 455 | using _t = void (RosegardenMainViewWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:35: error: '_t' does not name a type; did you mean 'Qt'? 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:38: error: expected '>' before '*' token 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:38: error: expected '(' before '*' token 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:39: error: expected primary-expression before '>' token 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:63: error: '_t' does not name a type; did you mean 'Qt'? 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:456:118: error: expected ')' before '{' token 456 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::compositionStateUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:460:9: error: expected primary-expression before '}' token 460 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:462:19: error: expected nested-name-specifier before '_t' 462 | using _t = void (RosegardenMainViewWidget::*)(QObject * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:35: error: '_t' does not name a type; did you mean 'Qt'? 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:38: error: expected '>' before '*' token 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:38: error: expected '(' before '*' token 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:39: error: expected primary-expression before '>' token 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:63: error: '_t' does not name a type; did you mean 'Qt'? 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:463:121: error: expected ')' before '{' token 463 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::stepByStepTargetRequested)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:467:9: error: expected primary-expression before '}' token 467 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:469:19: error: expected nested-name-specifier before '_t' 469 | using _t = void (RosegardenMainViewWidget::*)(AudioFileId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:35: error: '_t' does not name a type; did you mean 'Qt'? 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:38: error: expected '>' before '*' token 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:38: error: expected '(' before '*' token 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:39: error: expected primary-expression before '>' token 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:63: error: '_t' does not name a type; did you mean 'Qt'? 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:470:108: error: expected ')' before '{' token 470 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::addAudioFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:474:9: error: expected primary-expression before '}' token 474 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:476:19: error: expected nested-name-specifier before '_t' 476 | using _t = void (RosegardenMainViewWidget::*)(InstrumentId , const LevelInfo & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:35: error: '_t' does not name a type; did you mean 'Qt'? 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:38: error: expected '>' before '*' token 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:38: error: expected '(' before '*' token 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:39: error: expected primary-expression before '>' token 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:63: error: '_t' does not name a type; did you mean 'Qt'? 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:477:119: error: expected ')' before '{' token 477 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::instrumentLevelsChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:481:9: error: expected primary-expression before '}' token 481 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:483:19: error: expected nested-name-specifier before '_t' 483 | using _t = void (RosegardenMainViewWidget::*)(MappedEvent * , const void * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:35: error: '_t' does not name a type; did you mean 'Qt'? 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:38: error: expected '>' before '*' token 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:38: error: expected '(' before '*' token 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:39: error: expected primary-expression before '>' token 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:63: error: '_t' does not name a type; did you mean 'Qt'? 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:484:125: error: expected ')' before '{' token 484 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainViewWidget::controllerDeviceEventReceived)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:488:9: error: expected primary-expression before '}' token 488 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:425:14: warning: unused variable 'result' [-Wunused-variable] 425 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:497:5: error: 'nullptr' was not declared in this scope 497 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:498:5: error: 'nullptr' was not declared in this scope 498 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'virtual void* Rosegarden::RosegardenMainViewWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:509:26: error: 'nullptr' was not declared in this scope 509 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::activateTool(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:535:20: error: 'nullptr' was not declared in this scope 535 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::stateChange(QString, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:542:20: error: 'nullptr' was not declared in this scope 542 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::segmentsSelected(const SegmentSelection&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:549:20: error: 'nullptr' was not declared in this scope 549 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::toggleSolo(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:556:20: error: 'nullptr' was not declared in this scope 556 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::compositionStateUpdate()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:563:55: error: 'nullptr' was not declared in this scope 563 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::stepByStepTargetRequested(QObject*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:569:20: error: 'nullptr' was not declared in this scope 569 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::addAudioFile(Rosegarden::AudioFileId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:576:20: error: 'nullptr' was not declared in this scope 576 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::instrumentLevelsChanged(Rosegarden::InstrumentId, const Rosegarden::LevelInfo&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:583:20: error: 'nullptr' was not declared in this scope 583 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp: In member function 'void Rosegarden::RosegardenMainViewWidget::controllerDeviceEventReceived(Rosegarden::MappedEvent*, const void*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainViewWidget.cpp:590:20: error: 'nullptr' was not declared in this scope 590 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:15: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In static member function 'static void Rosegarden::RosegardenMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:969:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 969 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:969:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 969 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:969:20: error: cannot convert 'Rosegarden::RosegardenMainWindow*' to 'int*' in initialization 969 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RosegardenMainWindow* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:972:21: error: request for member 'startupStatusMessage' in '* _t', which is of non-class type 'int' 972 | case 0: _t->startupStatusMessage((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:973:21: error: request for member 'documentAboutToChange' in '* _t', which is of non-class type 'int' 973 | case 1: _t->documentAboutToChange(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:974:21: error: request for member 'documentChanged' in '* _t', which is of non-class type 'int' 974 | case 2: _t->documentChanged((*reinterpret_cast< RosegardenDocument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:975:21: error: request for member 'segmentsSelected' in '* _t', which is of non-class type 'int' 975 | case 3: _t->segmentsSelected((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:976:21: error: request for member 'compositionStateUpdate' in '* _t', which is of non-class type 'int' 976 | case 4: _t->compositionStateUpdate(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:977:21: error: request for member 'instrumentPercussionSetChanged' in '* _t', which is of non-class type 'int' 977 | case 5: _t->instrumentPercussionSetChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:978:21: error: request for member 'pluginSelected' in '* _t', which is of non-class type 'int' 978 | case 6: _t->pluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:979:21: error: request for member 'pluginBypassed' in '* _t', which is of non-class type 'int' 979 | case 7: _t->pluginBypassed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:980:21: error: request for member 'slotUpdateTitle' in '* _t', which is of non-class type 'int' 980 | case 8: _t->slotUpdateTitle((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:981:21: error: request for member 'slotUpdateTitle' in '* _t', which is of non-class type 'int' 981 | case 9: _t->slotUpdateTitle(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:982:22: error: request for member 'slotOpenDroppedURL' in '* _t', which is of non-class type 'int' 982 | case 10: _t->slotOpenDroppedURL((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:983:22: error: request for member 'slotOpenAudioPathSettings' in '* _t', which is of non-class type 'int' 983 | case 11: _t->slotOpenAudioPathSettings(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:984:22: error: request for member 'slotFileNew' in '* _t', which is of non-class type 'int' 984 | case 12: _t->slotFileNew(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:985:22: error: request for member 'slotFileOpen' in '* _t', which is of non-class type 'int' 985 | case 13: _t->slotFileOpen(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:986:22: error: request for member 'slotFileOpenExample' in '* _t', which is of non-class type 'int' 986 | case 14: _t->slotFileOpenExample(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:987:22: error: request for member 'slotFileOpenTemplate' in '* _t', which is of non-class type 'int' 987 | case 15: _t->slotFileOpenTemplate(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:988:22: error: request for member 'slotFileOpenRecent' in '* _t', which is of non-class type 'int' 988 | case 16: _t->slotFileOpenRecent(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:989:22: error: request for member 'slotFileSave' in '* _t', which is of non-class type 'int' 989 | case 17: _t->slotFileSave(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:990:34: error: request for member 'slotFileSaveAs' in '* _t', which is of non-class type 'int' 990 | case 18: { bool _r = _t->slotFileSaveAs((*reinterpret_cast< bool(*)>(_a[1]))); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:991:64: error: 'move' is not a member of 'std' 991 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:991:64: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:992:34: error: request for member 'slotFileSaveAs' in '* _t', which is of non-class type 'int' 992 | case 19: { bool _r = _t->slotFileSaveAs(); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:993:64: error: 'move' is not a member of 'std' 993 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:993:64: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:994:22: error: request for member 'slotFileSaveAsTemplate' in '* _t', which is of non-class type 'int' 994 | case 20: _t->slotFileSaveAsTemplate(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:995:22: error: request for member 'slotFileClose' in '* _t', which is of non-class type 'int' 995 | case 21: _t->slotFileClose(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:996:22: error: request for member 'slotImportProject' in '* _t', which is of non-class type 'int' 996 | case 22: _t->slotImportProject(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:997:22: error: request for member 'slotImportMIDI' in '* _t', which is of non-class type 'int' 997 | case 23: _t->slotImportMIDI(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:998:22: error: request for member 'slotRevertToSaved' in '* _t', which is of non-class type 'int' 998 | case 24: _t->slotRevertToSaved(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:999:22: error: request for member 'slotImportRG21' in '* _t', which is of non-class type 'int' 999 | case 25: _t->slotImportRG21(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1000:22: error: request for member 'slotImportMusicXML' in '* _t', which is of non-class type 'int' 1000 | case 26: _t->slotImportMusicXML(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1001:22: error: request for member 'slotMerge' in '* _t', which is of non-class type 'int' 1001 | case 27: _t->slotMerge(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1002:22: error: request for member 'slotMergeMIDI' in '* _t', which is of non-class type 'int' 1002 | case 28: _t->slotMergeMIDI(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1003:22: error: request for member 'slotMergeRG21' in '* _t', which is of non-class type 'int' 1003 | case 29: _t->slotMergeRG21(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1004:22: error: request for member 'slotMergeMusicXML' in '* _t', which is of non-class type 'int' 1004 | case 30: _t->slotMergeMusicXML(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1005:22: error: request for member 'slotExportProject' in '* _t', which is of non-class type 'int' 1005 | case 31: _t->slotExportProject(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1006:22: error: request for member 'slotExportMIDI' in '* _t', which is of non-class type 'int' 1006 | case 32: _t->slotExportMIDI(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1007:22: error: request for member 'slotExportCsound' in '* _t', which is of non-class type 'int' 1007 | case 33: _t->slotExportCsound(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1008:22: error: request for member 'slotExportMup' in '* _t', which is of non-class type 'int' 1008 | case 34: _t->slotExportMup(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1009:22: error: request for member 'slotExportLilyPond' in '* _t', which is of non-class type 'int' 1009 | case 35: _t->slotExportLilyPond(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1010:22: error: request for member 'slotPrintLilyPond' in '* _t', which is of non-class type 'int' 1010 | case 36: _t->slotPrintLilyPond(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1011:22: error: request for member 'slotPreviewLilyPond' in '* _t', which is of non-class type 'int' 1011 | case 37: _t->slotPreviewLilyPond(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1012:22: error: request for member 'slotExportMusicXml' in '* _t', which is of non-class type 'int' 1012 | case 38: _t->slotExportMusicXml(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1013:22: error: request for member 'slotQuit' in '* _t', which is of non-class type 'int' 1013 | case 39: _t->slotQuit(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1014:22: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 1014 | case 40: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1015:22: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 1015 | case 41: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1016:22: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 1016 | case 42: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1017:22: error: request for member 'slotEditPasteAsLinks' in '* _t', which is of non-class type 'int' 1017 | case 43: _t->slotEditPasteAsLinks(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1018:22: error: request for member 'slotCutRange' in '* _t', which is of non-class type 'int' 1018 | case 44: _t->slotCutRange(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1019:22: error: request for member 'slotCopyRange' in '* _t', which is of non-class type 'int' 1019 | case 45: _t->slotCopyRange(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1020:22: error: request for member 'slotPasteRange' in '* _t', which is of non-class type 'int' 1020 | case 46: _t->slotPasteRange(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1021:22: error: request for member 'slotDeleteRange' in '* _t', which is of non-class type 'int' 1021 | case 47: _t->slotDeleteRange(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1022:22: error: request for member 'slotInsertRange' in '* _t', which is of non-class type 'int' 1022 | case 48: _t->slotInsertRange(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1023:22: error: request for member 'slotPasteConductorData' in '* _t', which is of non-class type 'int' 1023 | case 49: _t->slotPasteConductorData(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1024:22: error: request for member 'slotEraseRangeTempos' in '* _t', which is of non-class type 'int' 1024 | case 50: _t->slotEraseRangeTempos(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1025:22: error: request for member 'slotSelectAll' in '* _t', which is of non-class type 'int' 1025 | case 51: _t->slotSelectAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1026:22: error: request for member 'slotDeleteSelectedSegments' in '* _t', which is of non-class type 'int' 1026 | case 52: _t->slotDeleteSelectedSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1027:22: error: request for member 'slotQuantizeSelection' in '* _t', which is of non-class type 'int' 1027 | case 53: _t->slotQuantizeSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1028:22: error: request for member 'slotRepeatQuantizeSelection' in '* _t', which is of non-class type 'int' 1028 | case 54: _t->slotRepeatQuantizeSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1029:22: error: request for member 'slotGrooveQuantize' in '* _t', which is of non-class type 'int' 1029 | case 55: _t->slotGrooveQuantize(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1030:22: error: request for member 'slotFitToBeats' in '* _t', which is of non-class type 'int' 1030 | case 56: _t->slotFitToBeats(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1031:22: error: request for member 'slotRescaleSelection' in '* _t', which is of non-class type 'int' 1031 | case 57: _t->slotRescaleSelection(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1032:22: error: request for member 'slotAutoSplitSelection' in '* _t', which is of non-class type 'int' 1032 | case 58: _t->slotAutoSplitSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1033:22: error: request for member 'slotJogRight' in '* _t', which is of non-class type 'int' 1033 | case 59: _t->slotJogRight(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1034:22: error: request for member 'slotJogLeft' in '* _t', which is of non-class type 'int' 1034 | case 60: _t->slotJogLeft(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1035:22: error: request for member 'slotSplitSelectionByPitch' in '* _t', which is of non-class type 'int' 1035 | case 61: _t->slotSplitSelectionByPitch(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1036:22: error: request for member 'slotSplitSelectionByRecordedSrc' in '* _t', which is of non-class type 'int' 1036 | case 62: _t->slotSplitSelectionByRecordedSrc(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1037:22: error: request for member 'slotSplitSelectionAtTime' in '* _t', which is of non-class type 'int' 1037 | case 63: _t->slotSplitSelectionAtTime(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1038:22: error: request for member 'slotSplitSelectionByDrum' in '* _t', which is of non-class type 'int' 1038 | case 64: _t->slotSplitSelectionByDrum(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1039:22: error: request for member 'slotHarmonizeSelection' in '* _t', which is of non-class type 'int' 1039 | case 65: _t->slotHarmonizeSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1040:22: error: request for member 'slotCreateAnacrusis' in '* _t', which is of non-class type 'int' 1040 | case 66: _t->slotCreateAnacrusis(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1041:22: error: request for member 'slotSetSegmentStartTimes' in '* _t', which is of non-class type 'int' 1041 | case 67: _t->slotSetSegmentStartTimes(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1042:22: error: request for member 'slotSetSegmentDurations' in '* _t', which is of non-class type 'int' 1042 | case 68: _t->slotSetSegmentDurations(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1043:22: error: request for member 'slotJoinSegments' in '* _t', which is of non-class type 'int' 1043 | case 69: _t->slotJoinSegments(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1044:22: error: request for member 'slotExpandFiguration' in '* _t', which is of non-class type 'int' 1044 | case 70: _t->slotExpandFiguration(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1045:22: error: request for member 'slotUpdateFigurations' in '* _t', which is of non-class type 'int' 1045 | case 71: _t->slotUpdateFigurations(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1046:22: error: request for member 'slotTempoToSegmentLength' in '* _t', which is of non-class type 'int' 1046 | case 72: _t->slotTempoToSegmentLength(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1047:22: error: request for member 'slotTempoToSegmentLength' in '* _t', which is of non-class type 'int' 1047 | case 73: _t->slotTempoToSegmentLength((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1048:22: error: request for member 'slotToggleSegmentLabels' in '* _t', which is of non-class type 'int' 1048 | case 74: _t->slotToggleSegmentLabels(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1049:22: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 1049 | case 75: _t->slotEdit(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1050:22: error: request for member 'slotEditInEventList' in '* _t', which is of non-class type 'int' 1050 | case 76: _t->slotEditInEventList(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1051:22: error: request for member 'slotEditInMatrix' in '* _t', which is of non-class type 'int' 1051 | case 77: _t->slotEditInMatrix(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1052:22: error: request for member 'slotEditInPercussionMatrix' in '* _t', which is of non-class type 'int' 1052 | case 78: _t->slotEditInPercussionMatrix(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1053:22: error: request for member 'slotEditInPitchTracker' in '* _t', which is of non-class type 'int' 1053 | case 79: _t->slotEditInPitchTracker(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1054:22: error: request for member 'slotEditAsNotation' in '* _t', which is of non-class type 'int' 1054 | case 80: _t->slotEditAsNotation(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1055:22: error: request for member 'slotEditTempos' in '* _t', which is of non-class type 'int' 1055 | case 81: _t->slotEditTempos(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1056:22: error: request for member 'slotEditTempos' in '* _t', which is of non-class type 'int' 1056 | case 82: _t->slotEditTempos((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1057:22: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 1057 | case 83: _t->slotEditTempo(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1058:22: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 1058 | case 84: _t->slotEditTempo((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1059:22: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 1059 | case 85: _t->slotEditTempo((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1060:22: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 1060 | case 86: _t->slotEditTempo((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1061:22: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 1061 | case 87: _t->slotEditTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1062:22: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 1062 | case 88: _t->slotEditTimeSignature((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1063:22: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 1063 | case 89: _t->slotEditTimeSignature((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1064:22: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 1064 | case 90: _t->slotEditTimeSignature((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1065:22: error: request for member 'slotEditTransportTime' in '* _t', which is of non-class type 'int' 1065 | case 91: _t->slotEditTransportTime(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1066:22: error: request for member 'slotEditTransportTime' in '* _t', which is of non-class type 'int' 1066 | case 92: _t->slotEditTransportTime((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1067:22: error: request for member 'slotChangeCompositionLength' in '* _t', which is of non-class type 'int' 1067 | case 93: _t->slotChangeCompositionLength(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1068:22: error: request for member 'slotEditDocumentProperties' in '* _t', which is of non-class type 'int' 1068 | case 94: _t->slotEditDocumentProperties(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1069:22: error: request for member 'slotResetConfigDlg' in '* _t', which is of non-class type 'int' 1069 | case 95: _t->slotResetConfigDlg(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1070:22: error: request for member 'slotResetDocConfigDlg' in '* _t', which is of non-class type 'int' 1070 | case 96: _t->slotResetDocConfigDlg(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1071:22: error: request for member 'slotManageMIDIDevices' in '* _t', which is of non-class type 'int' 1071 | case 97: _t->slotManageMIDIDevices(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1072:22: error: request for member 'slotManageSynths' in '* _t', which is of non-class type 'int' 1072 | case 98: _t->slotManageSynths(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1073:22: error: request for member 'slotOpenAudioMixer' in '* _t', which is of non-class type 'int' 1073 | case 99: _t->slotOpenAudioMixer(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1074:23: error: request for member 'slotOpenMidiMixer' in '* _t', which is of non-class type 'int' 1074 | case 100: _t->slotOpenMidiMixer(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1075:23: error: request for member 'slotEditBanks' in '* _t', which is of non-class type 'int' 1075 | case 101: _t->slotEditBanks(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1076:23: error: request for member 'slotEditBanks' in '* _t', which is of non-class type 'int' 1076 | case 102: _t->slotEditBanks((*reinterpret_cast< DeviceId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1077:23: error: request for member 'slotEditControlParameters' in '* _t', which is of non-class type 'int' 1077 | case 103: _t->slotEditControlParameters((*reinterpret_cast< DeviceId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1078:23: error: request for member 'slotEditMarkers' in '* _t', which is of non-class type 'int' 1078 | case 104: _t->slotEditMarkers(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1079:23: error: request for member 'slotPopulateTrackInstrumentPopup' in '* _t', which is of non-class type 'int' 1079 | case 105: _t->slotPopulateTrackInstrumentPopup(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1080:23: error: request for member 'slotRemapInstruments' in '* _t', which is of non-class type 'int' 1080 | case 106: _t->slotRemapInstruments(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1081:23: error: request for member 'slotModifyMIDIFilters' in '* _t', which is of non-class type 'int' 1081 | case 107: _t->slotModifyMIDIFilters(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1082:23: error: request for member 'slotManageMetronome' in '* _t', which is of non-class type 'int' 1082 | case 108: _t->slotManageMetronome(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1083:23: error: request for member 'slotSaveDefaultStudio' in '* _t', which is of non-class type 'int' 1083 | case 109: _t->slotSaveDefaultStudio(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1084:23: error: request for member 'slotImportStudio' in '* _t', which is of non-class type 'int' 1084 | case 110: _t->slotImportStudio(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1085:23: error: request for member 'slotImportDefaultStudio' in '* _t', which is of non-class type 'int' 1085 | case 111: _t->slotImportDefaultStudio(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1086:23: error: request for member 'slotImportStudioFromFile' in '* _t', which is of non-class type 'int' 1086 | case 112: _t->slotImportStudioFromFile((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1087:23: error: request for member 'slotResetMidiNetwork' in '* _t', which is of non-class type 'int' 1087 | case 113: _t->slotResetMidiNetwork(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1088:23: error: request for member 'slotToggleToolBar' in '* _t', which is of non-class type 'int' 1088 | case 114: _t->slotToggleToolBar(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1089:23: error: request for member 'slotToggleTransport' in '* _t', which is of non-class type 'int' 1089 | case 115: _t->slotToggleTransport(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1090:23: error: request for member 'slotToggleTransportVisibility' in '* _t', which is of non-class type 'int' 1090 | case 116: _t->slotToggleTransportVisibility(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1091:23: error: request for member 'slotToggleToolsToolBar' in '* _t', which is of non-class type 'int' 1091 | case 117: _t->slotToggleToolsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1092:23: error: request for member 'slotToggleTracksToolBar' in '* _t', which is of non-class type 'int' 1092 | case 118: _t->slotToggleTracksToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1093:23: error: request for member 'slotToggleEditorsToolBar' in '* _t', which is of non-class type 'int' 1093 | case 119: _t->slotToggleEditorsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1094:23: error: request for member 'slotToggleTransportToolBar' in '* _t', which is of non-class type 'int' 1094 | case 120: _t->slotToggleTransportToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1095:23: error: request for member 'slotToggleZoomToolBar' in '* _t', which is of non-class type 'int' 1095 | case 121: _t->slotToggleZoomToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1096:23: error: request for member 'slotToggleStatusBar' in '* _t', which is of non-class type 'int' 1096 | case 122: _t->slotToggleStatusBar(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1097:23: error: request for member 'slotStatusMsg' in '* _t', which is of non-class type 'int' 1097 | case 123: _t->slotStatusMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1098:23: error: request for member 'slotStatusHelpMsg' in '* _t', which is of non-class type 'int' 1098 | case 124: _t->slotStatusHelpMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1099:23: error: request for member 'slotEnableTransport' in '* _t', which is of non-class type 'int' 1099 | case 125: _t->slotEnableTransport((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1100:23: error: request for member 'slotPointerSelected' in '* _t', which is of non-class type 'int' 1100 | case 126: _t->slotPointerSelected(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1101:23: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 1101 | case 127: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1102:23: error: request for member 'slotDrawSelected' in '* _t', which is of non-class type 'int' 1102 | case 128: _t->slotDrawSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1103:23: error: request for member 'slotMoveSelected' in '* _t', which is of non-class type 'int' 1103 | case 129: _t->slotMoveSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1104:23: error: request for member 'slotResizeSelected' in '* _t', which is of non-class type 'int' 1104 | case 130: _t->slotResizeSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1105:23: error: request for member 'slotJoinSelected' in '* _t', which is of non-class type 'int' 1105 | case 131: _t->slotJoinSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1106:23: error: request for member 'slotSplitSelected' in '* _t', which is of non-class type 'int' 1106 | case 132: _t->slotSplitSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1107:23: error: request for member 'slotAddTrack' in '* _t', which is of non-class type 'int' 1107 | case 133: _t->slotAddTrack(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1108:23: error: request for member 'slotAddTracks' in '* _t', which is of non-class type 'int' 1108 | case 134: _t->slotAddTracks(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1109:23: error: request for member 'slotDeleteTrack' in '* _t', which is of non-class type 'int' 1109 | case 135: _t->slotDeleteTrack(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1110:23: error: request for member 'slotMoveTrackUp' in '* _t', which is of non-class type 'int' 1110 | case 136: _t->slotMoveTrackUp(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1111:23: error: request for member 'slotMoveTrackDown' in '* _t', which is of non-class type 'int' 1111 | case 137: _t->slotMoveTrackDown(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1112:23: error: request for member 'slotSetPointerPosition' in '* _t', which is of non-class type 'int' 1112 | case 138: _t->slotSetPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1113:23: error: request for member 'slotSetPlayPosition' in '* _t', which is of non-class type 'int' 1113 | case 139: _t->slotSetPlayPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1114:23: error: request for member 'slotSetLoop' in '* _t', which is of non-class type 'int' 1114 | case 140: _t->slotSetLoop((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1115:23: error: request for member 'slotDisplayBarTime' in '* _t', which is of non-class type 'int' 1115 | case 141: _t->slotDisplayBarTime((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1116:23: error: request for member 'slotPlay' in '* _t', which is of non-class type 'int' 1116 | case 142: _t->slotPlay(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1117:23: error: request for member 'slotStop' in '* _t', which is of non-class type 'int' 1117 | case 143: _t->slotStop(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1118:23: error: request for member 'slotRewind' in '* _t', which is of non-class type 'int' 1118 | case 144: _t->slotRewind(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1119:23: error: request for member 'slotFastforward' in '* _t', which is of non-class type 'int' 1119 | case 145: _t->slotFastforward(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1120:23: error: request for member 'slotRecord' in '* _t', which is of non-class type 'int' 1120 | case 146: _t->slotRecord(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1121:23: error: request for member 'slotToggleRecord' in '* _t', which is of non-class type 'int' 1121 | case 147: _t->slotToggleRecord(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1122:23: error: request for member 'slotRewindToBeginning' in '* _t', which is of non-class type 'int' 1122 | case 148: _t->slotRewindToBeginning(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1123:23: error: request for member 'slotFastForwardToEnd' in '* _t', which is of non-class type 'int' 1123 | case 149: _t->slotFastForwardToEnd(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1124:23: error: request for member 'slotJumpToTime' in '* _t', which is of non-class type 'int' 1124 | case 150: _t->slotJumpToTime((*reinterpret_cast< RealTime(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1125:23: error: request for member 'slotStartAtTime' in '* _t', which is of non-class type 'int' 1125 | case 151: _t->slotStartAtTime((*reinterpret_cast< RealTime(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1126:23: error: request for member 'slotRefreshTimeDisplay' in '* _t', which is of non-class type 'int' 1126 | case 152: _t->slotRefreshTimeDisplay(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1127:23: error: request for member 'slotToggleTracking' in '* _t', which is of non-class type 'int' 1127 | case 153: _t->slotToggleTracking(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1128:23: error: request for member 'slotSequencerExited' in '* _t', which is of non-class type 'int' 1128 | case 154: _t->slotSequencerExited(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1129:23: error: request for member 'slotCloseTransport' in '* _t', which is of non-class type 'int' 1129 | case 155: _t->slotCloseTransport(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1130:23: error: request for member 'slotDeleteTransport' in '* _t', which is of non-class type 'int' 1130 | case 156: _t->slotDeleteTransport(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1131:23: error: request for member 'slotActivateTool' in '* _t', which is of non-class type 'int' 1131 | case 157: _t->slotActivateTool((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1132:23: error: request for member 'slotToggleMetronome' in '* _t', which is of non-class type 'int' 1132 | case 158: _t->slotToggleMetronome(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1133:23: error: request for member 'slotToggleSolo' in '* _t', which is of non-class type 'int' 1133 | case 159: _t->slotToggleSolo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1134:23: error: request for member 'slotSetLoop' in '* _t', which is of non-class type 'int' 1134 | case 160: _t->slotSetLoop(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1135:23: error: request for member 'slotUnsetLoop' in '* _t', which is of non-class type 'int' 1135 | case 161: _t->slotUnsetLoop(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1136:23: error: request for member 'slotSetLoopStart' in '* _t', which is of non-class type 'int' 1136 | case 162: _t->slotSetLoopStart(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1137:23: error: request for member 'slotSetLoopStop' in '* _t', which is of non-class type 'int' 1137 | case 163: _t->slotSetLoopStop(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1138:23: error: request for member 'slotToggleTrackLabels' in '* _t', which is of non-class type 'int' 1138 | case 164: _t->slotToggleTrackLabels(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1139:23: error: request for member 'slotToggleRulers' in '* _t', which is of non-class type 'int' 1139 | case 165: _t->slotToggleRulers(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1140:23: error: request for member 'slotToggleTempoRuler' in '* _t', which is of non-class type 'int' 1140 | case 166: _t->slotToggleTempoRuler(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1141:23: error: request for member 'slotToggleChordNameRuler' in '* _t', which is of non-class type 'int' 1141 | case 167: _t->slotToggleChordNameRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1142:23: error: request for member 'slotTogglePreviews' in '* _t', which is of non-class type 'int' 1142 | case 168: _t->slotTogglePreviews(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1143:23: error: request for member 'slotHideShowParameterArea' in '* _t', which is of non-class type 'int' 1143 | case 169: _t->slotHideShowParameterArea(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1144:23: error: request for member 'slotParameterAreaHidden' in '* _t', which is of non-class type 'int' 1144 | case 170: _t->slotParameterAreaHidden(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1145:23: error: request for member 'slotShowTip' in '* _t', which is of non-class type 'int' 1145 | case 171: _t->slotShowTip(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1146:23: error: request for member 'slotTrackUp' in '* _t', which is of non-class type 'int' 1146 | case 172: _t->slotTrackUp(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1147:23: error: request for member 'slotTrackDown' in '* _t', which is of non-class type 'int' 1147 | case 173: _t->slotTrackDown(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1148:23: error: request for member 'slotToggleRecordCurrentTrack' in '* _t', which is of non-class type 'int' 1148 | case 174: _t->slotToggleRecordCurrentTrack(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1149:23: error: request for member 'slotConfigure' in '* _t', which is of non-class type 'int' 1149 | case 175: _t->slotConfigure(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1150:23: error: request for member 'slotUpdateToolbars' in '* _t', which is of non-class type 'int' 1150 | case 176: _t->slotUpdateToolbars(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1151:23: error: request for member 'slotChangeZoom' in '* _t', which is of non-class type 'int' 1151 | case 177: _t->slotChangeZoom((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1152:23: error: request for member 'slotZoomIn' in '* _t', which is of non-class type 'int' 1152 | case 178: _t->slotZoomIn(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1153:23: error: request for member 'slotZoomOut' in '* _t', which is of non-class type 'int' 1153 | case 179: _t->slotZoomOut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1154:23: error: request for member 'slotAddMarker' in '* _t', which is of non-class type 'int' 1154 | case 180: _t->slotAddMarker((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1155:23: error: request for member 'slotDeleteMarker' in '* _t', which is of non-class type 'int' 1155 | case 181: _t->slotDeleteMarker((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1156:23: error: request for member 'slotDocumentModified' in '* _t', which is of non-class type 'int' 1156 | case 182: _t->slotDocumentModified((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1157:23: error: request for member 'slotDocumentModified' in '* _t', which is of non-class type 'int' 1157 | case 183: _t->slotDocumentModified(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1158:23: error: request for member 'slotStateChanged' in '* _t', which is of non-class type 'int' 1158 | case 184: _t->slotStateChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1159:23: error: request for member 'slotTestClipboard' in '* _t', which is of non-class type 'int' 1159 | case 185: _t->slotTestClipboard(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1160:23: error: request for member 'slotPlayList' in '* _t', which is of non-class type 'int' 1160 | case 186: _t->slotPlayList(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1161:23: error: request for member 'slotPlayListPlay' in '* _t', which is of non-class type 'int' 1161 | case 187: _t->slotPlayListPlay((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1162:23: error: request for member 'slotHelp' in '* _t', which is of non-class type 'int' 1162 | case 188: _t->slotHelp(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1163:23: error: request for member 'slotTutorial' in '* _t', which is of non-class type 'int' 1163 | case 189: _t->slotTutorial(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1164:23: error: request for member 'slotBugGuidelines' in '* _t', which is of non-class type 'int' 1164 | case 190: _t->slotBugGuidelines(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1165:23: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 1165 | case 191: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1166:23: error: request for member 'slotHelpAboutQt' in '* _t', which is of non-class type 'int' 1166 | case 192: _t->slotHelpAboutQt(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1167:23: error: request for member 'slotDonate' in '* _t', which is of non-class type 'int' 1167 | case 193: _t->slotDonate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1168:23: error: request for member 'slotManageTriggerSegments' in '* _t', which is of non-class type 'int' 1168 | case 194: _t->slotManageTriggerSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1169:23: error: request for member 'slotAudioManager' in '* _t', which is of non-class type 'int' 1169 | case 195: _t->slotAudioManager(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1170:23: error: request for member 'slotAddAudioFile' in '* _t', which is of non-class type 'int' 1170 | case 196: _t->slotAddAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1171:23: error: request for member 'slotDeleteAudioFile' in '* _t', which is of non-class type 'int' 1171 | case 197: _t->slotDeleteAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1172:23: error: request for member 'slotPlayAudioFile' in '* _t', which is of non-class type 'int' 1172 | case 198: _t->slotPlayAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< const RealTime(*)>(_a[2])),(*reinterpret_cast< const RealTime(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1173:23: error: request for member 'slotCancelAudioPlayingFile' in '* _t', which is of non-class type 'int' 1173 | case 199: _t->slotCancelAudioPlayingFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1174:23: error: request for member 'slotDeleteAllAudioFiles' in '* _t', which is of non-class type 'int' 1174 | case 200: _t->slotDeleteAllAudioFiles(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1175:23: error: request for member 'slotDeleteSegments' in '* _t', which is of non-class type 'int' 1175 | case 201: _t->slotDeleteSegments((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1176:23: error: request for member 'slotRepeatingSegments' in '* _t', which is of non-class type 'int' 1176 | case 202: _t->slotRepeatingSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1177:23: error: request for member 'slotLinksToCopies' in '* _t', which is of non-class type 'int' 1177 | case 203: _t->slotLinksToCopies(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1178:23: error: request for member 'slotRelabelSegments' in '* _t', which is of non-class type 'int' 1178 | case 204: _t->slotRelabelSegments(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1179:23: error: request for member 'slotTransposeSegments' in '* _t', which is of non-class type 'int' 1179 | case 205: _t->slotTransposeSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1180:23: error: request for member 'slotSwitchPreset' in '* _t', which is of non-class type 'int' 1180 | case 206: _t->slotSwitchPreset(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1181:23: error: request for member 'slotPanic' in '* _t', which is of non-class type 'int' 1181 | case 207: _t->slotPanic(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1182:23: error: request for member 'slotAutoSave' in '* _t', which is of non-class type 'int' 1182 | case 208: _t->slotAutoSave(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1183:23: error: request for member 'slotUpdateAutoSaveInterval' in '* _t', which is of non-class type 'int' 1183 | case 209: _t->slotUpdateAutoSaveInterval((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1184:23: error: request for member 'slotPlayListClosed' in '* _t', which is of non-class type 'int' 1184 | case 210: _t->slotPlayListClosed(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1185:23: error: request for member 'slotBankEditorClosed' in '* _t', which is of non-class type 'int' 1185 | case 211: _t->slotBankEditorClosed(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1186:23: error: request for member 'slotSynthPluginManagerClosed' in '* _t', which is of non-class type 'int' 1186 | case 212: _t->slotSynthPluginManagerClosed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1187:23: error: request for member 'slotMidiMixerClosed' in '* _t', which is of non-class type 'int' 1187 | case 213: _t->slotMidiMixerClosed(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1188:23: error: request for member 'slotControlEditorClosed' in '* _t', which is of non-class type 'int' 1188 | case 214: _t->slotControlEditorClosed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1189:23: error: request for member 'slotMarkerEditorClosed' in '* _t', which is of non-class type 'int' 1189 | case 215: _t->slotMarkerEditorClosed(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1190:23: error: request for member 'slotTempoViewClosed' in '* _t', which is of non-class type 'int' 1190 | case 216: _t->slotTempoViewClosed(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1191:23: error: request for member 'slotTriggerManagerClosed' in '* _t', which is of non-class type 'int' 1191 | case 217: _t->slotTriggerManagerClosed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1192:23: error: request for member 'slotAudioManagerClosed' in '* _t', which is of non-class type 'int' 1192 | case 218: _t->slotAudioManagerClosed(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1193:23: error: request for member 'slotUpdateMonitoring' in '* _t', which is of non-class type 'int' 1193 | case 219: _t->slotUpdateMonitoring(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1194:23: error: request for member 'slotShowPluginDialog' in '* _t', which is of non-class type 'int' 1194 | case 220: _t->slotShowPluginDialog((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1195:23: error: request for member 'slotPluginSelected' in '* _t', which is of non-class type 'int' 1195 | case 221: _t->slotPluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1196:23: error: request for member 'slotChangePluginPort' in '* _t', which is of non-class type 'int' 1196 | case 222: _t->slotChangePluginPort((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1197:23: error: request for member 'slotPluginPortChanged' in '* _t', which is of non-class type 'int' 1197 | case 223: _t->slotPluginPortChanged((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1198:23: error: request for member 'slotChangePluginProgram' in '* _t', which is of non-class type 'int' 1198 | case 224: _t->slotChangePluginProgram((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1199:23: error: request for member 'slotPluginProgramChanged' in '* _t', which is of non-class type 'int' 1199 | case 225: _t->slotPluginProgramChanged((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1200:23: error: request for member 'slotChangePluginConfiguration' in '* _t', which is of non-class type 'int' 1200 | case 226: _t->slotChangePluginConfiguration((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:15: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1201:23: error: request for member 'slotPluginDialogDestroyed' in '* _t', which is of non-class type 'int' 1201 | case 227: _t->slotPluginDialogDestroyed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1202:23: error: request for member 'slotPluginBypassed' in '* _t', which is of non-class type 'int' 1202 | case 228: _t->slotPluginBypassed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1203:23: error: request for member 'slotShowPluginGUI' in '* _t', which is of non-class type 'int' 1203 | case 229: _t->slotShowPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1204:23: error: request for member 'slotStopPluginGUI' in '* _t', which is of non-class type 'int' 1204 | case 230: _t->slotStopPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1205:23: error: request for member 'slotPluginGUIExited' in '* _t', which is of non-class type 'int' 1205 | case 231: _t->slotPluginGUIExited((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1206:23: error: request for member 'slotDocumentDevicesResyncd' in '* _t', which is of non-class type 'int' 1206 | case 232: _t->slotDocumentDevicesResyncd(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1207:23: error: request for member 'slotTestStartupTester' in '* _t', which is of non-class type 'int' 1207 | case 233: _t->slotTestStartupTester(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1208:23: error: request for member 'slotDebugDump' in '* _t', which is of non-class type 'int' 1208 | case 234: _t->slotDebugDump(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1209:23: error: request for member 'slotShowToolHelp' in '* _t', which is of non-class type 'int' 1209 | case 235: _t->slotShowToolHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1210:23: error: request for member 'slotNewerVersionAvailable' in '* _t', which is of non-class type 'int' 1210 | case 236: _t->slotNewerVersionAvailable((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1211:23: error: request for member 'slotSetQuickMarker' in '* _t', which is of non-class type 'int' 1211 | case 237: _t->slotSetQuickMarker(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1212:23: error: request for member 'slotJumpToQuickMarker' in '* _t', which is of non-class type 'int' 1212 | case 238: _t->slotJumpToQuickMarker(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1213:23: error: request for member 'slotDisplayWarning' in '* _t', which is of non-class type 'int' 1213 | case 239: _t->slotDisplayWarning((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1214:23: error: request for member 'setupRecentFilesMenu' in '* _t', which is of non-class type 'int' 1214 | case 240: _t->setupRecentFilesMenu(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1215:23: error: request for member 'signalAction' in '* _t', which is of non-class type 'int' 1215 | case 241: _t->signalAction((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1216:23: error: request for member 'slotHandleInputs' in '* _t', which is of non-class type 'int' 1216 | case 242: _t->slotHandleInputs(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1217:23: error: request for member 'slotUpdateUI' in '* _t', which is of non-class type 'int' 1217 | case 243: _t->slotUpdateUI(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1218:23: error: request for member 'slotUpdateCPUMeter' in '* _t', which is of non-class type 'int' 1218 | case 244: _t->slotUpdateCPUMeter(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1219:23: error: request for member 'slotToggleMute' in '* _t', which is of non-class type 'int' 1219 | case 245: _t->slotToggleMute(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1220:23: error: request for member 'slotMuteAllTracks' in '* _t', which is of non-class type 'int' 1220 | case 246: _t->slotMuteAllTracks(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1221:23: error: request for member 'slotUnmuteAllTracks' in '* _t', which is of non-class type 'int' 1221 | case 247: _t->slotUnmuteAllTracks(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1287:19: error: expected nested-name-specifier before '_t' 1287 | using _t = void (RosegardenMainWindow::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:35: error: '_t' does not name a type; did you mean 'Qt'? 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:38: error: expected '>' before '*' token 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:38: error: expected '(' before '*' token 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:39: error: expected primary-expression before '>' token 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:63: error: '_t' does not name a type; did you mean 'Qt'? 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1288:112: error: expected ')' before '{' token 1288 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::startupStatusMessage)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1292:9: error: expected primary-expression before '}' token 1292 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1294:19: error: expected nested-name-specifier before '_t' 1294 | using _t = void (RosegardenMainWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:35: error: '_t' does not name a type; did you mean 'Qt'? 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:38: error: expected '>' before '*' token 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:38: error: expected '(' before '*' token 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:39: error: expected primary-expression before '>' token 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:63: error: '_t' does not name a type; did you mean 'Qt'? 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1295:113: error: expected ')' before '{' token 1295 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentAboutToChange)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1299:9: error: expected primary-expression before '}' token 1299 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1301:19: error: expected nested-name-specifier before '_t' 1301 | using _t = void (RosegardenMainWindow::*)(RosegardenDocument * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:35: error: '_t' does not name a type; did you mean 'Qt'? 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:38: error: expected '>' before '*' token 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:38: error: expected '(' before '*' token 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:39: error: expected primary-expression before '>' token 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:63: error: '_t' does not name a type; did you mean 'Qt'? 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1302:107: error: expected ')' before '{' token 1302 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::documentChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1306:9: error: expected primary-expression before '}' token 1306 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1308:19: error: expected nested-name-specifier before '_t' 1308 | using _t = void (RosegardenMainWindow::*)(const SegmentSelection & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:35: error: '_t' does not name a type; did you mean 'Qt'? 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:38: error: expected '>' before '*' token 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:38: error: expected '(' before '*' token 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:39: error: expected primary-expression before '>' token 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:63: error: '_t' does not name a type; did you mean 'Qt'? 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1309:108: error: expected ')' before '{' token 1309 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::segmentsSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1313:9: error: expected primary-expression before '}' token 1313 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1315:19: error: expected nested-name-specifier before '_t' 1315 | using _t = void (RosegardenMainWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:35: error: '_t' does not name a type; did you mean 'Qt'? 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:38: error: expected '>' before '*' token 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:38: error: expected '(' before '*' token 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:39: error: expected primary-expression before '>' token 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:63: error: '_t' does not name a type; did you mean 'Qt'? 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1316:114: error: expected ')' before '{' token 1316 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::compositionStateUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1320:9: error: expected primary-expression before '}' token 1320 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1322:19: error: expected nested-name-specifier before '_t' 1322 | using _t = void (RosegardenMainWindow::*)(Instrument * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:35: error: '_t' does not name a type; did you mean 'Qt'? 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:38: error: expected '>' before '*' token 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:38: error: expected '(' before '*' token 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:39: error: expected primary-expression before '>' token 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:63: error: '_t' does not name a type; did you mean 'Qt'? 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1323:122: error: expected ')' before '{' token 1323 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::instrumentPercussionSetChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1327:9: error: expected primary-expression before '}' token 1327 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1329:19: error: expected nested-name-specifier before '_t' 1329 | using _t = void (RosegardenMainWindow::*)(InstrumentId , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:35: error: '_t' does not name a type; did you mean 'Qt'? 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:38: error: expected '>' before '*' token 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:38: error: expected '(' before '*' token 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:39: error: expected primary-expression before '>' token 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:63: error: '_t' does not name a type; did you mean 'Qt'? 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1330:106: error: expected ')' before '{' token 1330 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1334:9: error: expected primary-expression before '}' token 1334 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1336:19: error: expected nested-name-specifier before '_t' 1336 | using _t = void (RosegardenMainWindow::*)(InstrumentId , int , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:35: error: '_t' does not name a type; did you mean 'Qt'? 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:38: error: expected '>' before '*' token 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:38: error: expected '(' before '*' token 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:39: error: expected primary-expression before '>' token 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:63: error: '_t' does not name a type; did you mean 'Qt'? 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1337:106: error: expected ')' before '{' token 1337 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenMainWindow::pluginBypassed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1341:9: error: expected primary-expression before '}' token 1341 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1285:14: warning: unused variable 'result' [-Wunused-variable] 1285 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1350:5: error: 'nullptr' was not declared in this scope 1350 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1351:5: error: 'nullptr' was not declared in this scope 1351 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'virtual void* Rosegarden::RosegardenMainWindow::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1362:26: error: 'nullptr' was not declared in this scope 1362 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::startupStatusMessage(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1390:20: error: 'nullptr' was not declared in this scope 1390 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::documentAboutToChange()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1397:55: error: 'nullptr' was not declared in this scope 1397 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::documentChanged(Rosegarden::RosegardenDocument*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1403:20: error: 'nullptr' was not declared in this scope 1403 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::segmentsSelected(const SegmentSelection&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1410:20: error: 'nullptr' was not declared in this scope 1410 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::compositionStateUpdate()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1417:55: error: 'nullptr' was not declared in this scope 1417 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::instrumentPercussionSetChanged(Rosegarden::Instrument*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1423:20: error: 'nullptr' was not declared in this scope 1423 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::pluginSelected(Rosegarden::InstrumentId, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1430:20: error: 'nullptr' was not declared in this scope 1430 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp: In member function 'void Rosegarden::RosegardenMainWindow::pluginBypassed(Rosegarden::InstrumentId, int, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_RosegardenMainWindow.cpp:1437:20: error: 'nullptr' was not declared in this scope 1437 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/StartupTester.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/StartupTester.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/StartupTester.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:16: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp: In static member function 'static void Rosegarden::StartupTester::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:78:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 78 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:78:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 78 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:78:20: error: cannot convert 'Rosegarden::StartupTester*' to 'int*' in initialization 78 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::StartupTester* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:81:21: error: request for member 'newerVersionAvailable' in '* _t', which is of non-class type 'int' 81 | case 0: _t->newerVersionAvailable((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:82:21: error: request for member 'slotNetworkFinished' in '* _t', which is of non-class type 'int' 82 | case 1: _t->slotNetworkFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:88:19: error: expected nested-name-specifier before '_t' 88 | using _t = void (StartupTester::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:35: error: '_t' does not name a type; did you mean 'Qt'? 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:38: error: expected '>' before '*' token 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:38: error: expected '(' before '*' token 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:39: error: expected primary-expression before '>' token 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:63: error: '_t' does not name a type; did you mean 'Qt'? 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:89:106: error: expected ')' before '{' token 89 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartupTester::newerVersionAvailable)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:93:9: error: expected primary-expression before '}' token 93 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:86:14: warning: unused variable 'result' [-Wunused-variable] 86 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:103:5: error: 'nullptr' was not declared in this scope 103 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp: In member function 'virtual void* Rosegarden::StartupTester::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:114:26: error: 'nullptr' was not declared in this scope 114 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp: In member function 'void Rosegarden::StartupTester::newerVersionAvailable(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_StartupTester.cpp:140:20: error: 'nullptr' was not declared in this scope 140 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/TranzportClient.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/TranzportClient.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/application/TranzportClient.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:17: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In static member function 'static void Rosegarden::TranzportClient::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:144:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 144 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:144:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 144 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:144:20: error: cannot convert 'Rosegarden::TranzportClient*' to 'int*' in initialization 144 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TranzportClient* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:147:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 147 | case 0: _t->play(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:148:21: error: request for member 'stop' in '* _t', which is of non-class type 'int' 148 | case 1: _t->stop(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:149:21: error: request for member 'record' in '* _t', which is of non-class type 'int' 149 | case 2: _t->record(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:150:21: error: request for member 'rewind' in '* _t', which is of non-class type 'int' 150 | case 3: _t->rewind(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:151:21: error: request for member 'rewindToBeginning' in '* _t', which is of non-class type 'int' 151 | case 4: _t->rewindToBeginning(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:152:21: error: request for member 'fastForward' in '* _t', which is of non-class type 'int' 152 | case 5: _t->fastForward(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:153:21: error: request for member 'fastForwardToEnd' in '* _t', which is of non-class type 'int' 153 | case 6: _t->fastForwardToEnd(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:154:21: error: request for member 'toggleRecord' in '* _t', which is of non-class type 'int' 154 | case 7: _t->toggleRecord(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:155:21: error: request for member 'trackDown' in '* _t', which is of non-class type 'int' 155 | case 8: _t->trackDown(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:156:21: error: request for member 'trackUp' in '* _t', which is of non-class type 'int' 156 | case 9: _t->trackUp(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:157:22: error: request for member 'trackMute' in '* _t', which is of non-class type 'int' 157 | case 10: _t->trackMute(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:158:22: error: request for member 'trackRecord' in '* _t', which is of non-class type 'int' 158 | case 11: _t->trackRecord(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:159:22: error: request for member 'solo' in '* _t', which is of non-class type 'int' 159 | case 12: _t->solo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:160:22: error: request for member 'undo' in '* _t', which is of non-class type 'int' 160 | case 13: _t->undo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:161:22: error: request for member 'redo' in '* _t', which is of non-class type 'int' 161 | case 14: _t->redo(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:162:22: error: request for member 'setPosition' in '* _t', which is of non-class type 'int' 162 | case 15: _t->setPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:163:22: error: request for member 'readData' in '* _t', which is of non-class type 'int' 163 | case 16: _t->readData(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:164:22: error: request for member 'documentChanged' in '* _t', which is of non-class type 'int' 164 | case 17: _t->documentChanged((*reinterpret_cast< RosegardenDocument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:165:22: error: request for member 'writeCommandQueue' in '* _t', which is of non-class type 'int' 165 | case 18: _t->writeCommandQueue(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:166:22: error: request for member 'pointerPositionChanged' in '* _t', which is of non-class type 'int' 166 | case 19: _t->pointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:167:22: error: request for member 'loopChanged' in '* _t', which is of non-class type 'int' 167 | case 20: _t->loopChanged((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:173:19: error: expected nested-name-specifier before '_t' 173 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:35: error: '_t' does not name a type; did you mean 'Qt'? 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:38: error: expected '>' before '*' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:38: error: expected '(' before '*' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:39: error: expected primary-expression before '>' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:63: error: '_t' does not name a type; did you mean 'Qt'? 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:174:91: error: expected ')' before '{' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:178:9: error: expected primary-expression before '}' token 178 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:180:19: error: expected nested-name-specifier before '_t' 180 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:35: error: '_t' does not name a type; did you mean 'Qt'? 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:38: error: expected '>' before '*' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:38: error: expected '(' before '*' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:39: error: expected primary-expression before '>' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:63: error: '_t' does not name a type; did you mean 'Qt'? 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:181:91: error: expected ')' before '{' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::stop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:185:9: error: expected primary-expression before '}' token 185 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:187:19: error: expected nested-name-specifier before '_t' 187 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:35: error: '_t' does not name a type; did you mean 'Qt'? 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:38: error: expected '>' before '*' token 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:38: error: expected '(' before '*' token 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:39: error: expected primary-expression before '>' token 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:63: error: '_t' does not name a type; did you mean 'Qt'? 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:188:93: error: expected ')' before '{' token 188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::record)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:192:9: error: expected primary-expression before '}' token 192 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:194:19: error: expected nested-name-specifier before '_t' 194 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:35: error: '_t' does not name a type; did you mean 'Qt'? 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:38: error: expected '>' before '*' token 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:38: error: expected '(' before '*' token 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:39: error: expected primary-expression before '>' token 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:63: error: '_t' does not name a type; did you mean 'Qt'? 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:195:93: error: expected ')' before '{' token 195 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewind)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:199:9: error: expected primary-expression before '}' token 199 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:201:19: error: expected nested-name-specifier before '_t' 201 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:35: error: '_t' does not name a type; did you mean 'Qt'? 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:38: error: expected '>' before '*' token 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:38: error: expected '(' before '*' token 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:39: error: expected primary-expression before '>' token 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:63: error: '_t' does not name a type; did you mean 'Qt'? 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:202:104: error: expected ')' before '{' token 202 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::rewindToBeginning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:206:9: error: expected primary-expression before '}' token 206 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:208:19: error: expected nested-name-specifier before '_t' 208 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:35: error: '_t' does not name a type; did you mean 'Qt'? 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:38: error: expected '>' before '*' token 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:38: error: expected '(' before '*' token 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:39: error: expected primary-expression before '>' token 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:63: error: '_t' does not name a type; did you mean 'Qt'? 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:209:98: error: expected ')' before '{' token 209 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForward)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:213:9: error: expected primary-expression before '}' token 213 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:215:19: error: expected nested-name-specifier before '_t' 215 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:35: error: '_t' does not name a type; did you mean 'Qt'? 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:38: error: expected '>' before '*' token 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:38: error: expected '(' before '*' token 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:39: error: expected primary-expression before '>' token 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:63: error: '_t' does not name a type; did you mean 'Qt'? 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:216:103: error: expected ')' before '{' token 216 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::fastForwardToEnd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:220:9: error: expected primary-expression before '}' token 220 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:222:19: error: expected nested-name-specifier before '_t' 222 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:35: error: '_t' does not name a type; did you mean 'Qt'? 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:38: error: expected '>' before '*' token 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:38: error: expected '(' before '*' token 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:39: error: expected primary-expression before '>' token 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:63: error: '_t' does not name a type; did you mean 'Qt'? 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:223:99: error: expected ')' before '{' token 223 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::toggleRecord)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:227:9: error: expected primary-expression before '}' token 227 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:229:19: error: expected nested-name-specifier before '_t' 229 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:35: error: '_t' does not name a type; did you mean 'Qt'? 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:38: error: expected '>' before '*' token 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:38: error: expected '(' before '*' token 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:39: error: expected primary-expression before '>' token 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:63: error: '_t' does not name a type; did you mean 'Qt'? 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:230:96: error: expected ')' before '{' token 230 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackDown)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:234:9: error: expected primary-expression before '}' token 234 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:236:19: error: expected nested-name-specifier before '_t' 236 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:35: error: '_t' does not name a type; did you mean 'Qt'? 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:38: error: expected '>' before '*' token 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:38: error: expected '(' before '*' token 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:39: error: expected primary-expression before '>' token 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:63: error: '_t' does not name a type; did you mean 'Qt'? 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:237:94: error: expected ')' before '{' token 237 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackUp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:241:9: error: expected primary-expression before '}' token 241 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:243:19: error: expected nested-name-specifier before '_t' 243 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:35: error: '_t' does not name a type; did you mean 'Qt'? 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:38: error: expected '>' before '*' token 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:38: error: expected '(' before '*' token 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:39: error: expected primary-expression before '>' token 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:63: error: '_t' does not name a type; did you mean 'Qt'? 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:244:96: error: expected ')' before '{' token 244 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackMute)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:248:9: error: expected primary-expression before '}' token 248 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:250:19: error: expected nested-name-specifier before '_t' 250 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:35: error: '_t' does not name a type; did you mean 'Qt'? 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:38: error: expected '>' before '*' token 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:38: error: expected '(' before '*' token 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:39: error: expected primary-expression before '>' token 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:63: error: '_t' does not name a type; did you mean 'Qt'? 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:251:98: error: expected ')' before '{' token 251 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::trackRecord)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:255:9: error: expected primary-expression before '}' token 255 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:257:19: error: expected nested-name-specifier before '_t' 257 | using _t = void (TranzportClient::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:35: error: '_t' does not name a type; did you mean 'Qt'? 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:38: error: expected '>' before '*' token 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:38: error: expected '(' before '*' token 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:39: error: expected primary-expression before '>' token 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:63: error: '_t' does not name a type; did you mean 'Qt'? 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:258:91: error: expected ')' before '{' token 258 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::solo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:262:9: error: expected primary-expression before '}' token 262 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:264:19: error: expected nested-name-specifier before '_t' 264 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:35: error: '_t' does not name a type; did you mean 'Qt'? 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:38: error: expected '>' before '*' token 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:38: error: expected '(' before '*' token 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:39: error: expected primary-expression before '>' token 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:63: error: '_t' does not name a type; did you mean 'Qt'? 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:265:91: error: expected ')' before '{' token 265 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::undo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:269:9: error: expected primary-expression before '}' token 269 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:271:19: error: expected nested-name-specifier before '_t' 271 | using _t = void (TranzportClient::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:35: error: '_t' does not name a type; did you mean 'Qt'? 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:38: error: expected '>' before '*' token 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:38: error: expected '(' before '*' token 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:39: error: expected primary-expression before '>' token 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:63: error: '_t' does not name a type; did you mean 'Qt'? 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:272:91: error: expected ')' before '{' token 272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::redo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:276:9: error: expected primary-expression before '}' token 276 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:278:19: error: expected nested-name-specifier before '_t' 278 | using _t = void (TranzportClient::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:35: error: '_t' does not name a type; did you mean 'Qt'? 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:38: error: expected '>' before '*' token 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:38: error: expected '(' before '*' token 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:39: error: expected primary-expression before '>' token 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:63: error: '_t' does not name a type; did you mean 'Qt'? 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:279:98: error: expected ')' before '{' token 279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranzportClient::setPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:283:9: error: expected primary-expression before '}' token 283 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:171:14: warning: unused variable 'result' [-Wunused-variable] 171 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:292:5: error: 'nullptr' was not declared in this scope 292 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:293:5: error: 'nullptr' was not declared in this scope 293 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'virtual void* Rosegarden::TranzportClient::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:304:26: error: 'nullptr' was not declared in this scope 304 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::play()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:332:55: error: 'nullptr' was not declared in this scope 332 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::stop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:338:55: error: 'nullptr' was not declared in this scope 338 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::record()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:344:55: error: 'nullptr' was not declared in this scope 344 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::rewind()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:350:55: error: 'nullptr' was not declared in this scope 350 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::rewindToBeginning()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:356:55: error: 'nullptr' was not declared in this scope 356 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::fastForward()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:362:55: error: 'nullptr' was not declared in this scope 362 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::fastForwardToEnd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:368:55: error: 'nullptr' was not declared in this scope 368 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::toggleRecord()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:374:55: error: 'nullptr' was not declared in this scope 374 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::trackDown()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:380:55: error: 'nullptr' was not declared in this scope 380 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::trackUp()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:386:55: error: 'nullptr' was not declared in this scope 386 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::trackMute()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:392:56: error: 'nullptr' was not declared in this scope 392 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::trackRecord()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:398:56: error: 'nullptr' was not declared in this scope 398 | QMetaObject::activate(this, &staticMetaObject, 11, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::solo(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:404:20: error: 'nullptr' was not declared in this scope 404 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::undo()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:411:56: error: 'nullptr' was not declared in this scope 411 | QMetaObject::activate(this, &staticMetaObject, 13, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::redo()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:417:56: error: 'nullptr' was not declared in this scope 417 | QMetaObject::activate(this, &staticMetaObject, 14, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp: In member function 'void Rosegarden::TranzportClient::setPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IPVUKHDIVI/moc_TranzportClient.cpp:423:20: error: 'nullptr' was not declared in this scope 423 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ConfigurationPage.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ConfigurationPage.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/TabbedConfigurationPage.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/TabbedConfigurationPage.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qpen.h:133:1: error: 'is_integral' is not a member of 'std' 133 | Q_DECLARE_SHARED(QPen) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpen.h:133:1: error: expected primary-expression before '>' token 133 | Q_DECLARE_SHARED(QPen) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qpen.h:133:1: error: '::value' has not been declared 133 | Q_DECLARE_SHARED(QPen) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextoption.h: In member function 'bool QTextOption::Tab::operator==(const QTextOption::Tab&) const': /usr/include/qt5/QtGui/qtextoption.h:72:61: error: call of overloaded 'qFuzzyCompare(const qreal&, const qreal&)' is ambiguous 72 | && qFuzzyCompare(position, other.position) | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextformat.h:51, from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextoption.h:152:11: error: cannot convert 'Qt::Alignment' {aka 'QFlags'} to 'uint' {aka 'unsigned int'} in assignment 152 | { align = aalignment; } | ^~~~~~~~~~ | | | Qt::Alignment {aka QFlags} /usr/include/qt5/QtGui/qtextoption.h: In member function 'void QTextOption::setFlags(QTextOption::Flags)': /usr/include/qt5/QtGui/qtextoption.h:155:7: error: cannot convert 'QTextOption::Flags' {aka 'QFlags'} to 'uint' {aka 'unsigned int'} in assignment 155 | { f = aflags; } | ^~~~~~ | | | QTextOption::Flags {aka QFlags} In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'bool QTextLength::operator==(const QTextLength&) const': /usr/include/qt5/QtGui/qtextformat.h:108:83: error: call of overloaded 'qFuzzyCompare(const qreal&, const qreal&)' is ambiguous 108 | && qFuzzyCompare(fixedValueOrPercentage, other.fixedValueOrPercentage); } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'bool QTextLength::operator!=(const QTextLength&) const': /usr/include/qt5/QtGui/qtextformat.h:111:84: error: call of overloaded 'qFuzzyCompare(const qreal&, const qreal&)' is ambiguous 111 | || !qFuzzyCompare(fixedValueOrPercentage, other.fixedValueOrPercentage); } | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextformat.h: At global scope: /usr/include/qt5/QtGui/qtextformat.h:120:1: error: 'is_integral' is not a member of 'std' 120 | Q_DECLARE_TYPEINFO(QTextLength, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:120:1: error: expected primary-expression before '>' token 120 | Q_DECLARE_TYPEINFO(QTextLength, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:120:1: error: '::value' has not been declared 120 | Q_DECLARE_TYPEINFO(QTextLength, QT_VERSION >= QT_VERSION_CHECK(6,0,0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:384:1: error: 'is_integral' is not a member of 'std' 384 | Q_DECLARE_SHARED(QTextFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:384:1: error: expected primary-expression before '>' token 384 | Q_DECLARE_SHARED(QTextFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:384:1: error: '::value' has not been declared 384 | Q_DECLARE_SHARED(QTextFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:563:1: error: 'is_integral' is not a member of 'std' 563 | Q_DECLARE_SHARED(QTextCharFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:563:1: error: expected primary-expression before '>' token 563 | Q_DECLARE_SHARED(QTextCharFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:563:1: error: '::value' has not been declared 563 | Q_DECLARE_SHARED(QTextCharFormat) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'void QTextBlockFormat::setPageBreakPolicy(QTextFormat::PageBreakFlags)': /usr/include/qt5/QtGui/qtextformat.h:648:45: error: invalid cast from type 'QTextFormat::PageBreakFlags' {aka 'QFlags'} to type 'int' 648 | { setProperty(PageBreakPolicy, int(flags)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextformat.h: At global scope: /usr/include/qt5/QtGui/qtextformat.h:660:1: error: 'is_integral' is not a member of 'std' 660 | Q_DECLARE_SHARED(QTextBlockFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:660:1: error: expected primary-expression before '>' token 660 | Q_DECLARE_SHARED(QTextBlockFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:660:1: error: '::value' has not been declared 660 | Q_DECLARE_SHARED(QTextBlockFormat) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'void QTextBlockFormat::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextformat.h:663:45: error: invalid cast from type 'Qt::Alignment' {aka 'QFlags'} to type 'int' 663 | { setProperty(BlockAlignment, int(aalignment)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextformat.h: At global scope: /usr/include/qt5/QtGui/qtextformat.h:725:1: error: 'is_integral' is not a member of 'std' 725 | Q_DECLARE_SHARED(QTextListFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:725:1: error: expected primary-expression before '>' token 725 | Q_DECLARE_SHARED(QTextListFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:725:1: error: '::value' has not been declared 725 | Q_DECLARE_SHARED(QTextListFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:767:1: error: 'is_integral' is not a member of 'std' 767 | Q_DECLARE_SHARED(QTextImageFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:767:1: error: expected primary-expression before '>' token 767 | Q_DECLARE_SHARED(QTextImageFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:767:1: error: '::value' has not been declared 767 | Q_DECLARE_SHARED(QTextImageFormat) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'void QTextFrameFormat::setPageBreakPolicy(QTextFormat::PageBreakFlags)': /usr/include/qt5/QtGui/qtextformat.h:861:45: error: invalid cast from type 'QTextFormat::PageBreakFlags' {aka 'QFlags'} to type 'int' 861 | { setProperty(PageBreakPolicy, int(flags)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextformat.h: At global scope: /usr/include/qt5/QtGui/qtextformat.h:870:1: error: 'is_integral' is not a member of 'std' 870 | Q_DECLARE_SHARED(QTextFrameFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:870:1: error: expected primary-expression before '>' token 870 | Q_DECLARE_SHARED(QTextFrameFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:870:1: error: '::value' has not been declared 870 | Q_DECLARE_SHARED(QTextFrameFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:941:1: error: 'is_integral' is not a member of 'std' 941 | Q_DECLARE_SHARED(QTextTableFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:941:1: error: expected primary-expression before '>' token 941 | Q_DECLARE_SHARED(QTextTableFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:941:1: error: '::value' has not been declared 941 | Q_DECLARE_SHARED(QTextTableFormat) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtextcursor.h:46, from /usr/include/qt5/QtWidgets/qlineedit.h:45, from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtGui/qtextformat.h: In member function 'void QTextTableFormat::setAlignment(Qt::Alignment)': /usr/include/qt5/QtGui/qtextformat.h:954:45: error: invalid cast from type 'Qt::Alignment' {aka 'QFlags'} to type 'int' 954 | { setProperty(BlockAlignment, int(aalignment)); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextformat.h: At global scope: /usr/include/qt5/QtGui/qtextformat.h:982:1: error: 'is_integral' is not a member of 'std' 982 | Q_DECLARE_SHARED(QTextTableCellFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:982:1: error: expected primary-expression before '>' token 982 | Q_DECLARE_SHARED(QTextTableCellFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextformat.h:982:1: error: '::value' has not been declared 982 | Q_DECLARE_SHARED(QTextTableCellFormat) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextcursor.h:239:1: error: 'is_integral' is not a member of 'std' 239 | Q_DECLARE_SHARED(QTextCursor) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextcursor.h:239:1: error: expected primary-expression before '>' token 239 | Q_DECLARE_SHARED(QTextCursor) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextcursor.h:239:1: error: '::value' has not been declared 239 | Q_DECLARE_SHARED(QTextCursor) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qlineedit.h:65:5: error: 'nullptr' was not declared in this scope 65 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qlineedit.h:65:5: error: 'nullptr' was not declared in this scope 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QLineEdit:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtWidgets/qlineedit.h:93:42: error: 'nullptr' was not declared in this scope 93 | explicit QLineEdit(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qlineedit.h:94:59: error: 'nullptr' was not declared in this scope 94 | explicit QLineEdit(const QString &, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qlineedit.h: In member function 'QLineEditPrivate* QLineEdit::d_func()': /usr/include/qt5/QtWidgets/qlineedit.h:251:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 251 | Q_DECLARE_PRIVATE(QLineEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlineedit.h:251:5: note: mismatched types 'T*' and 'QScopedPointer' 251 | Q_DECLARE_PRIVATE(QLineEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qlineedit.h: In member function 'const QLineEditPrivate* QLineEdit::d_func() const': /usr/include/qt5/QtWidgets/qlineedit.h:251:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 251 | Q_DECLARE_PRIVATE(QLineEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qlineedit.h:251:5: note: mismatched types 'T*' and 'QScopedPointer' 251 | Q_DECLARE_PRIVATE(QLineEdit) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LineEdit.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsettings.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsettings.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QSettings:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/include/qt5/QtCore/qsettings.h:125:82: error: 'nullptr' was not declared in this scope 125 | const QString &application = QString(), QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsettings.h:127:73: error: 'nullptr' was not declared in this scope 127 | const QString &application = QString(), QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsettings.h:129:73: error: 'nullptr' was not declared in this scope 129 | const QString &application = QString(), QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsettings.h:130:73: error: 'nullptr' was not declared in this scope 130 | QSettings(const QString &fileName, Format format, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsettings.h:131:42: error: 'nullptr' was not declared in this scope 131 | explicit QSettings(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsettings.h: In member function 'QSettingsPrivate* QSettings::d_func()': /usr/include/qt5/QtCore/qsettings.h:72:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 72 | Q_DECLARE_PRIVATE(QSettings) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsettings.h:72:5: note: mismatched types 'T*' and 'QScopedPointer' 72 | Q_DECLARE_PRIVATE(QSettings) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsettings.h: In member function 'const QSettingsPrivate* QSettings::d_func() const': /usr/include/qt5/QtCore/qsettings.h:72:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 72 | Q_DECLARE_PRIVATE(QSettings) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsettings.h:72:5: note: mismatched types 'T*' and 'QScopedPointer' 72 | Q_DECLARE_PRIVATE(QSettings) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:18: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp: In static member function 'static void Rosegarden::AudioConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:69:20: error: cannot convert 'Rosegarden::AudioConfigurationPage*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:72:21: error: request for member 'slotFileDialog' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotFileDialog(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp: In member function 'virtual void* Rosegarden::AudioConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioConfigurationPage.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioPropertiesPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioPropertiesPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/AudioPropertiesPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp: In static member function 'static void Rosegarden::AudioPropertiesPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:80:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 80 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:80:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 80 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:80:20: error: cannot convert 'Rosegarden::AudioPropertiesPage*' to 'int*' in initialization 80 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioPropertiesPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:83:21: error: request for member 'slotFileDialog' in '* _t', which is of non-class type 'int' 83 | case 0: _t->slotFileDialog(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:84:21: error: request for member 'calculateStats' in '* _t', which is of non-class type 'int' 84 | case 1: _t->calculateStats(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:85:21: error: request for member 'slotFoundMountPoint' in '* _t', which is of non-class type 'int' 85 | case 2: _t->slotFoundMountPoint((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2])),(*reinterpret_cast< ulong(*)>(_a[3])),(*reinterpret_cast< ulong(*)>(_a[4]))); break; | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:19: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:96:5: error: 'nullptr' was not declared in this scope 96 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:97:5: error: 'nullptr' was not declared in this scope 97 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp: In member function 'virtual void* Rosegarden::AudioPropertiesPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_AudioPropertiesPage.cpp:108:26: error: 'nullptr' was not declared in this scope 108 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtCore/qabstractitemmodel.h: In constructor 'QModelIndex::QModelIndex()': /usr/include/qt5/QtCore/qabstractitemmodel.h:60:82: error: 'nullptr' was not declared in this scope 60 | Q_DECL_CONSTEXPR inline QModelIndex() Q_DECL_NOTHROW : r(-1), c(-1), i(0), m(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h: In member function 'bool QModelIndex::isValid() const': /usr/include/qt5/QtCore/qabstractitemmodel.h:76:104: error: 'nullptr' was not declared in this scope 76 | Q_DECL_CONSTEXPR inline bool isValid() const Q_DECL_NOTHROW { return (r >= 0) && (c >= 0) && (m != nullptr); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt5/QtCore/qabstractitemmodel.h:97:1: error: 'is_integral' is not a member of 'std' 97 | Q_DECLARE_TYPEINFO(QModelIndex, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:97:1: error: expected primary-expression before '>' token 97 | Q_DECLARE_TYPEINFO(QModelIndex, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:97:1: error: '::value' has not been declared 97 | Q_DECLARE_TYPEINFO(QModelIndex, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:151:1: error: 'is_integral' is not a member of 'std' 151 | Q_DECLARE_SHARED(QPersistentModelIndex) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:151:1: error: expected primary-expression before '>' token 151 | Q_DECLARE_SHARED(QPersistentModelIndex) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:151:1: error: '::value' has not been declared 151 | Q_DECLARE_SHARED(QPersistentModelIndex) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h:269:5: error: expected unqualified-id before '[' token 269 | Q_REQUIRED_RESULT bool checkIndex(const QModelIndex &index, CheckIndexOptions options = CheckIndexOption::NoOption) const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h:171:5: error: 'nullptr' was not declared in this scope 171 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:171:5: error: 'nullptr' was not declared in this scope 171 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtCore/qabstractitemmodel.h:178:51: error: 'nullptr' was not declared in this scope 178 | explicit QAbstractItemModel(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:307:73: error: 'nullptr' was not declared in this scope 307 | QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:309:70: error: 'nullptr' was not declared in this scope 309 | inline QModelIndex createIndex(int row, int column, void *data = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h: In member function 'QAbstractItemModelPrivate* QAbstractItemModel::d_func()': /usr/include/qt5/QtCore/qabstractitemmodel.h:360:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 360 | Q_DECLARE_PRIVATE(QAbstractItemModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractitemmodel.h:360:5: note: mismatched types 'T*' and 'QScopedPointer' 360 | Q_DECLARE_PRIVATE(QAbstractItemModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h: In member function 'const QAbstractItemModelPrivate* QAbstractItemModel::d_func() const': /usr/include/qt5/QtCore/qabstractitemmodel.h:360:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 360 | Q_DECLARE_PRIVATE(QAbstractItemModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractitemmodel.h:360:5: note: mismatched types 'T*' and 'QScopedPointer' 360 | Q_DECLARE_PRIVATE(QAbstractItemModel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h: At global scope: /usr/include/qt5/QtCore/qabstractitemmodel.h:387:5: error: 'nullptr' was not declared in this scope 387 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:387:5: error: 'nullptr' was not declared in this scope 387 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtCore/qabstractitemmodel.h:390:52: error: 'nullptr' was not declared in this scope 390 | explicit QAbstractTableModel(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractitemmodel.h:413:5: error: 'nullptr' was not declared in this scope 413 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractitemmodel.h:413:5: error: 'nullptr' was not declared in this scope 413 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtCore/qabstractitemmodel.h:416:51: error: 'nullptr' was not declared in this scope 416 | explicit QAbstractListModel(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qitemselectionmodel.h:134:1: error: 'is_integral' is not a member of 'std' 134 | Q_DECLARE_TYPEINFO(QItemSelectionRange, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h:134:1: error: expected primary-expression before '>' token 134 | Q_DECLARE_TYPEINFO(QItemSelectionRange, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h:134:1: error: '::value' has not been declared 134 | Q_DECLARE_TYPEINFO(QItemSelectionRange, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qitemselectionmodel.h:141:5: error: 'nullptr' was not declared in this scope 141 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h:141:5: error: 'nullptr' was not declared in this scope 141 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:46, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtCore/qitemselectionmodel.h:169:62: error: 'nullptr' was not declared in this scope 169 | explicit QItemSelectionModel(QAbstractItemModel *model = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qitemselectionmodel.h: In member function 'QItemSelectionModelPrivate* QItemSelectionModel::d_func()': /usr/include/qt5/QtCore/qitemselectionmodel.h:148:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 148 | Q_DECLARE_PRIVATE(QItemSelectionModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qitemselectionmodel.h:148:5: note: mismatched types 'T*' and 'QScopedPointer' 148 | Q_DECLARE_PRIVATE(QItemSelectionModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h: In member function 'const QItemSelectionModelPrivate* QItemSelectionModel::d_func() const': /usr/include/qt5/QtCore/qitemselectionmodel.h:148:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 148 | Q_DECLARE_PRIVATE(QItemSelectionModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qitemselectionmodel.h:148:5: note: mismatched types 'T*' and 'QScopedPointer' 148 | Q_DECLARE_PRIVATE(QItemSelectionModel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qitemselectionmodel.h: At global scope: /usr/include/qt5/QtCore/qitemselectionmodel.h:265:1: error: 'is_integral' is not a member of 'std' 265 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QItemSelection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h:265:1: error: expected primary-expression before '>' token 265 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QItemSelection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qitemselectionmodel.h:265:1: error: '::value' has not been declared 265 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QItemSelection) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:166:1: error: 'is_integral' is not a member of 'std' 166 | Q_DECLARE_SHARED(QRegularExpression) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:166:1: error: expected primary-expression before '>' token 166 | Q_DECLARE_SHARED(QRegularExpression) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:166:1: error: '::value' has not been declared 166 | Q_DECLARE_SHARED(QRegularExpression) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:245:1: error: 'is_integral' is not a member of 'std' 245 | Q_DECLARE_SHARED(QRegularExpressionMatch) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:245:1: error: expected primary-expression before '>' token 245 | Q_DECLARE_SHARED(QRegularExpressionMatch) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:245:1: error: '::value' has not been declared 245 | Q_DECLARE_SHARED(QRegularExpressionMatch) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:283:1: error: 'is_integral' is not a member of 'std' 283 | Q_DECLARE_SHARED(QRegularExpressionMatchIterator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:283:1: error: expected primary-expression before '>' token 283 | Q_DECLARE_SHARED(QRegularExpressionMatchIterator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qregularexpression.h:283:1: error: '::value' has not been declared 283 | Q_DECLARE_SHARED(QRegularExpressionMatchIterator) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractspinbox.h:45, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtGui/qvalidator.h:64:44: error: 'nullptr' was not declared in this scope 64 | explicit QValidator(QObject * parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h: In member function 'QValidatorPrivate* QValidator::d_func()': /usr/include/qt5/QtGui/qvalidator.h:88:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 88 | Q_DECLARE_PRIVATE(QValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:88:5: note: mismatched types 'T*' and 'QScopedPointer' 88 | Q_DECLARE_PRIVATE(QValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h: In member function 'const QValidatorPrivate* QValidator::d_func() const': /usr/include/qt5/QtGui/qvalidator.h:88:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 88 | Q_DECLARE_PRIVATE(QValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:88:5: note: mismatched types 'T*' and 'QScopedPointer' 88 | Q_DECLARE_PRIVATE(QValidator) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h: At global scope: /usr/include/qt5/QtGui/qvalidator.h:93:5: error: 'nullptr' was not declared in this scope 93 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:93:5: error: 'nullptr' was not declared in this scope 93 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractspinbox.h:45, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtGui/qvalidator.h:98:47: error: 'nullptr' was not declared in this scope 98 | explicit QIntValidator(QObject * parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:99:58: error: 'nullptr' was not declared in this scope 99 | QIntValidator(int bottom, int top, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h:128:5: error: 'nullptr' was not declared in this scope 128 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:128:5: error: 'nullptr' was not declared in this scope 128 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractspinbox.h:45, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtGui/qvalidator.h:135:50: error: 'nullptr' was not declared in this scope 135 | explicit QDoubleValidator(QObject * parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:136:81: error: 'nullptr' was not declared in this scope 136 | QDoubleValidator(double bottom, double top, int decimals, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h: In member function 'QDoubleValidatorPrivate* QDoubleValidator::d_func()': /usr/include/qt5/QtGui/qvalidator.h:164:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 164 | Q_DECLARE_PRIVATE(QDoubleValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:164:5: note: mismatched types 'T*' and 'QScopedPointer' 164 | Q_DECLARE_PRIVATE(QDoubleValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h: In member function 'const QDoubleValidatorPrivate* QDoubleValidator::d_func() const': /usr/include/qt5/QtGui/qvalidator.h:164:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 164 | Q_DECLARE_PRIVATE(QDoubleValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:164:5: note: mismatched types 'T*' and 'QScopedPointer' 164 | Q_DECLARE_PRIVATE(QDoubleValidator) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h: At global scope: /usr/include/qt5/QtGui/qvalidator.h:175:5: error: 'nullptr' was not declared in this scope 175 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:175:5: error: 'nullptr' was not declared in this scope 175 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractspinbox.h:45, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtGui/qvalidator.h:179:49: error: 'nullptr' was not declared in this scope 179 | explicit QRegExpValidator(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:180:68: error: 'nullptr' was not declared in this scope 180 | explicit QRegExpValidator(const QRegExp& rx, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h:205:5: error: 'nullptr' was not declared in this scope 205 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:205:5: error: 'nullptr' was not declared in this scope 205 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractspinbox.h:45, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtGui/qvalidator.h:209:60: error: 'nullptr' was not declared in this scope 209 | explicit QRegularExpressionValidator(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qvalidator.h:210:90: error: 'nullptr' was not declared in this scope 210 | explicit QRegularExpressionValidator(const QRegularExpression &re, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvalidator.h: In member function 'QRegularExpressionValidatorPrivate* QRegularExpressionValidator::d_func()': /usr/include/qt5/QtGui/qvalidator.h:225:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 225 | Q_DECLARE_PRIVATE(QRegularExpressionValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:225:5: note: mismatched types 'T*' and 'QScopedPointer' 225 | Q_DECLARE_PRIVATE(QRegularExpressionValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qvalidator.h: In member function 'const QRegularExpressionValidatorPrivate* QRegularExpressionValidator::d_func() const': /usr/include/qt5/QtGui/qvalidator.h:225:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 225 | Q_DECLARE_PRIVATE(QRegularExpressionValidator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qvalidator.h:225:5: note: mismatched types 'T*' and 'QScopedPointer' 225 | Q_DECLARE_PRIVATE(QRegularExpressionValidator) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractspinbox.h: At global scope: /usr/include/qt5/QtWidgets/qabstractspinbox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractspinbox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qabstractspinbox.h:73:49: error: 'nullptr' was not declared in this scope 73 | explicit QAbstractSpinBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractspinbox.h:172:69: error: 'nullptr' was not declared in this scope 172 | QAbstractSpinBox(QAbstractSpinBoxPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractspinbox.h: In member function 'QAbstractSpinBoxPrivate* QAbstractSpinBox::d_func()': /usr/include/qt5/QtWidgets/qabstractspinbox.h:178:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 178 | Q_DECLARE_PRIVATE(QAbstractSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractspinbox.h:178:5: note: mismatched types 'T*' and 'QScopedPointer' 178 | Q_DECLARE_PRIVATE(QAbstractSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractspinbox.h: In member function 'const QAbstractSpinBoxPrivate* QAbstractSpinBox::d_func() const': /usr/include/qt5/QtWidgets/qabstractspinbox.h:178:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 178 | Q_DECLARE_PRIVATE(QAbstractSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractspinbox.h:178:5: note: mismatched types 'T*' and 'QScopedPointer' 178 | Q_DECLARE_PRIVATE(QAbstractSpinBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qstyle.h: At global scope: /usr/include/qt5/QtWidgets/qstyle.h:66:5: error: 'nullptr' was not declared in this scope 66 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:66:5: error: 'nullptr' was not declared in this scope 66 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qstyleoption.h:54, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qstyle.h:205:51: error: 'nullptr' was not declared in this scope 205 | const QWidget *w = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:276:49: error: 'nullptr' was not declared in this scope 276 | const QWidget *w = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:365:58: error: 'nullptr' was not declared in this scope 365 | const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:444:61: error: 'nullptr' was not declared in this scope 444 | const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:446:88: error: 'nullptr' was not declared in this scope 446 | const QPoint &pt, const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:448:73: error: 'nullptr' was not declared in this scope 448 | SubControl sc, const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:582:78: error: 'nullptr' was not declared in this scope 582 | virtual int pixelMetric(PixelMetric metric, const QStyleOption *option = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:583:53: error: 'nullptr' was not declared in this scope 583 | const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:615:82: error: 'nullptr' was not declared in this scope 615 | const QSize &contentsSize, const QWidget *w = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:751:74: error: 'nullptr' was not declared in this scope 751 | virtual int styleHint(StyleHint stylehint, const QStyleOption *opt = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:752:51: error: 'nullptr' was not declared in this scope 752 | const QWidget *widget = nullptr, QStyleHintReturn* returnData = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:752:91: error: 'nullptr' was not declared in this scope 752 | const QWidget *widget = nullptr, QStyleHintReturn* returnData = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:831:93: error: 'nullptr' was not declared in this scope 831 | virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:832:60: error: 'nullptr' was not declared in this scope 832 | const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:834:90: error: 'nullptr' was not declared in this scope 834 | virtual QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:835:56: error: 'nullptr' was not declared in this scope 835 | const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:854:60: error: 'nullptr' was not declared in this scope 854 | const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:854:93: error: 'nullptr' was not declared in this scope 854 | const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:857:54: error: 'nullptr' was not declared in this scope 857 | QStyleOption *option = nullptr, QWidget *widget = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h:857:81: error: 'nullptr' was not declared in this scope 857 | QStyleOption *option = nullptr, QWidget *widget = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qstyle.h: In member function 'QStylePrivate* QStyle::d_func()': /usr/include/qt5/QtWidgets/qstyle.h:67:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 67 | Q_DECLARE_PRIVATE(QStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qstyle.h:67:5: note: mismatched types 'T*' and 'QScopedPointer' 67 | Q_DECLARE_PRIVATE(QStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qstyle.h: In member function 'const QStylePrivate* QStyle::d_func() const': /usr/include/qt5/QtWidgets/qstyle.h:67:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 67 | Q_DECLARE_PRIVATE(QStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qstyle.h:67:5: note: mismatched types 'T*' and 'QScopedPointer' 67 | Q_DECLARE_PRIVATE(QStyle) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtabbar.h: At global scope: /usr/include/qt5/QtWidgets/qtabbar.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtabbar.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qstyleoption.h:56, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qtabbar.h:74:40: error: 'nullptr' was not declared in this scope 74 | explicit QTabBar(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtabbar.h: In member function 'QTabBarPrivate* QTabBar::d_func()': /usr/include/qt5/QtWidgets/qtabbar.h:218:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 218 | Q_DECLARE_PRIVATE(QTabBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabbar.h:218:5: note: mismatched types 'T*' and 'QScopedPointer' 218 | Q_DECLARE_PRIVATE(QTabBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtabbar.h: In member function 'const QTabBarPrivate* QTabBar::d_func() const': /usr/include/qt5/QtWidgets/qtabbar.h:218:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 218 | Q_DECLARE_PRIVATE(QTabBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtabbar.h:218:5: note: mismatched types 'T*' and 'QScopedPointer' 218 | Q_DECLARE_PRIVATE(QTabBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qrubberband.h: At global scope: /usr/include/qt5/QtWidgets/qrubberband.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qrubberband.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qstyleoption.h:62, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qrubberband.h:59:45: error: 'nullptr' was not declared in this scope 59 | explicit QRubberBand(Shape, QWidget * = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qrubberband.h: In member function 'QRubberBandPrivate* QRubberBand::d_func()': /usr/include/qt5/QtWidgets/qrubberband.h:85:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 85 | Q_DECLARE_PRIVATE(QRubberBand) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qrubberband.h:85:5: note: mismatched types 'T*' and 'QScopedPointer' 85 | Q_DECLARE_PRIVATE(QRubberBand) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qrubberband.h: In member function 'const QRubberBandPrivate* QRubberBand::d_func() const': /usr/include/qt5/QtWidgets/qrubberband.h:85:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 85 | Q_DECLARE_PRIVATE(QRubberBand) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qrubberband.h:85:5: note: mismatched types 'T*' and 'QScopedPointer' 85 | Q_DECLARE_PRIVATE(QRubberBand) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)': /usr/include/qt5/QtWidgets/qstyleoption.h:659:24: error: ambiguous overload for 'operator=' (operand types are 'QMatrix' and 'const QMatrix') 659 | class Q_WIDGETS_EXPORT QStyleOptionGraphicsItem : public QStyleOption | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:67:14: note: candidate: 'QMatrix& QMatrix::operator=(QMatrix)' 67 | QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default | ^~~~~~~~ /usr/include/qt5/QtGui/qmatrix.h:69:14: note: candidate: 'QMatrix& QMatrix::operator=(const QMatrix&)' 69 | QMatrix &operator=(const QMatrix &) Q_DECL_NOTHROW; // = default | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)': /usr/include/qt5/QtWidgets/qstyleoption.h:670:109: note: synthesized method 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' first required here 670 | QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; } | ^~~~~ /usr/include/qt5/QtWidgets/qstyleoption.h: In function 'T qstyleoption_cast(const QStyleOption*)': /usr/include/qt5/QtWidgets/qstyleoption.h:679:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 679 | typedef typename std::remove_cv::type>::type Opt; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qstyleoption.h:679:36: error: expected unqualified-id before '<' token 679 | typedef typename std::remove_cv::type>::type Opt; | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:680:32: error: 'Opt' has not been declared 680 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:680:62: error: 'Opt' has not been declared 680 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:681:16: error: 'Opt' was not declared in this scope; did you mean 'opt'? 681 | || int(Opt::Type) == QStyleOption::SO_Default | ^~~ | opt /usr/include/qt5/QtWidgets/qstyleoption.h:682:13: error: expected primary-expression before 'int' 682 | || (int(Opt::Type) == QStyleOption::SO_Complex | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:682:13: error: expected ')' before 'int' 682 | || (int(Opt::Type) == QStyleOption::SO_Complex | ~^~~ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:684:35: error: expected ')' before ';' token 684 | return static_cast(opt); | ^ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:680:48: note: to match this '(' 680 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:684:35: error: expected ')' before ';' token 684 | return static_cast(opt); | ^ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:680:8: note: to match this '(' 680 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:685:12: error: 'nullptr' was not declared in this scope 685 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyleoption.h: In function 'T qstyleoption_cast(QStyleOption*)': /usr/include/qt5/QtWidgets/qstyleoption.h:691:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 691 | typedef typename std::remove_cv::type>::type Opt; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qstyleoption.h:691:36: error: expected unqualified-id before '<' token 691 | typedef typename std::remove_cv::type>::type Opt; | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:692:32: error: 'Opt' has not been declared 692 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:692:62: error: 'Opt' has not been declared 692 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:693:16: error: 'Opt' was not declared in this scope; did you mean 'opt'? 693 | || int(Opt::Type) == QStyleOption::SO_Default | ^~~ | opt /usr/include/qt5/QtWidgets/qstyleoption.h:694:13: error: expected primary-expression before 'int' 694 | || (int(Opt::Type) == QStyleOption::SO_Complex | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:694:13: error: expected ')' before 'int' 694 | || (int(Opt::Type) == QStyleOption::SO_Complex | ~^~~ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:696:35: error: expected ')' before ';' token 696 | return static_cast(opt); | ^ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:692:48: note: to match this '(' 692 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:696:35: error: expected ')' before ';' token 696 | return static_cast(opt); | ^ | ) /usr/include/qt5/QtWidgets/qstyleoption.h:692:8: note: to match this '(' 692 | if (opt && opt->version >= Opt::Version && (opt->type == Opt::Type | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:697:12: error: 'nullptr' was not declared in this scope 697 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyleoption.h: In function 'T qstyleoption_cast(const QStyleHintReturn*)': /usr/include/qt5/QtWidgets/qstyleoption.h:742:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 742 | typedef typename std::remove_cv::type>::type Opt; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qstyleoption.h:742:36: error: expected unqualified-id before '<' token 742 | typedef typename std::remove_cv::type>::type Opt; | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:743:34: error: 'Opt' has not been declared 743 | if (hint && hint->version <= Opt::Version && | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:744:24: error: 'Opt' has not been declared 744 | (hint->type == Opt::Type || int(Opt::Type) == QStyleHintReturn::SH_Default)) | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:744:41: error: 'Opt' was not declared in this scope 744 | (hint->type == Opt::Type || int(Opt::Type) == QStyleHintReturn::SH_Default)) | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:746:12: error: 'nullptr' was not declared in this scope 746 | return nullptr; | ^~~~~~~ /usr/include/qt5/QtWidgets/qstyleoption.h: In function 'T qstyleoption_cast(QStyleHintReturn*)': /usr/include/qt5/QtWidgets/qstyleoption.h:752:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 752 | typedef typename std::remove_cv::type>::type Opt; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qstyleoption.h:752:36: error: expected unqualified-id before '<' token 752 | typedef typename std::remove_cv::type>::type Opt; | ^ /usr/include/qt5/QtWidgets/qstyleoption.h:753:34: error: 'Opt' has not been declared 753 | if (hint && hint->version <= Opt::Version && | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:754:24: error: 'Opt' has not been declared 754 | (hint->type == Opt::Type || int(Opt::Type) == QStyleHintReturn::SH_Default)) | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:754:41: error: 'Opt' was not declared in this scope 754 | (hint->type == Opt::Type || int(Opt::Type) == QStyleHintReturn::SH_Default)) | ^~~ /usr/include/qt5/QtWidgets/qstyleoption.h:756:12: error: 'nullptr' was not declared in this scope 756 | return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h: At global scope: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:60:5: error: 'nullptr' was not declared in this scope 60 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47, from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:72:54: error: 'nullptr' was not declared in this scope 72 | explicit QAbstractItemDelegate(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:122:63: error: 'nullptr' was not declared in this scope 122 | QAbstractItemDelegate(QObjectPrivate &, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h: In member function 'QAbstractItemDelegatePrivate* QAbstractItemDelegate::d_func()': /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:124:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 124 | Q_DECLARE_PRIVATE(QAbstractItemDelegate) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:124:5: note: mismatched types 'T*' and 'QScopedPointer' 124 | Q_DECLARE_PRIVATE(QAbstractItemDelegate) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemdelegate.h: In member function 'const QAbstractItemDelegatePrivate* QAbstractItemDelegate::d_func() const': /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:124:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 124 | Q_DECLARE_PRIVATE(QAbstractItemDelegate) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:124:5: note: mismatched types 'T*' and 'QScopedPointer' 124 | Q_DECLARE_PRIVATE(QAbstractItemDelegate) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractitemview.h: At global scope: /usr/include/qt5/QtWidgets/qabstractitemview.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemview.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtableview.h:44, from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qabstractitemview.h:127:50: error: 'nullptr' was not declared in this scope 127 | explicit QAbstractItemView(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemview.h:273:69: error: 'nullptr' was not declared in this scope 273 | QAbstractItemView(QAbstractItemViewPrivate &, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemview.h:298:88: error: 'nullptr' was not declared in this scope 298 | const QEvent *event = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractitemview.h: In member function 'QAbstractItemViewPrivate* QAbstractItemView::d_func()': /usr/include/qt5/QtWidgets/qabstractitemview.h:359:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 359 | Q_DECLARE_PRIVATE(QAbstractItemView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractitemview.h:359:5: note: mismatched types 'T*' and 'QScopedPointer' 359 | Q_DECLARE_PRIVATE(QAbstractItemView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractitemview.h: In member function 'const QAbstractItemViewPrivate* QAbstractItemView::d_func() const': /usr/include/qt5/QtWidgets/qabstractitemview.h:359:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 359 | Q_DECLARE_PRIVATE(QAbstractItemView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractitemview.h:359:5: note: mismatched types 'T*' and 'QScopedPointer' 359 | Q_DECLARE_PRIVATE(QAbstractItemView) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtableview.h: At global scope: /usr/include/qt5/QtWidgets/qtableview.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtableview.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtablewidget.h:44, from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qtableview.h:65:43: error: 'nullptr' was not declared in this scope 65 | explicit QTableView(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtableview.h: In member function 'QTableViewPrivate* QTableView::d_func()': /usr/include/qt5/QtWidgets/qtableview.h:183:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 183 | Q_DECLARE_PRIVATE(QTableView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtableview.h:183:5: note: mismatched types 'T*' and 'QScopedPointer' 183 | Q_DECLARE_PRIVATE(QTableView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtableview.h: In member function 'const QTableViewPrivate* QTableView::d_func() const': /usr/include/qt5/QtWidgets/qtableview.h:183:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 183 | Q_DECLARE_PRIVATE(QTableView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtableview.h:183:5: note: mismatched types 'T*' and 'QScopedPointer' 183 | Q_DECLARE_PRIVATE(QTableView) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtablewidget.h: At global scope: /usr/include/qt5/QtWidgets/qtablewidget.h:216:5: error: 'nullptr' was not declared in this scope 216 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtablewidget.h:216:5: error: 'nullptr' was not declared in this scope 216 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qtablewidget.h:222:45: error: 'nullptr' was not declared in this scope 222 | explicit QTableWidget(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtablewidget.h:223:59: error: 'nullptr' was not declared in this scope 223 | QTableWidget(int rows, int columns, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtablewidget.h: In member function 'QTableWidgetPrivate* QTableWidget::d_func()': /usr/include/qt5/QtWidgets/qtablewidget.h:352:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 352 | Q_DECLARE_PRIVATE(QTableWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtablewidget.h:352:5: note: mismatched types 'T*' and 'QScopedPointer' 352 | Q_DECLARE_PRIVATE(QTableWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtablewidget.h: In member function 'const QTableWidgetPrivate* QTableWidget::d_func() const': /usr/include/qt5/QtWidgets/qtablewidget.h:352:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 352 | Q_DECLARE_PRIVATE(QTableWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtablewidget.h:352:5: note: mismatched types 'T*' and 'QScopedPointer' 352 | Q_DECLARE_PRIVATE(QTableWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTableWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/include/qt5/QtWidgets/qtablewidget.h: In member function 'void QTableWidget::removeCellWidget(int, int)': /usr/include/qt5/QtWidgets/qtablewidget.h:367:32: error: 'nullptr' was not declared in this scope 367 | { setCellWidget(arow, acolumn, nullptr); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ColourTable.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/ColourConfigurationPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:20: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp: In static member function 'static void Rosegarden::ColourConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:86:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 86 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:86:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 86 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:86:20: error: cannot convert 'Rosegarden::ColourConfigurationPage*' to 'int*' in initialization 86 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ColourConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:89:21: error: request for member 'docColoursChanged' in '* _t', which is of non-class type 'int' 89 | case 0: _t->docColoursChanged(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:90:21: error: request for member 'slotAddNew' in '* _t', which is of non-class type 'int' 90 | case 1: _t->slotAddNew(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:91:21: error: request for member 'slotDelete' in '* _t', which is of non-class type 'int' 91 | case 2: _t->slotDelete(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:92:21: error: request for member 'slotTextChanged' in '* _t', which is of non-class type 'int' 92 | case 3: _t->slotTextChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:93:21: error: request for member 'slotColourChanged' in '* _t', which is of non-class type 'int' 93 | case 4: _t->slotColourChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< QColor(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:99:19: error: expected nested-name-specifier before '_t' 99 | using _t = void (ColourConfigurationPage::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:35: error: '_t' does not name a type; did you mean 'Qt'? 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:38: error: expected '>' before '*' token 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:38: error: expected '(' before '*' token 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:39: error: expected primary-expression before '>' token 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:63: error: '_t' does not name a type; did you mean 'Qt'? 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:100:112: error: expected ')' before '{' token 100 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourConfigurationPage::docColoursChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:104:9: error: expected primary-expression before '}' token 104 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:97:14: warning: unused variable 'result' [-Wunused-variable] 97 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:113:5: error: 'nullptr' was not declared in this scope 113 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:114:5: error: 'nullptr' was not declared in this scope 114 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp: In member function 'virtual void* Rosegarden::ColourConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:125:26: error: 'nullptr' was not declared in this scope 125 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp: In member function 'void Rosegarden::ColourConfigurationPage::docColoursChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ColourConfigurationPage.cpp:151:55: error: 'nullptr' was not declared in this scope 151 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/CommentsConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/CommentsConfigurationPage.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/CommentsConfigurationPage.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:21: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp: In static member function 'static void Rosegarden::CommentsConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:91:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 91 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:91:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 91 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:91:20: error: cannot convert 'Rosegarden::CommentsConfigurationPage*' to 'int*' in initialization 91 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CommentsConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:94:21: error: request for member 'slotShowPopupChanged' in '* _t', which is of non-class type 'int' 94 | case 0: _t->slotShowPopupChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:95:21: error: request for member 'slotClear' in '* _t', which is of non-class type 'int' 95 | case 1: _t->slotClear(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:96:21: error: request for member 'slotReload' in '* _t', which is of non-class type 'int' 96 | case 2: _t->slotReload(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:97:21: error: request for member 'slotResetUndoClearButton' in '* _t', which is of non-class type 'int' 97 | case 3: _t->slotResetUndoClearButton(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:98:21: error: request for member 'slotResetUndoReloadButton' in '* _t', which is of non-class type 'int' 98 | case 4: _t->slotResetUndoReloadButton(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:99:21: error: request for member 'slotShowPagesMenu' in '* _t', which is of non-class type 'int' 99 | case 5: _t->slotShowPagesMenu(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:100:21: error: request for member 'cacheEditedCommentPage' in '* _t', which is of non-class type 'int' 100 | case 6: _t->cacheEditedCommentPage(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp: In member function 'virtual void* Rosegarden::CommentsConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_CommentsConfigurationPage.cpp:123:26: error: 'nullptr' was not declared in this scope 123 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:22: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp: In static member function 'static void Rosegarden::ConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:76:20: error: cannot convert 'Rosegarden::ConfigurationPage*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:79:21: error: request for member 'modified' in '* _t', which is of non-class type 'int' 79 | case 0: _t->modified(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:80:21: error: request for member 'slotModified' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotModified(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:86:19: error: expected nested-name-specifier before '_t' 86 | using _t = void (ConfigurationPage::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:35: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:38: error: expected '>' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:38: error: expected '(' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:39: error: expected primary-expression before '>' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:63: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:87:97: error: expected ')' before '{' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigurationPage::modified)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:91:9: error: expected primary-expression before '}' token 91 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:84:14: warning: unused variable 'result' [-Wunused-variable] 84 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp: In member function 'virtual void* Rosegarden::ConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp: In member function 'void Rosegarden::ConfigurationPage::modified()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_ConfigurationPage.cpp:139:55: error: 'nullptr' was not declared in this scope 139 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/DocumentMetaConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/DocumentMetaConfigurationPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/DocumentMetaConfigurationPage.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:23: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_DocumentMetaConfigurationPage.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_DocumentMetaConfigurationPage.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_DocumentMetaConfigurationPage.cpp: In member function 'virtual void* Rosegarden::DocumentMetaConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_DocumentMetaConfigurationPage.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditViewBase.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditViewBase.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditViewBase.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ListEditView.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ListEditView.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/eventlist/EventView.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/eventlist/EventView.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractbutton.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qabstractbutton.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/include/qt5/QtWidgets/qabstractbutton.h:75:48: error: 'nullptr' was not declared in this scope 75 | explicit QAbstractButton(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qabstractbutton.h:147:67: error: 'nullptr' was not declared in this scope 147 | QAbstractButton(QAbstractButtonPrivate &dd, QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qabstractbutton.h: In member function 'QAbstractButtonPrivate* QAbstractButton::d_func()': /usr/include/qt5/QtWidgets/qabstractbutton.h:150:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 150 | Q_DECLARE_PRIVATE(QAbstractButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractbutton.h:150:5: note: mismatched types 'T*' and 'QScopedPointer' 150 | Q_DECLARE_PRIVATE(QAbstractButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qabstractbutton.h: In member function 'const QAbstractButtonPrivate* QAbstractButton::d_func() const': /usr/include/qt5/QtWidgets/qabstractbutton.h:150:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 150 | Q_DECLARE_PRIVATE(QAbstractButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qabstractbutton.h:150:5: note: mismatched types 'T*' and 'QScopedPointer' 150 | Q_DECLARE_PRIVATE(QAbstractButton) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcheckbox.h: At global scope: /usr/include/qt5/QtWidgets/qcheckbox.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qcheckbox.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QCheckBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/include/qt5/QtWidgets/qcheckbox.h:61:42: error: 'nullptr' was not declared in this scope 61 | explicit QCheckBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qcheckbox.h:62:63: error: 'nullptr' was not declared in this scope 62 | explicit QCheckBox(const QString &text, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcheckbox.h: In member function 'QCheckBoxPrivate* QCheckBox::d_func()': /usr/include/qt5/QtWidgets/qcheckbox.h:88:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 88 | Q_DECLARE_PRIVATE(QCheckBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcheckbox.h:88:5: note: mismatched types 'T*' and 'QScopedPointer' 88 | Q_DECLARE_PRIVATE(QCheckBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qcheckbox.h: In member function 'const QCheckBoxPrivate* QCheckBox::d_func() const': /usr/include/qt5/QtWidgets/qcheckbox.h:88:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 88 | Q_DECLARE_PRIVATE(QCheckBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcheckbox.h:88:5: note: mismatched types 'T*' and 'QScopedPointer' 88 | Q_DECLARE_PRIVATE(QCheckBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qspinbox.h: At global scope: /usr/include/qt5/QtWidgets/qspinbox.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qspinbox.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QSpinBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/include/qt5/QtWidgets/qspinbox.h:66:41: error: 'nullptr' was not declared in this scope 66 | explicit QSpinBox(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qspinbox.h: In member function 'QSpinBoxPrivate* QSpinBox::d_func()': /usr/include/qt5/QtWidgets/qspinbox.h:113:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 113 | Q_DECLARE_PRIVATE(QSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qspinbox.h:113:5: note: mismatched types 'T*' and 'QScopedPointer' 113 | Q_DECLARE_PRIVATE(QSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qspinbox.h: In member function 'const QSpinBoxPrivate* QSpinBox::d_func() const': /usr/include/qt5/QtWidgets/qspinbox.h:113:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 113 | Q_DECLARE_PRIVATE(QSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qspinbox.h:113:5: note: mismatched types 'T*' and 'QScopedPointer' 113 | Q_DECLARE_PRIVATE(QSpinBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qspinbox.h: At global scope: /usr/include/qt5/QtWidgets/qspinbox.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qspinbox.h:119:5: error: 'nullptr' was not declared in this scope 119 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QSpinBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/include/qt5/QtWidgets/qspinbox.h:131:47: error: 'nullptr' was not declared in this scope 131 | explicit QDoubleSpinBox(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qspinbox.h: In member function 'QDoubleSpinBoxPrivate* QDoubleSpinBox::d_func()': /usr/include/qt5/QtWidgets/qspinbox.h:175:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QDoubleSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qspinbox.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QDoubleSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qspinbox.h: In member function 'const QDoubleSpinBoxPrivate* QDoubleSpinBox::d_func() const': /usr/include/qt5/QtWidgets/qspinbox.h:175:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QDoubleSpinBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qspinbox.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QDoubleSpinBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcombobox.h: At global scope: /usr/include/qt5/QtWidgets/qcombobox.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qcombobox.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QComboBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/include/qt5/QtWidgets/qcombobox.h:85:42: error: 'nullptr' was not declared in this scope 85 | explicit QComboBox(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcombobox.h: In member function 'QComboBoxPrivate* QComboBox::d_func()': /usr/include/qt5/QtWidgets/qcombobox.h:252:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 252 | Q_DECLARE_PRIVATE(QComboBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcombobox.h:252:5: note: mismatched types 'T*' and 'QScopedPointer' 252 | Q_DECLARE_PRIVATE(QComboBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qcombobox.h: In member function 'const QComboBoxPrivate* QComboBox::d_func() const': /usr/include/qt5/QtWidgets/qcombobox.h:252:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 252 | Q_DECLARE_PRIVATE(QComboBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcombobox.h:252:5: note: mismatched types 'T*' and 'QScopedPointer' 252 | Q_DECLARE_PRIVATE(QComboBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/GeneralConfigurationPage.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:24: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp: In static member function 'static void Rosegarden::GeneralConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:76:20: error: cannot convert 'Rosegarden::GeneralConfigurationPage*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::GeneralConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:79:21: error: request for member 'updateAutoSaveInterval' in '* _t', which is of non-class type 'int' 79 | case 0: _t->updateAutoSaveInterval((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:80:21: error: request for member 'slotShowStatus' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotShowStatus(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:86:19: error: expected nested-name-specifier before '_t' 86 | using _t = void (GeneralConfigurationPage::*)(unsigned int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:35: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:38: error: expected '>' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:38: error: expected '(' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:39: error: expected primary-expression before '>' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:63: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:87:118: error: expected ')' before '{' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GeneralConfigurationPage::updateAutoSaveInterval)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:91:9: error: expected primary-expression before '}' token 91 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:84:14: warning: unused variable 'result' [-Wunused-variable] 84 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp: In member function 'virtual void* Rosegarden::GeneralConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:112:26: error: 'nullptr' was not declared in this scope 112 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp: In member function 'void Rosegarden::GeneralConfigurationPage::updateAutoSaveInterval(unsigned int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_GeneralConfigurationPage.cpp:138:20: error: 'nullptr' was not declared in this scope 138 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/HeadersConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/HeadersConfigurationPage.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/HeadersConfigurationPage.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:25: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp: In static member function 'static void Rosegarden::HeadersConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:72:20: error: cannot convert 'Rosegarden::HeadersConfigurationPage*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::HeadersConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:75:21: error: request for member 'slotAddNewProperty' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotAddNewProperty(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:76:21: error: request for member 'slotDeleteProperty' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotDeleteProperty(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp: In member function 'virtual void* Rosegarden::HeadersConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_HeadersConfigurationPage.cpp:100:26: error: 'nullptr' was not declared in this scope 100 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MIDIConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MIDIConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MIDIConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:26: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp: In static member function 'static void Rosegarden::MIDIConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:76:20: error: cannot convert 'Rosegarden::MIDIConfigurationPage*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MIDIConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:79:21: error: request for member 'slotSoundFontToggled' in '* _t', which is of non-class type 'int' 79 | case 0: _t->slotSoundFontToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:80:21: error: request for member 'slotSfxLoadPathChoose' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotSfxLoadPathChoose(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:81:21: error: request for member 'slotSoundFontChoose' in '* _t', which is of non-class type 'int' 81 | case 2: _t->slotSoundFontChoose(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp: In member function 'virtual void* Rosegarden::MIDIConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MIDIConfigurationPage.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MatrixConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MatrixConfigurationPage.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/MatrixConfigurationPage.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:27: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MatrixConfigurationPage.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MatrixConfigurationPage.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MatrixConfigurationPage.cpp: In member function 'virtual void* Rosegarden::MatrixConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_MatrixConfigurationPage.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/NotationConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/NotationConfigurationPage.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/NotationConfigurationPage.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:28: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp: In static member function 'static void Rosegarden::NotationConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:74:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 74 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:74:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 74 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:74:20: error: cannot convert 'Rosegarden::NotationConfigurationPage*' to 'int*' in initialization 74 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:77:21: error: request for member 'slotFontComboChanged' in '* _t', which is of non-class type 'int' 77 | case 0: _t->slotFontComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:78:21: error: request for member 'slotPopulateFontCombo' in '* _t', which is of non-class type 'int' 78 | case 1: _t->slotPopulateFontCombo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:90:5: error: 'nullptr' was not declared in this scope 90 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp: In member function 'virtual void* Rosegarden::NotationConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_NotationConfigurationPage.cpp:101:26: error: 'nullptr' was not declared in this scope 101 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qerrormessage.h: At global scope: /usr/include/qt5/QtWidgets/qerrormessage.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qerrormessage.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QErrorMessage:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:29: /usr/include/qt5/QtWidgets/qerrormessage.h:58:46: error: 'nullptr' was not declared in this scope 58 | explicit QErrorMessage(QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qerrormessage.h: In member function 'QErrorMessagePrivate* QErrorMessage::d_func()': /usr/include/qt5/QtWidgets/qerrormessage.h:56:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QErrorMessage) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qerrormessage.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QErrorMessage) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qerrormessage.h: In member function 'const QErrorMessagePrivate* QErrorMessage::d_func() const': /usr/include/qt5/QtWidgets/qerrormessage.h:56:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 56 | Q_DECLARE_PRIVATE(QErrorMessage) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qerrormessage.h:56:5: note: mismatched types 'T*' and 'QScopedPointer' 56 | Q_DECLARE_PRIVATE(QErrorMessage) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qxmlstream.h: At global scope: /usr/include/qt5/QtCore/qxmlstream.h:95:1: error: 'is_integral' is not a member of 'std' 95 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlStreamStringRef) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:95:1: error: expected primary-expression before '>' token 95 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlStreamStringRef) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:95:1: error: '::value' has not been declared 95 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlStreamStringRef) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:159:1: error: 'is_integral' is not a member of 'std' 159 | Q_DECLARE_TYPEINFO(QXmlStreamAttribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:159:1: error: expected primary-expression before '>' token 159 | Q_DECLARE_TYPEINFO(QXmlStreamAttribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:159:1: error: '::value' has not been declared 159 | Q_DECLARE_TYPEINFO(QXmlStreamAttribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QXmlStreamReader:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/Tuning.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:29: /usr/include/qt5/QtCore/qxmlstream.h:202:67: error: expected ',' or '...' before '&&' token 202 | QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h:202:74: error: invalid constructor; you probably meant 'QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration&)' 202 | QXmlStreamNamespaceDeclaration(QXmlStreamNamespaceDeclaration &&other) Q_DECL_NOTHROW // = default | ^ /usr/include/qt5/QtCore/qxmlstream.h:209:78: error: expected ',' or '...' before '&&' token 209 | QXmlStreamNamespaceDeclaration &operator=(QXmlStreamNamespaceDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'QXmlStreamNamespaceDeclaration& QXmlStreamNamespaceDeclaration::operator=(QXmlStreamNamespaceDeclaration)': /usr/include/qt5/QtCore/qxmlstream.h:211:25: error: 'move' is not a member of 'std' 211 | m_prefix = std::move(other.m_prefix); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:211:25: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:211:30: error: 'other' was not declared in this scope 211 | m_prefix = std::move(other.m_prefix); | ^~~~~ /usr/include/qt5/QtCore/qxmlstream.h:212:31: error: 'move' is not a member of 'std' 212 | m_namespaceUri = std::move(other.m_namespaceUri); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:212:31: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qxmlstream.h: At global scope: /usr/include/qt5/QtCore/qxmlstream.h:230:1: error: 'is_integral' is not a member of 'std' 230 | Q_DECLARE_TYPEINFO(QXmlStreamNamespaceDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:230:1: error: expected primary-expression before '>' token 230 | Q_DECLARE_TYPEINFO(QXmlStreamNamespaceDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:230:1: error: '::value' has not been declared 230 | Q_DECLARE_TYPEINFO(QXmlStreamNamespaceDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QXmlStreamReader:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/Tuning.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:29: /usr/include/qt5/QtCore/qxmlstream.h:245:65: error: expected ',' or '...' before '&&' token 245 | QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h:245:72: error: invalid constructor; you probably meant 'QXmlStreamNotationDeclaration (const QXmlStreamNotationDeclaration&)' 245 | QXmlStreamNotationDeclaration(QXmlStreamNotationDeclaration &&other) Q_DECL_NOTHROW // = default | ^ /usr/include/qt5/QtCore/qxmlstream.h:254:76: error: expected ',' or '...' before '&&' token 254 | QXmlStreamNotationDeclaration &operator=(QXmlStreamNotationDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'QXmlStreamNotationDeclaration& QXmlStreamNotationDeclaration::operator=(QXmlStreamNotationDeclaration)': /usr/include/qt5/QtCore/qxmlstream.h:256:23: error: 'move' is not a member of 'std' 256 | m_name = std::move(other.m_name); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:256:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:256:28: error: 'other' was not declared in this scope 256 | m_name = std::move(other.m_name); | ^~~~~ /usr/include/qt5/QtCore/qxmlstream.h:257:27: error: 'move' is not a member of 'std' 257 | m_systemId = std::move(other.m_systemId); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:257:27: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:258:27: error: 'move' is not a member of 'std' 258 | m_publicId = std::move(other.m_publicId); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:258:27: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qxmlstream.h: At global scope: /usr/include/qt5/QtCore/qxmlstream.h:275:1: error: 'is_integral' is not a member of 'std' 275 | Q_DECLARE_TYPEINFO(QXmlStreamNotationDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:275:1: error: expected primary-expression before '>' token 275 | Q_DECLARE_TYPEINFO(QXmlStreamNotationDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:275:1: error: '::value' has not been declared 275 | Q_DECLARE_TYPEINFO(QXmlStreamNotationDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QXmlStreamReader:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/Tuning.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:29: /usr/include/qt5/QtCore/qxmlstream.h:290:61: error: expected ',' or '...' before '&&' token 290 | QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h:290:68: error: invalid constructor; you probably meant 'QXmlStreamEntityDeclaration (const QXmlStreamEntityDeclaration&)' 290 | QXmlStreamEntityDeclaration(QXmlStreamEntityDeclaration &&other) Q_DECL_NOTHROW // = default | ^ /usr/include/qt5/QtCore/qxmlstream.h:301:72: error: expected ',' or '...' before '&&' token 301 | QXmlStreamEntityDeclaration &operator=(QXmlStreamEntityDeclaration &&other) Q_DECL_NOTHROW // = default | ^~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'QXmlStreamEntityDeclaration& QXmlStreamEntityDeclaration::operator=(QXmlStreamEntityDeclaration)': /usr/include/qt5/QtCore/qxmlstream.h:303:23: error: 'move' is not a member of 'std' 303 | m_name = std::move(other.m_name); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:303:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:303:28: error: 'other' was not declared in this scope 303 | m_name = std::move(other.m_name); | ^~~~~ /usr/include/qt5/QtCore/qxmlstream.h:304:31: error: 'move' is not a member of 'std' 304 | m_notationName = std::move(other.m_notationName); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:304:31: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:305:27: error: 'move' is not a member of 'std' 305 | m_systemId = std::move(other.m_systemId); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:305:27: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:306:27: error: 'move' is not a member of 'std' 306 | m_publicId = std::move(other.m_publicId); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:306:27: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qxmlstream.h:307:24: error: 'move' is not a member of 'std' 307 | m_value = std::move(other.m_value); | ^~~~ /usr/include/qt5/QtCore/qxmlstream.h:307:24: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qxmlstream.h: At global scope: /usr/include/qt5/QtCore/qxmlstream.h:329:1: error: 'is_integral' is not a member of 'std' 329 | Q_DECLARE_TYPEINFO(QXmlStreamEntityDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:329:1: error: expected primary-expression before '>' token 329 | Q_DECLARE_TYPEINFO(QXmlStreamEntityDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h:329:1: error: '::value' has not been declared 329 | Q_DECLARE_TYPEINFO(QXmlStreamEntityDeclaration, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qxmlstream.h: In member function 'QXmlStreamReaderPrivate* QXmlStreamReader::d_func()': /usr/include/qt5/QtCore/qxmlstream.h:457:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 457 | Q_DECLARE_PRIVATE(QXmlStreamReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qxmlstream.h:457:5: note: mismatched types 'T*' and 'QScopedPointer' 457 | Q_DECLARE_PRIVATE(QXmlStreamReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'const QXmlStreamReaderPrivate* QXmlStreamReader::d_func() const': /usr/include/qt5/QtCore/qxmlstream.h:457:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 457 | Q_DECLARE_PRIVATE(QXmlStreamReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qxmlstream.h:457:5: note: mismatched types 'T*' and 'QScopedPointer' 457 | Q_DECLARE_PRIVATE(QXmlStreamReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'QXmlStreamWriterPrivate* QXmlStreamWriter::d_func()': /usr/include/qt5/QtCore/qxmlstream.h:532:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 532 | Q_DECLARE_PRIVATE(QXmlStreamWriter) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qxmlstream.h:532:5: note: mismatched types 'T*' and 'QScopedPointer' 532 | Q_DECLARE_PRIVATE(QXmlStreamWriter) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qxmlstream.h: In member function 'const QXmlStreamWriterPrivate* QXmlStreamWriter::d_func() const': /usr/include/qt5/QtCore/qxmlstream.h:532:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 532 | Q_DECLARE_PRIVATE(QXmlStreamWriter) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qxmlstream.h:532:5: note: mismatched types 'T*' and 'QScopedPointer' 532 | Q_DECLARE_PRIVATE(QXmlStreamWriter) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/configuration/PitchTrackerConfigurationPage.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:29: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp: In static member function 'static void Rosegarden::PitchTrackerConfigurationPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:70:20: error: cannot convert 'Rosegarden::PitchTrackerConfigurationPage*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PitchTrackerConfigurationPage* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:73:21: error: request for member 'slotPopulateTuningCombo' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotPopulateTuningCombo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp: In member function 'virtual void* Rosegarden::PitchTrackerConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_PitchTrackerConfigurationPage.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:30: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_TabbedConfigurationPage.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_TabbedConfigurationPage.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_TabbedConfigurationPage.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_TabbedConfigurationPage.cpp: In member function 'virtual void* Rosegarden::TabbedConfigurationPage::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WGF4VMHOWF/moc_TabbedConfigurationPage.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AboutDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AboutDialog.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AboutDialog.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:31: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AboutDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AboutDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AboutDialog.cpp: In member function 'virtual void* Rosegarden::AboutDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AboutDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AddTracksDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AddTracksDialog.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AddTracksDialog.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:32: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AddTracksDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AddTracksDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AddTracksDialog.cpp: In member function 'virtual void* Rosegarden::AddTracksDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AddTracksDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgroupbox.h: At global scope: /usr/include/qt5/QtWidgets/qgroupbox.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qgroupbox.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGroupBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/WarningGroupBox.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioManagerDialog.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:33: /usr/include/qt5/QtWidgets/qgroupbox.h:62:42: error: 'nullptr' was not declared in this scope 62 | explicit QGroupBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgroupbox.h:63:64: error: 'nullptr' was not declared in this scope 63 | explicit QGroupBox(const QString &title, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgroupbox.h: In member function 'QGroupBoxPrivate* QGroupBox::d_func()': /usr/include/qt5/QtWidgets/qgroupbox.h:102:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 102 | Q_DECLARE_PRIVATE(QGroupBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgroupbox.h:102:5: note: mismatched types 'T*' and 'QScopedPointer' 102 | Q_DECLARE_PRIVATE(QGroupBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgroupbox.h: In member function 'const QGroupBoxPrivate* QGroupBox::d_func() const': /usr/include/qt5/QtWidgets/qgroupbox.h:102:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 102 | Q_DECLARE_PRIVATE(QGroupBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgroupbox.h:102:5: note: mismatched types 'T*' and 'QScopedPointer' 102 | Q_DECLARE_PRIVATE(QGroupBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/WarningGroupBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/WarningGroupBox.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/WarningGroupBox.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioManagerDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioManagerDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:33: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In static member function 'static void Rosegarden::AudioManagerDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:180:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 180 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:180:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 180 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:180:20: error: cannot convert 'Rosegarden::AudioManagerDialog*' to 'int*' in initialization 180 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioManagerDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:183:21: error: request for member 'addAudioFile' in '* _t', which is of non-class type 'int' 183 | case 0: _t->addAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:184:21: error: request for member 'deleteAudioFile' in '* _t', which is of non-class type 'int' 184 | case 1: _t->deleteAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:185:21: error: request for member 'playAudioFile' in '* _t', which is of non-class type 'int' 185 | case 2: _t->playAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< const RealTime(*)>(_a[2])),(*reinterpret_cast< const RealTime(*)>(_a[3]))); break; | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:33: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:186:21: error: request for member 'cancelPlayingAudioFile' in '* _t', which is of non-class type 'int' 186 | case 3: _t->cancelPlayingAudioFile((*reinterpret_cast< AudioFileId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:187:21: error: request for member 'deleteAllAudioFiles' in '* _t', which is of non-class type 'int' 187 | case 4: _t->deleteAllAudioFiles(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:188:21: error: request for member 'segmentsSelected' in '* _t', which is of non-class type 'int' 188 | case 5: _t->segmentsSelected((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:189:21: error: request for member 'deleteSegments' in '* _t', which is of non-class type 'int' 189 | case 6: _t->deleteSegments((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:190:21: error: request for member 'insertAudioSegment' in '* _t', which is of non-class type 'int' 190 | case 7: _t->insertAudioSegment((*reinterpret_cast< AudioFileId(*)>(_a[1])),(*reinterpret_cast< const RealTime(*)>(_a[2])),(*reinterpret_cast< const RealTime(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:191:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 191 | case 8: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:192:21: error: request for member 'slotAdd' in '* _t', which is of non-class type 'int' 192 | case 9: _t->slotAdd(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:193:22: error: request for member 'slotPlayPreview' in '* _t', which is of non-class type 'int' 193 | case 10: _t->slotPlayPreview(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:194:22: error: request for member 'slotRename' in '* _t', which is of non-class type 'int' 194 | case 11: _t->slotRename(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:195:22: error: request for member 'slotInsert' in '* _t', which is of non-class type 'int' 195 | case 12: _t->slotInsert(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:196:22: error: request for member 'slotRemove' in '* _t', which is of non-class type 'int' 196 | case 13: _t->slotRemove(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:197:22: error: request for member 'slotRemoveAll' in '* _t', which is of non-class type 'int' 197 | case 14: _t->slotRemoveAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:198:22: error: request for member 'slotRemoveAllUnused' in '* _t', which is of non-class type 'int' 198 | case 15: _t->slotRemoveAllUnused(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:199:22: error: request for member 'slotDeleteUnused' in '* _t', which is of non-class type 'int' 199 | case 16: _t->slotDeleteUnused(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:200:22: error: request for member 'slotExportAudio' in '* _t', which is of non-class type 'int' 200 | case 17: _t->slotExportAudio(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:201:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 201 | case 18: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:202:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 202 | case 19: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:203:22: error: request for member 'slotSelectionChanged' in '* _t', which is of non-class type 'int' 203 | case 20: _t->slotSelectionChanged(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:204:22: error: request for member 'slotPopulateFileList' in '* _t', which is of non-class type 'int' 204 | case 21: _t->slotPopulateFileList(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:205:22: error: request for member 'slotCommandExecuted' in '* _t', which is of non-class type 'int' 205 | case 22: _t->slotCommandExecuted(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:206:22: error: request for member 'slotSegmentSelection' in '* _t', which is of non-class type 'int' 206 | case 23: _t->slotSegmentSelection((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:207:22: error: request for member 'slotCancelPlayingAudioFile' in '* _t', which is of non-class type 'int' 207 | case 24: _t->slotCancelPlayingAudioFile(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:208:22: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 208 | case 25: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:209:22: error: request for member 'slotDistributeOnMidiSegment' in '* _t', which is of non-class type 'int' 209 | case 26: _t->slotDistributeOnMidiSegment(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:210:22: error: request for member 'slotDropped' in '* _t', which is of non-class type 'int' 210 | case 27: _t->slotDropped((*reinterpret_cast< QDropEvent*(*)>(_a[1])),(*reinterpret_cast< QTreeWidget*(*)>(_a[2])),(*reinterpret_cast< const QList(*)>(_a[3]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:211:22: error: request for member 'slotCancelPlayingAudio' in '* _t', which is of non-class type 'int' 211 | case 28: _t->slotCancelPlayingAudio(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:228:19: error: expected nested-name-specifier before '_t' 228 | using _t = void (AudioManagerDialog::*)(AudioFileId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:35: error: '_t' does not name a type; did you mean 'Qt'? 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:38: error: expected '>' before '*' token 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:38: error: expected '(' before '*' token 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:39: error: expected primary-expression before '>' token 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:63: error: '_t' does not name a type; did you mean 'Qt'? 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:229:102: error: expected ')' before '{' token 229 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::addAudioFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:233:9: error: expected primary-expression before '}' token 233 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:235:19: error: expected nested-name-specifier before '_t' 235 | using _t = void (AudioManagerDialog::*)(AudioFileId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:35: error: '_t' does not name a type; did you mean 'Qt'? 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:38: error: expected '>' before '*' token 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:38: error: expected '(' before '*' token 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:39: error: expected primary-expression before '>' token 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:63: error: '_t' does not name a type; did you mean 'Qt'? 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:236:105: error: expected ')' before '{' token 236 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAudioFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:240:9: error: expected primary-expression before '}' token 240 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:242:19: error: expected nested-name-specifier before '_t' 242 | using _t = void (AudioManagerDialog::*)(AudioFileId , const RealTime & , const RealTime & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:35: error: '_t' does not name a type; did you mean 'Qt'? 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:38: error: expected '>' before '*' token 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:38: error: expected '(' before '*' token 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:39: error: expected primary-expression before '>' token 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:63: error: '_t' does not name a type; did you mean 'Qt'? 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:243:103: error: expected ')' before '{' token 243 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::playAudioFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:247:9: error: expected primary-expression before '}' token 247 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:249:19: error: expected nested-name-specifier before '_t' 249 | using _t = void (AudioManagerDialog::*)(AudioFileId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:35: error: '_t' does not name a type; did you mean 'Qt'? 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:38: error: expected '>' before '*' token 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:38: error: expected '(' before '*' token 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:39: error: expected primary-expression before '>' token 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:63: error: '_t' does not name a type; did you mean 'Qt'? 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:250:112: error: expected ')' before '{' token 250 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::cancelPlayingAudioFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:254:9: error: expected primary-expression before '}' token 254 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:256:19: error: expected nested-name-specifier before '_t' 256 | using _t = void (AudioManagerDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:35: error: '_t' does not name a type; did you mean 'Qt'? 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:38: error: expected '>' before '*' token 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:38: error: expected '(' before '*' token 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:39: error: expected primary-expression before '>' token 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:63: error: '_t' does not name a type; did you mean 'Qt'? 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:257:109: error: expected ')' before '{' token 257 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteAllAudioFiles)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:261:9: error: expected primary-expression before '}' token 261 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:263:19: error: expected nested-name-specifier before '_t' 263 | using _t = void (AudioManagerDialog::*)(const SegmentSelection & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:35: error: '_t' does not name a type; did you mean 'Qt'? 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:38: error: expected '>' before '*' token 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:38: error: expected '(' before '*' token 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:39: error: expected primary-expression before '>' token 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:63: error: '_t' does not name a type; did you mean 'Qt'? 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:264:106: error: expected ')' before '{' token 264 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::segmentsSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:268:9: error: expected primary-expression before '}' token 268 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:270:19: error: expected nested-name-specifier before '_t' 270 | using _t = void (AudioManagerDialog::*)(const SegmentSelection & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:35: error: '_t' does not name a type; did you mean 'Qt'? 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:38: error: expected '>' before '*' token 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:38: error: expected '(' before '*' token 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:39: error: expected primary-expression before '>' token 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:63: error: '_t' does not name a type; did you mean 'Qt'? 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:271:104: error: expected ')' before '{' token 271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::deleteSegments)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:275:9: error: expected primary-expression before '}' token 275 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:277:19: error: expected nested-name-specifier before '_t' 277 | using _t = void (AudioManagerDialog::*)(AudioFileId , const RealTime & , const RealTime & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:35: error: '_t' does not name a type; did you mean 'Qt'? 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:38: error: expected '>' before '*' token 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:38: error: expected '(' before '*' token 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:39: error: expected primary-expression before '>' token 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:63: error: '_t' does not name a type; did you mean 'Qt'? 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:278:108: error: expected ')' before '{' token 278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::insertAudioSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:282:9: error: expected primary-expression before '}' token 282 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:284:19: error: expected nested-name-specifier before '_t' 284 | using _t = void (AudioManagerDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:35: error: '_t' does not name a type; did you mean 'Qt'? 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:38: error: expected '>' before '*' token 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:38: error: expected '(' before '*' token 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:39: error: expected primary-expression before '>' token 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:63: error: '_t' does not name a type; did you mean 'Qt'? 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:285:97: error: expected ')' before '{' token 285 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioManagerDialog::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:289:9: error: expected primary-expression before '}' token 289 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:226:14: warning: unused variable 'result' [-Wunused-variable] 226 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:298:5: error: 'nullptr' was not declared in this scope 298 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:299:5: error: 'nullptr' was not declared in this scope 299 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'virtual void* Rosegarden::AudioManagerDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:310:26: error: 'nullptr' was not declared in this scope 310 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::addAudioFile(Rosegarden::AudioFileId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:338:20: error: 'nullptr' was not declared in this scope 338 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::deleteAudioFile(Rosegarden::AudioFileId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:345:20: error: 'nullptr' was not declared in this scope 345 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::playAudioFile(Rosegarden::AudioFileId, const Rosegarden::RealTime&, const Rosegarden::RealTime&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:352:20: error: 'nullptr' was not declared in this scope 352 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::cancelPlayingAudioFile(Rosegarden::AudioFileId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:359:20: error: 'nullptr' was not declared in this scope 359 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::deleteAllAudioFiles()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:366:55: error: 'nullptr' was not declared in this scope 366 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::segmentsSelected(const SegmentSelection&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:372:20: error: 'nullptr' was not declared in this scope 372 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::deleteSegments(const SegmentSelection&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:379:20: error: 'nullptr' was not declared in this scope 379 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::insertAudioSegment(Rosegarden::AudioFileId, const Rosegarden::RealTime&, const Rosegarden::RealTime&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:386:20: error: 'nullptr' was not declared in this scope 386 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp: In member function 'void Rosegarden::AudioManagerDialog::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioManagerDialog.cpp:393:55: error: 'nullptr' was not declared in this scope 393 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPlayingDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPlayingDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPlayingDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:34: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPlayingDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPlayingDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPlayingDialog.cpp: In member function 'virtual void* Rosegarden::AudioPlayingDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPlayingDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPluginDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPluginDialog.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioPluginDialog.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:35: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In static member function 'static void Rosegarden::AudioPluginDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:148:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 148 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:148:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 148 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:148:20: error: cannot convert 'Rosegarden::AudioPluginDialog*' to 'int*' in initialization 148 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioPluginDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:151:21: error: request for member 'pluginSelected' in '* _t', which is of non-class type 'int' 151 | case 0: _t->pluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:152:21: error: request for member 'pluginPortChanged' in '* _t', which is of non-class type 'int' 152 | case 1: _t->pluginPortChanged((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:153:21: error: request for member 'pluginProgramChanged' in '* _t', which is of non-class type 'int' 153 | case 2: _t->pluginProgramChanged((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:154:21: error: request for member 'changePluginConfiguration' in '* _t', which is of non-class type 'int' 154 | case 3: _t->changePluginConfiguration((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4])),(*reinterpret_cast< QString(*)>(_a[5]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:155:21: error: request for member 'showPluginGUI' in '* _t', which is of non-class type 'int' 155 | case 4: _t->showPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:156:21: error: request for member 'stopPluginGUI' in '* _t', which is of non-class type 'int' 156 | case 5: _t->stopPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:157:21: error: request for member 'bypassed' in '* _t', which is of non-class type 'int' 157 | case 6: _t->bypassed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:158:21: error: request for member 'destroyed' in '* _t', which is of non-class type 'int' 158 | case 7: _t->destroyed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:159:21: error: request for member 'windowActivated' in '* _t', which is of non-class type 'int' 159 | case 8: _t->windowActivated(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:160:21: error: request for member 'slotCategorySelected' in '* _t', which is of non-class type 'int' 160 | case 9: _t->slotCategorySelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:161:22: error: request for member 'slotPluginSelected' in '* _t', which is of non-class type 'int' 161 | case 10: _t->slotPluginSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:162:22: error: request for member 'slotPluginPortChanged' in '* _t', which is of non-class type 'int' 162 | case 11: _t->slotPluginPortChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:163:22: error: request for member 'slotPluginProgramChanged' in '* _t', which is of non-class type 'int' 163 | case 12: _t->slotPluginProgramChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:164:22: error: request for member 'slotBypassChanged' in '* _t', which is of non-class type 'int' 164 | case 13: _t->slotBypassChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:165:22: error: request for member 'slotCopy' in '* _t', which is of non-class type 'int' 165 | case 14: _t->slotCopy(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:166:22: error: request for member 'slotPaste' in '* _t', which is of non-class type 'int' 166 | case 15: _t->slotPaste(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:167:22: error: request for member 'slotDefault' in '* _t', which is of non-class type 'int' 167 | case 16: _t->slotDefault(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:168:22: error: request for member 'slotShowGUI' in '* _t', which is of non-class type 'int' 168 | case 17: _t->slotShowGUI(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:169:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 169 | case 18: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:170:22: error: request for member 'slotEditor' in '* _t', which is of non-class type 'int' 170 | case 19: _t->slotEditor(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:176:19: error: expected nested-name-specifier before '_t' 176 | using _t = void (AudioPluginDialog::*)(InstrumentId , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:35: error: '_t' does not name a type; did you mean 'Qt'? 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:38: error: expected '>' before '*' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:38: error: expected '(' before '*' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:39: error: expected primary-expression before '>' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:63: error: '_t' does not name a type; did you mean 'Qt'? 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:177:103: error: expected ')' before '{' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:181:9: error: expected primary-expression before '}' token 181 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:183:19: error: expected nested-name-specifier before '_t' 183 | using _t = void (AudioPluginDialog::*)(InstrumentId , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:35: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:38: error: expected '>' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:38: error: expected '(' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:39: error: expected primary-expression before '>' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:63: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:184:106: error: expected ')' before '{' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginPortChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:188:9: error: expected primary-expression before '}' token 188 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:190:19: error: expected nested-name-specifier before '_t' 190 | using _t = void (AudioPluginDialog::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:35: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:38: error: expected '>' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:38: error: expected '(' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:39: error: expected primary-expression before '>' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:63: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:191:109: error: expected ')' before '{' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::pluginProgramChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:195:9: error: expected primary-expression before '}' token 195 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:197:19: error: expected nested-name-specifier before '_t' 197 | using _t = void (AudioPluginDialog::*)(InstrumentId , int , bool , QString , QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:35: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:38: error: expected '>' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:38: error: expected '(' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:39: error: expected primary-expression before '>' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:63: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:198:114: error: expected ')' before '{' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::changePluginConfiguration)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:202:9: error: expected primary-expression before '}' token 202 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:204:19: error: expected nested-name-specifier before '_t' 204 | using _t = void (AudioPluginDialog::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:35: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:38: error: expected '>' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:38: error: expected '(' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:39: error: expected primary-expression before '>' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:63: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:205:102: error: expected ')' before '{' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::showPluginGUI)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:209:9: error: expected primary-expression before '}' token 209 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:211:19: error: expected nested-name-specifier before '_t' 211 | using _t = void (AudioPluginDialog::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:35: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:38: error: expected '>' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:38: error: expected '(' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:39: error: expected primary-expression before '>' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:63: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:212:102: error: expected ')' before '{' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::stopPluginGUI)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:216:9: error: expected primary-expression before '}' token 216 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:218:19: error: expected nested-name-specifier before '_t' 218 | using _t = void (AudioPluginDialog::*)(InstrumentId , int , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:35: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:38: error: expected '>' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:38: error: expected '(' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:39: error: expected primary-expression before '>' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:63: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:219:97: error: expected ')' before '{' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::bypassed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:223:9: error: expected primary-expression before '}' token 223 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:225:19: error: expected nested-name-specifier before '_t' 225 | using _t = void (AudioPluginDialog::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:35: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:38: error: expected '>' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:38: error: expected '(' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:39: error: expected primary-expression before '>' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:63: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:226:98: error: expected ')' before '{' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::destroyed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:230:9: error: expected primary-expression before '}' token 230 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:232:19: error: expected nested-name-specifier before '_t' 232 | using _t = void (AudioPluginDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:35: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:38: error: expected '>' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:38: error: expected '(' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:39: error: expected primary-expression before '>' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:63: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:233:104: error: expected ')' before '{' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPluginDialog::windowActivated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:237:9: error: expected primary-expression before '}' token 237 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:174:14: warning: unused variable 'result' [-Wunused-variable] 174 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:246:5: error: 'nullptr' was not declared in this scope 246 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:247:5: error: 'nullptr' was not declared in this scope 247 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'virtual void* Rosegarden::AudioPluginDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:258:26: error: 'nullptr' was not declared in this scope 258 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::pluginSelected(Rosegarden::InstrumentId, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:284:20: error: 'nullptr' was not declared in this scope 284 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::pluginPortChanged(Rosegarden::InstrumentId, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:291:20: error: 'nullptr' was not declared in this scope 291 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::pluginProgramChanged(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:298:20: error: 'nullptr' was not declared in this scope 298 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::changePluginConfiguration(Rosegarden::InstrumentId, int, bool, QString, QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:305:20: error: 'nullptr' was not declared in this scope 305 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)), const_cast(reinterpret_cast(&_t5)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:35: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::showPluginGUI(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:312:20: error: 'nullptr' was not declared in this scope 312 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::stopPluginGUI(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:319:20: error: 'nullptr' was not declared in this scope 319 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::bypassed(Rosegarden::InstrumentId, int, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:326:20: error: 'nullptr' was not declared in this scope 326 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::destroyed(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:333:20: error: 'nullptr' was not declared in this scope 333 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp: In member function 'void Rosegarden::AudioPluginDialog::windowActivated()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioPluginDialog.cpp:340:55: error: 'nullptr' was not declared in this scope 340 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioSplitDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioSplitDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/AudioSplitDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:36: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp: In static member function 'static void Rosegarden::AudioSplitDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:72:20: error: cannot convert 'Rosegarden::AudioSplitDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioSplitDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:75:21: error: request for member 'slotThresholdChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotThresholdChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:76:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp: In member function 'virtual void* Rosegarden::AudioSplitDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_AudioSplitDialog.cpp:99:26: error: 'nullptr' was not declared in this scope 99 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/BeatsBarsDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/BeatsBarsDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/BeatsBarsDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:37: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_BeatsBarsDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_BeatsBarsDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_BeatsBarsDialog.cpp: In member function 'virtual void* Rosegarden::BeatsBarsDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_BeatsBarsDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsscene.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsscene.h:98:5: error: 'nullptr' was not declared in this scope 98 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsscene.h:98:5: error: 'nullptr' was not declared in this scope 98 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsScene:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsscene.h:125:38: error: 'nullptr' was not declared in this scope 125 | QGraphicsScene(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsscene.h:126:63: error: 'nullptr' was not declared in this scope 126 | QGraphicsScene(const QRectF &sceneRect, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsscene.h:127:83: error: 'nullptr' was not declared in this scope 127 | QGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsScene:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsscene.h:292:46: error: 'nullptr' was not declared in this scope 292 | QWidget *widget = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsscene.h: In member function 'QGraphicsScenePrivate* QGraphicsScene::d_func()': /usr/include/qt5/QtWidgets/qgraphicsscene.h:304:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 304 | Q_DECLARE_PRIVATE(QGraphicsScene) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsscene.h:304:5: note: mismatched types 'T*' and 'QScopedPointer' 304 | Q_DECLARE_PRIVATE(QGraphicsScene) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsscene.h: In member function 'const QGraphicsScenePrivate* QGraphicsScene::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsscene.h:304:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 304 | Q_DECLARE_PRIVATE(QGraphicsScene) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsscene.h:304:5: note: mismatched types 'T*' and 'QScopedPointer' 304 | Q_DECLARE_PRIVATE(QGraphicsScene) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:161:52: error: 'nullptr' was not declared in this scope 161 | explicit QGraphicsItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:197:64: error: 'nullptr' was not declared in this scope 197 | bool isBlockedByModalPanel(QGraphicsItem **blockingPanel = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:293:69: error: 'nullptr' was not declared in this scope 293 | QTransform itemTransform(const QGraphicsItem *other, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:344:101: error: 'nullptr' was not declared in this scope 344 | virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) = 0; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsItemPrivate* QGraphicsItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:463:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 463 | Q_DECLARE_PRIVATE(QGraphicsItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:463:5: note: mismatched types 'T*' and 'QScopedPointer' 463 | Q_DECLARE_PRIVATE(QGraphicsItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsItemPrivate* QGraphicsItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:463:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 463 | Q_DECLARE_PRIVATE(QGraphicsItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:463:5: note: mismatched types 'T*' and 'QScopedPointer' 463 | Q_DECLARE_PRIVATE(QGraphicsItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In function 'T qobject_cast(QObject*) [with T = QGraphicsItem*]': /usr/include/qt5/QtWidgets/qgraphicsitem.h:490:1: error: 'nullptr' was not declared in this scope 490 | Q_DECLARE_INTERFACE(QGraphicsItem, "org.qt-project.Qt.QGraphicsItem") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In function 'T qobject_cast(const QObject*) [with T = QGraphicsItem*]': /usr/include/qt5/QtWidgets/qgraphicsitem.h:490:1: error: 'nullptr' was not declared in this scope 490 | Q_DECLARE_INTERFACE(QGraphicsItem, "org.qt-project.Qt.QGraphicsItem") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:540:5: error: 'nullptr' was not declared in this scope 540 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:540:5: error: 'nullptr' was not declared in this scope 540 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h:561:54: error: 'nullptr' was not declared in this scope 561 | explicit QGraphicsObject(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:603:65: error: 'nullptr' was not declared in this scope 603 | explicit QAbstractGraphicsShapeItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QAbstractGraphicsShapeItemPrivate* QAbstractGraphicsShapeItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:621:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 621 | Q_DECLARE_PRIVATE(QAbstractGraphicsShapeItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:621:5: note: mismatched types 'T*' and 'QScopedPointer' 621 | Q_DECLARE_PRIVATE(QAbstractGraphicsShapeItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QAbstractGraphicsShapeItemPrivate* QAbstractGraphicsShapeItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:621:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 621 | Q_DECLARE_PRIVATE(QAbstractGraphicsShapeItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:621:5: note: mismatched types 'T*' and 'QScopedPointer' 621 | Q_DECLARE_PRIVATE(QAbstractGraphicsShapeItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:628:56: error: 'nullptr' was not declared in this scope 628 | explicit QGraphicsPathItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:629:82: error: 'nullptr' was not declared in this scope 629 | explicit QGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:639:93: error: 'nullptr' was not declared in this scope 639 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsPathItemPrivate* QGraphicsPathItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:654:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 654 | Q_DECLARE_PRIVATE(QGraphicsPathItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:654:5: note: mismatched types 'T*' and 'QScopedPointer' 654 | Q_DECLARE_PRIVATE(QGraphicsPathItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsPathItemPrivate* QGraphicsPathItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:654:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 654 | Q_DECLARE_PRIVATE(QGraphicsPathItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:654:5: note: mismatched types 'T*' and 'QScopedPointer' 654 | Q_DECLARE_PRIVATE(QGraphicsPathItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:661:56: error: 'nullptr' was not declared in this scope 661 | explicit QGraphicsRectItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:662:76: error: 'nullptr' was not declared in this scope 662 | explicit QGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:663:92: error: 'nullptr' was not declared in this scope 663 | explicit QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:674:93: error: 'nullptr' was not declared in this scope 674 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsRectItemPrivate* QGraphicsRectItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:689:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 689 | Q_DECLARE_PRIVATE(QGraphicsRectItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:689:5: note: mismatched types 'T*' and 'QScopedPointer' 689 | Q_DECLARE_PRIVATE(QGraphicsRectItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsRectItemPrivate* QGraphicsRectItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:689:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 689 | Q_DECLARE_PRIVATE(QGraphicsRectItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:689:5: note: mismatched types 'T*' and 'QScopedPointer' 689 | Q_DECLARE_PRIVATE(QGraphicsRectItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:699:59: error: 'nullptr' was not declared in this scope 699 | explicit QGraphicsEllipseItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:700:79: error: 'nullptr' was not declared in this scope 700 | explicit QGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:701:95: error: 'nullptr' was not declared in this scope 701 | explicit QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:718:93: error: 'nullptr' was not declared in this scope 718 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsEllipseItemPrivate* QGraphicsEllipseItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:733:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 733 | Q_DECLARE_PRIVATE(QGraphicsEllipseItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:733:5: note: mismatched types 'T*' and 'QScopedPointer' 733 | Q_DECLARE_PRIVATE(QGraphicsEllipseItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsEllipseItemPrivate* QGraphicsEllipseItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:733:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 733 | Q_DECLARE_PRIVATE(QGraphicsEllipseItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:733:5: note: mismatched types 'T*' and 'QScopedPointer' 733 | Q_DECLARE_PRIVATE(QGraphicsEllipseItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:743:59: error: 'nullptr' was not declared in this scope 743 | explicit QGraphicsPolygonItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:745:59: error: 'nullptr' was not declared in this scope 745 | QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:758:93: error: 'nullptr' was not declared in this scope 758 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsPolygonItemPrivate* QGraphicsPolygonItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:773:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 773 | Q_DECLARE_PRIVATE(QGraphicsPolygonItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:773:5: note: mismatched types 'T*' and 'QScopedPointer' 773 | Q_DECLARE_PRIVATE(QGraphicsPolygonItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsPolygonItemPrivate* QGraphicsPolygonItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:773:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 773 | Q_DECLARE_PRIVATE(QGraphicsPolygonItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:773:5: note: mismatched types 'T*' and 'QScopedPointer' 773 | Q_DECLARE_PRIVATE(QGraphicsPolygonItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:780:56: error: 'nullptr' was not declared in this scope 780 | explicit QGraphicsLineItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:781:76: error: 'nullptr' was not declared in this scope 781 | explicit QGraphicsLineItem(const QLineF &line, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:782:96: error: 'nullptr' was not declared in this scope 782 | explicit QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:797:93: error: 'nullptr' was not declared in this scope 797 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsLineItemPrivate* QGraphicsLineItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:812:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 812 | Q_DECLARE_PRIVATE(QGraphicsLineItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:812:5: note: mismatched types 'T*' and 'QScopedPointer' 812 | Q_DECLARE_PRIVATE(QGraphicsLineItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsLineItemPrivate* QGraphicsLineItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:812:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 812 | Q_DECLARE_PRIVATE(QGraphicsLineItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:812:5: note: mismatched types 'T*' and 'QScopedPointer' 812 | Q_DECLARE_PRIVATE(QGraphicsLineItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:825:58: error: 'nullptr' was not declared in this scope 825 | explicit QGraphicsPixmapItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:826:81: error: 'nullptr' was not declared in this scope 826 | explicit QGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsPixmapItemPrivate* QGraphicsPixmapItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:861:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 861 | Q_DECLARE_PRIVATE(QGraphicsPixmapItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:861:5: note: mismatched types 'T*' and 'QScopedPointer' 861 | Q_DECLARE_PRIVATE(QGraphicsPixmapItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsPixmapItemPrivate* QGraphicsPixmapItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:861:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 861 | Q_DECLARE_PRIVATE(QGraphicsPixmapItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:861:5: note: mismatched types 'T*' and 'QScopedPointer' 861 | Q_DECLARE_PRIVATE(QGraphicsPixmapItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:872:5: error: 'nullptr' was not declared in this scope 872 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:872:5: error: 'nullptr' was not declared in this scope 872 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h:877:56: error: 'nullptr' was not declared in this scope 877 | explicit QGraphicsTextItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:878:77: error: 'nullptr' was not declared in this scope 878 | explicit QGraphicsTextItem(const QString &text, QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:968:62: error: 'nullptr' was not declared in this scope 968 | explicit QGraphicsSimpleTextItem(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:969:83: error: 'nullptr' was not declared in this scope 969 | explicit QGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsSimpleTextItemPrivate* QGraphicsSimpleTextItem::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:997:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 997 | Q_DECLARE_PRIVATE(QGraphicsSimpleTextItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:997:5: note: mismatched types 'T*' and 'QScopedPointer' 997 | Q_DECLARE_PRIVATE(QGraphicsSimpleTextItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsSimpleTextItemPrivate* QGraphicsSimpleTextItem::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:997:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 997 | Q_DECLARE_PRIVATE(QGraphicsSimpleTextItem) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:997:5: note: mismatched types 'T*' and 'QScopedPointer' 997 | Q_DECLARE_PRIVATE(QGraphicsSimpleTextItem) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: At global scope: /usr/include/qt5/QtWidgets/qgraphicsitem.h:1004:57: error: 'nullptr' was not declared in this scope 1004 | explicit QGraphicsItemGroup(QGraphicsItem *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:1011:93: error: 'nullptr' was not declared in this scope 1011 | void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'QGraphicsItemGroupPrivate* QGraphicsItemGroup::d_func()': /usr/include/qt5/QtWidgets/qgraphicsitem.h:1021:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 1021 | Q_DECLARE_PRIVATE(QGraphicsItemGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:1021:5: note: mismatched types 'T*' and 'QScopedPointer' 1021 | Q_DECLARE_PRIVATE(QGraphicsItemGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h: In member function 'const QGraphicsItemGroupPrivate* QGraphicsItemGroup::d_func() const': /usr/include/qt5/QtWidgets/qgraphicsitem.h:1021:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 1021 | Q_DECLARE_PRIVATE(QGraphicsItemGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qgraphicsitem.h:1021:5: note: mismatched types 'T*' and 'QScopedPointer' 1021 | Q_DECLARE_PRIVATE(QGraphicsItemGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QGraphicsPixmapItem:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:33, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qgraphicsitem.h: In function 'T qgraphicsitem_cast(QGraphicsItem*)': /usr/include/qt5/QtWidgets/qgraphicsitem.h:1026:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 1026 | typedef typename std::remove_cv::type>::type Item; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qgraphicsitem.h:1026:36: error: expected unqualified-id before '<' token 1026 | typedef typename std::remove_cv::type>::type Item; | ^ /usr/include/qt5/QtWidgets/qgraphicsitem.h:1027:16: error: 'Item' was not declared in this scope; did you mean 'item'? 1027 | return int(Item::Type) == int(QGraphicsItem::Type) | ^~~~ | item /usr/include/qt5/QtWidgets/qgraphicsitem.h:1028:21: error: expected primary-expression before 'int' 1028 | || (item && int(Item::Type) == item->type()) ? static_cast(item) : 0; | ^~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:1028:20: error: expected ')' before 'int' 1028 | || (item && int(Item::Type) == item->type()) ? static_cast(item) : 0; | ~ ^~~~ | ) /usr/include/qt5/QtWidgets/qgraphicsitem.h: In function 'T qgraphicsitem_cast(const QGraphicsItem*)': /usr/include/qt5/QtWidgets/qgraphicsitem.h:1033:27: error: 'remove_cv' in namespace 'std' does not name a template type; did you mean 'remove_if'? 1033 | typedef typename std::remove_cv::type>::type Item; | ^~~~~~~~~ | remove_if /usr/include/qt5/QtWidgets/qgraphicsitem.h:1033:36: error: expected unqualified-id before '<' token 1033 | typedef typename std::remove_cv::type>::type Item; | ^ /usr/include/qt5/QtWidgets/qgraphicsitem.h:1034:16: error: 'Item' was not declared in this scope; did you mean 'item'? 1034 | return int(Item::Type) == int(QGraphicsItem::Type) | ^~~~ | item /usr/include/qt5/QtWidgets/qgraphicsitem.h:1035:21: error: expected primary-expression before 'int' 1035 | || (item && int(Item::Type) == item->type()) ? static_cast(item) : 0; | ^~~ /usr/include/qt5/QtWidgets/qgraphicsitem.h:1035:20: error: expected ')' before 'int' 1035 | || (item && int(Item::Type) == item->type()) ? static_cast(item) : 0; | ~ ^~~~ | ) In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::NotePixmapFactory) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotePixmapFactory.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::NotePixmapFactory) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationScene.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qprogressbar.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qprogressbar.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProgressBar:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ProgressBar.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationView.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:34, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qprogressbar.h:71:45: error: 'nullptr' was not declared in this scope 71 | explicit QProgressBar(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qprogressbar.h: In member function 'QProgressBarPrivate* QProgressBar::d_func()': /usr/include/qt5/QtWidgets/qprogressbar.h:117:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 117 | Q_DECLARE_PRIVATE(QProgressBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressbar.h:117:5: note: mismatched types 'T*' and 'QScopedPointer' 117 | Q_DECLARE_PRIVATE(QProgressBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qprogressbar.h: In member function 'const QProgressBarPrivate* QProgressBar::d_func() const': /usr/include/qt5/QtWidgets/qprogressbar.h:117:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 117 | Q_DECLARE_PRIVATE(QProgressBar) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qprogressbar.h:117:5: note: mismatched types 'T*' and 'QScopedPointer' 117 | Q_DECLARE_PRIVATE(QProgressBar) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ProgressBar.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ProgressBar.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/ProgressBar.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationView.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationView.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qtextdocument.h:99:5: error: 'nullptr' was not declared in this scope 99 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtGui/qtextdocument.h:99:5: error: 'nullptr' was not declared in this scope 99 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextedit.h:45, from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:36, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtGui/qtextdocument.h:119:46: error: 'nullptr' was not declared in this scope 119 | explicit QTextDocument(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qtextdocument.h:120:67: error: 'nullptr' was not declared in this scope 120 | explicit QTextDocument(const QString &text, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtGui/qtextdocument.h:123:44: error: 'nullptr' was not declared in this scope 123 | QTextDocument *clone(QObject *parent = nullptr) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qtextdocument.h: In member function 'QTextDocumentPrivate* QTextDocument::d_func()': /usr/include/qt5/QtGui/qtextdocument.h:300:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 300 | Q_DECLARE_PRIVATE(QTextDocument) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qtextdocument.h:300:5: note: mismatched types 'T*' and 'QScopedPointer' 300 | Q_DECLARE_PRIVATE(QTextDocument) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qtextdocument.h: In member function 'const QTextDocumentPrivate* QTextDocument::d_func() const': /usr/include/qt5/QtGui/qtextdocument.h:300:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 300 | Q_DECLARE_PRIVATE(QTextDocument) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtGui/qtextdocument.h:300:5: note: mismatched types 'T*' and 'QScopedPointer' 300 | Q_DECLARE_PRIVATE(QTextDocument) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtextedit.h: At global scope: /usr/include/qt5/QtWidgets/qtextedit.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtextedit.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtextbrowser.h:44, from /usr/include/qt5/QtWidgets/QTextBrowser:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:36, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qtextedit.h:105:42: error: 'nullptr' was not declared in this scope 105 | explicit QTextEdit(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qtextedit.h:106:63: error: 'nullptr' was not declared in this scope 106 | explicit QTextEdit(const QString &text, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtextedit.h: In member function 'QTextEditPrivate* QTextEdit::d_func()': /usr/include/qt5/QtWidgets/qtextedit.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtextedit.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtextedit.h: In member function 'const QTextEditPrivate* QTextEdit::d_func() const': /usr/include/qt5/QtWidgets/qtextedit.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QTextEdit) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtextedit.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QTextEdit) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtextbrowser.h: At global scope: /usr/include/qt5/QtWidgets/qtextbrowser.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtextbrowser.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTextBrowser:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:36, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qtextbrowser.h:66:45: error: 'nullptr' was not declared in this scope 66 | explicit QTextBrowser(QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtextbrowser.h: In member function 'QTextBrowserPrivate* QTextBrowser::d_func()': /usr/include/qt5/QtWidgets/qtextbrowser.h:118:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 118 | Q_DECLARE_PRIVATE(QTextBrowser) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtextbrowser.h:118:5: note: mismatched types 'T*' and 'QScopedPointer' 118 | Q_DECLARE_PRIVATE(QTextBrowser) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtextbrowser.h: In member function 'const QTextBrowserPrivate* QTextBrowser::d_func() const': /usr/include/qt5/QtWidgets/qtextbrowser.h:118:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 118 | Q_DECLARE_PRIVATE(QTextBrowser) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtextbrowser.h:118:5: note: mismatched types 'T*' and 'QScopedPointer' 118 | Q_DECLARE_PRIVATE(QTextBrowser) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qpushbutton.h: At global scope: /usr/include/qt5/QtWidgets/qpushbutton.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qpushbutton.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QPushButton:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:40, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/include/qt5/QtWidgets/qpushbutton.h:64:44: error: 'nullptr' was not declared in this scope 64 | explicit QPushButton(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qpushbutton.h:65:65: error: 'nullptr' was not declared in this scope 65 | explicit QPushButton(const QString &text, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qpushbutton.h:66:75: error: 'nullptr' was not declared in this scope 66 | QPushButton(const QIcon& icon, const QString &text, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qpushbutton.h:97:59: error: 'nullptr' was not declared in this scope 97 | QPushButton(QPushButtonPrivate &dd, QWidget* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qpushbutton.h: In member function 'QPushButtonPrivate* QPushButton::d_func()': /usr/include/qt5/QtWidgets/qpushbutton.h:103:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 103 | Q_DECLARE_PRIVATE(QPushButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qpushbutton.h:103:5: note: mismatched types 'T*' and 'QScopedPointer' 103 | Q_DECLARE_PRIVATE(QPushButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qpushbutton.h: In member function 'const QPushButtonPrivate* QPushButton::d_func() const': /usr/include/qt5/QtWidgets/qpushbutton.h:103:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 103 | Q_DECLARE_PRIVATE(QPushButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qpushbutton.h:103:5: note: mismatched types 'T*' and 'QScopedPointer' 103 | Q_DECLARE_PRIVATE(QPushButton) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CheckForParallelsDialog.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:38: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp: In static member function 'static void Rosegarden::CheckForParallelsDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:90:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 90 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:90:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 90 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:90:20: error: cannot convert 'Rosegarden::CheckForParallelsDialog*' to 'int*' in initialization 90 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CheckForParallelsDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:93:21: error: request for member 'startCheck' in '* _t', which is of non-class type 'int' 93 | case 0: _t->startCheck(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:94:21: error: request for member 'clear' in '* _t', which is of non-class type 'int' 94 | case 1: _t->clear(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:95:21: error: request for member 'cleanUpAndLeave' in '* _t', which is of non-class type 'int' 95 | case 2: _t->cleanUpAndLeave(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:96:21: error: request for member 'checkForUnisonsClicked' in '* _t', which is of non-class type 'int' 96 | case 3: _t->checkForUnisonsClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:97:21: error: request for member 'checkForHiddenParallelsClicked' in '* _t', which is of non-class type 'int' 97 | case 4: _t->checkForHiddenParallelsClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:98:21: error: request for member 'exportText' in '* _t', which is of non-class type 'int' 98 | case 5: _t->exportText(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:99:21: error: request for member 'onTextBrowserclicked' in '* _t', which is of non-class type 'int' 99 | case 6: _t->onTextBrowserclicked(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp: In member function 'virtual void* Rosegarden::CheckForParallelsDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CheckForParallelsDialog.cpp:123:26: error: 'nullptr' was not declared in this scope 123 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ClefDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ClefDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ClefDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:39: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp: In static member function 'static void Rosegarden::ClefDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:82:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 82 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:82:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 82 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:82:20: error: cannot convert 'Rosegarden::ClefDialog*' to 'int*' in initialization 82 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ClefDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:85:21: error: request for member 'slotClefUp' in '* _t', which is of non-class type 'int' 85 | case 0: _t->slotClefUp(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:86:21: error: request for member 'slotClefDown' in '* _t', which is of non-class type 'int' 86 | case 1: _t->slotClefDown(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:87:21: error: request for member 'slotOctaveUp' in '* _t', which is of non-class type 'int' 87 | case 2: _t->slotOctaveUp(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:88:21: error: request for member 'slotOctaveDown' in '* _t', which is of non-class type 'int' 88 | case 3: _t->slotOctaveDown(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:89:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 89 | case 4: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp: In member function 'virtual void* Rosegarden::ClefDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ClefDialog.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CommentsPopupDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CommentsPopupDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CommentsPopupDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:40: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp: In static member function 'static void Rosegarden::CommentsPopupDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:70:20: error: cannot convert 'Rosegarden::CommentsPopupDialog*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CommentsPopupDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:73:21: error: request for member 'slotCheckChanged' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotCheckChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp: In member function 'virtual void* Rosegarden::CommentsPopupDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CommentsPopupDialog.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CompositionLengthDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CompositionLengthDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CompositionLengthDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:41: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CompositionLengthDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CompositionLengthDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CompositionLengthDialog.cpp: In member function 'virtual void* Rosegarden::CompositionLengthDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CompositionLengthDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmessagebox.h: At global scope: /usr/include/qt5/QtWidgets/qmessagebox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QMessageBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialogBase.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:42: /usr/include/qt5/QtWidgets/qmessagebox.h:135:44: error: 'nullptr' was not declared in this scope 135 | explicit QMessageBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:137:71: error: 'nullptr' was not declared in this scope 137 | StandardButtons buttons = NoButton, QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h:204:37: error: 'nullptr' was not declared in this scope 204 | QWidget *parent = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qmessagebox.h: In member function 'QMessageBoxPrivate* QMessageBox::d_func()': /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: note: mismatched types 'T*' and 'QScopedPointer' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qmessagebox.h: In member function 'const QMessageBoxPrivate* QMessageBox::d_func() const': /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qmessagebox.h:305:5: note: mismatched types 'T*' and 'QScopedPointer' 305 | Q_DECLARE_PRIVATE(QMessageBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialogBase.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialogBase.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialogBase.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ConfigureDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:42: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp: In static member function 'static void Rosegarden::ConfigureDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:69:20: error: cannot convert 'Rosegarden::ConfigureDialog*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ConfigureDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:72:21: error: request for member 'updateAutoSaveInterval' in '* _t', which is of non-class type 'int' 72 | case 0: _t->updateAutoSaveInterval((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (ConfigureDialog::*)(unsigned int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:79:109: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConfigureDialog::updateAutoSaveInterval)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp: In member function 'virtual void* Rosegarden::ConfigureDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp: In member function 'void Rosegarden::ConfigureDialog::updateAutoSaveInterval(unsigned int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialog.cpp:130:20: error: 'nullptr' was not declared in this scope 130 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:43: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp: In static member function 'static void Rosegarden::ConfigureDialogBase::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:82:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 82 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:82:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 82 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:82:20: error: cannot convert 'Rosegarden::ConfigureDialogBase*' to 'int*' in initialization 82 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ConfigureDialogBase* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:85:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 85 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:86:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 86 | case 1: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:87:21: error: request for member 'slotCancelOrClose' in '* _t', which is of non-class type 'int' 87 | case 2: _t->slotCancelOrClose(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:88:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 88 | case 3: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:89:21: error: request for member 'slotActivateApply' in '* _t', which is of non-class type 'int' 89 | case 4: _t->slotActivateApply(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp: In member function 'virtual void* Rosegarden::ConfigureDialogBase::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ConfigureDialogBase.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownBar.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownBar.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownBar.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:44: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownBar.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownBar.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownBar.cpp: In member function 'virtual void* Rosegarden::CountdownBar::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownBar.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/CountdownDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:45: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp: In static member function 'static void Rosegarden::CountdownDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:72:20: error: cannot convert 'Rosegarden::CountdownDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CountdownDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:75:21: error: request for member 'completed' in '* _t', which is of non-class type 'int' 75 | case 0: _t->completed(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:76:21: error: request for member 'stopped' in '* _t', which is of non-class type 'int' 76 | case 1: _t->stopped(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:82:19: error: expected nested-name-specifier before '_t' 82 | using _t = void (CountdownDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:35: error: '_t' does not name a type; did you mean 'Qt'? 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:38: error: expected '>' before '*' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:38: error: expected '(' before '*' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:39: error: expected primary-expression before '>' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:63: error: '_t' does not name a type; did you mean 'Qt'? 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:83:96: error: expected ')' before '{' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::completed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:87:9: error: expected primary-expression before '}' token 87 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:89:19: error: expected nested-name-specifier before '_t' 89 | using _t = void (CountdownDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:35: error: '_t' does not name a type; did you mean 'Qt'? 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:38: error: expected '>' before '*' token 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:38: error: expected '(' before '*' token 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:39: error: expected primary-expression before '>' token 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:63: error: '_t' does not name a type; did you mean 'Qt'? 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:90:94: error: expected ')' before '{' token 90 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CountdownDialog::stopped)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:94:9: error: expected primary-expression before '}' token 94 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:80:14: warning: unused variable 'result' [-Wunused-variable] 80 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:104:5: error: 'nullptr' was not declared in this scope 104 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:105:5: error: 'nullptr' was not declared in this scope 105 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp: In member function 'virtual void* Rosegarden::CountdownDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:116:26: error: 'nullptr' was not declared in this scope 116 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp: In member function 'void Rosegarden::CountdownDialog::completed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:142:55: error: 'nullptr' was not declared in this scope 142 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp: In member function 'void Rosegarden::CountdownDialog::stopped()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_CountdownDialog.cpp:148:55: error: 'nullptr' was not declared in this scope 148 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/DialogSuppressor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/DialogSuppressor.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/DialogSuppressor.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:46: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp: In static member function 'static void Rosegarden::SuppressionTarget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:69:20: error: cannot convert 'Rosegarden::SuppressionTarget*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SuppressionTarget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:72:21: error: request for member 'slotSuppressionToggled' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotSuppressionToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:83:5: error: 'nullptr' was not declared in this scope 83 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp: In member function 'virtual void* Rosegarden::SuppressionTarget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_DialogSuppressor.cpp:95:26: error: 'nullptr' was not declared in this scope 95 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventEditDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventEditDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventEditDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:47: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp: In static member function 'static void Rosegarden::EventEditDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:103:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 103 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:103:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 103 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:103:20: error: cannot convert 'Rosegarden::EventEditDialog*' to 'int*' in initialization 103 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EventEditDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:106:21: error: request for member 'slotEventTypeChanged' in '* _t', which is of non-class type 'int' 106 | case 0: _t->slotEventTypeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:107:21: error: request for member 'slotAbsoluteTimeChanged' in '* _t', which is of non-class type 'int' 107 | case 1: _t->slotAbsoluteTimeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:108:21: error: request for member 'slotDurationChanged' in '* _t', which is of non-class type 'int' 108 | case 2: _t->slotDurationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:109:21: error: request for member 'slotSubOrderingChanged' in '* _t', which is of non-class type 'int' 109 | case 3: _t->slotSubOrderingChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:110:21: error: request for member 'slotIntPropertyChanged' in '* _t', which is of non-class type 'int' 110 | case 4: _t->slotIntPropertyChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:111:21: error: request for member 'slotRealTimePropertyChanged' in '* _t', which is of non-class type 'int' 111 | case 5: _t->slotRealTimePropertyChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:112:21: error: request for member 'slotBoolPropertyChanged' in '* _t', which is of non-class type 'int' 112 | case 6: _t->slotBoolPropertyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:113:21: error: request for member 'slotStringPropertyChanged' in '* _t', which is of non-class type 'int' 113 | case 7: _t->slotStringPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:114:21: error: request for member 'slotPropertyDeleted' in '* _t', which is of non-class type 'int' 114 | case 8: _t->slotPropertyDeleted(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:115:21: error: request for member 'slotPropertyMadePersistent' in '* _t', which is of non-class type 'int' 115 | case 9: _t->slotPropertyMadePersistent(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:126:5: error: 'nullptr' was not declared in this scope 126 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:127:5: error: 'nullptr' was not declared in this scope 127 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp: In member function 'virtual void* Rosegarden::EventEditDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventEditDialog.cpp:138:26: error: 'nullptr' was not declared in this scope 138 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventFilterDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventFilterDialog.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventFilterDialog.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:48: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp: In static member function 'static void Rosegarden::EventFilterDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:108:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 108 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:108:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 108 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:108:20: error: cannot convert 'Rosegarden::EventFilterDialog*' to 'int*' in initialization 108 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EventFilterDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:111:21: error: request for member 'slotToggleAll' in '* _t', which is of non-class type 'int' 111 | case 0: _t->slotToggleAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:112:21: error: request for member 'slotToggleNone' in '* _t', which is of non-class type 'int' 112 | case 1: _t->slotToggleNone(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:113:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 113 | case 2: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:114:21: error: request for member 'slotPitchFromChanged' in '* _t', which is of non-class type 'int' 114 | case 3: _t->slotPitchFromChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:115:21: error: request for member 'slotPitchToChanged' in '* _t', which is of non-class type 'int' 115 | case 4: _t->slotPitchToChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:116:21: error: request for member 'slotVelocityFromChanged' in '* _t', which is of non-class type 'int' 116 | case 5: _t->slotVelocityFromChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:117:21: error: request for member 'slotVelocityToChanged' in '* _t', which is of non-class type 'int' 117 | case 6: _t->slotVelocityToChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:118:21: error: request for member 'slotDurationFromChanged' in '* _t', which is of non-class type 'int' 118 | case 7: _t->slotDurationFromChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:119:21: error: request for member 'slotDurationToChanged' in '* _t', which is of non-class type 'int' 119 | case 8: _t->slotDurationToChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:120:21: error: request for member 'slotPitchFromChooser' in '* _t', which is of non-class type 'int' 120 | case 9: _t->slotPitchFromChooser(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:121:22: error: request for member 'slotPitchToChooser' in '* _t', which is of non-class type 'int' 121 | case 10: _t->slotPitchToChooser(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:132:5: error: 'nullptr' was not declared in this scope 132 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:133:5: error: 'nullptr' was not declared in this scope 133 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp: In member function 'virtual void* Rosegarden::EventFilterDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventFilterDialog.cpp:144:26: error: 'nullptr' was not declared in this scope 144 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/SelectionPropertyCommand.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/SelectionPropertyCommand.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SelectionPropertyCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/SelectionPropertyCommand.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::SelectionPropertyCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventParameterDialog.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/EventParameterDialog.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:49: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp: In static member function 'static void Rosegarden::EventParameterDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:70:20: error: cannot convert 'Rosegarden::EventParameterDialog*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EventParameterDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:73:21: error: request for member 'slotPatternSelected' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotPatternSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp: In member function 'virtual void* Rosegarden::EventParameterDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_EventParameterDialog.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileLocateDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileLocateDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileLocateDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:50: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp: In static member function 'static void Rosegarden::FileLocateDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:75:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 75 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:75:20: error: cannot convert 'Rosegarden::FileLocateDialog*' to 'int*' in initialization 75 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::FileLocateDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:78:21: error: request for member 'slotUser1' in '* _t', which is of non-class type 'int' 78 | case 0: _t->slotUser1(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:79:21: error: request for member 'slotUser2' in '* _t', which is of non-class type 'int' 79 | case 1: _t->slotUser2(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:80:21: error: request for member 'slotUser3' in '* _t', which is of non-class type 'int' 80 | case 2: _t->slotUser3(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp: In member function 'virtual void* Rosegarden::FileLocateDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileLocateDialog.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileMergeDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileMergeDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FileMergeDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:51: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp: In static member function 'static void Rosegarden::FileMergeDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:69:20: error: cannot convert 'Rosegarden::FileMergeDialog*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::FileMergeDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:72:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp: In member function 'virtual void* Rosegarden::FileMergeDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FileMergeDialog.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FloatEdit.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FloatEdit.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/FloatEdit.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:52: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FloatEdit.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FloatEdit.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FloatEdit.cpp: In member function 'virtual void* Rosegarden::FloatEdit::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_FloatEdit.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/GeneratedRegionDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/GeneratedRegionDialog.h:36:3: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/GeneratedRegionDialog.h:36:3: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:53: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp: In static member function 'static void Rosegarden::GeneratedRegionDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:74:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 74 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:74:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 74 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:74:20: error: cannot convert 'Rosegarden::GeneratedRegionDialog*' to 'int*' in initialization 74 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::GeneratedRegionDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:77:21: error: request for member 'assignChordSource' in '* _t', which is of non-class type 'int' 77 | case 0: _t->assignChordSource((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:78:21: error: request for member 'assignFigurationSource' in '* _t', which is of non-class type 'int' 78 | case 1: _t->assignFigurationSource((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:90:5: error: 'nullptr' was not declared in this scope 90 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp: In member function 'virtual void* Rosegarden::GeneratedRegionDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_GeneratedRegionDialog.cpp:101:26: error: 'nullptr' was not declared in this scope 101 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/IdentifyTextCodecDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/IdentifyTextCodecDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/IdentifyTextCodecDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:54: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp: In static member function 'static void Rosegarden::IdentifyTextCodecDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:69:20: error: cannot convert 'Rosegarden::IdentifyTextCodecDialog*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::IdentifyTextCodecDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:72:21: error: request for member 'slotCodecSelected' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotCodecSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:83:5: error: 'nullptr' was not declared in this scope 83 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp: In member function 'virtual void* Rosegarden::IdentifyTextCodecDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IdentifyTextCodecDialog.cpp:95:26: error: 'nullptr' was not declared in this scope 95 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ImportDeviceDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ImportDeviceDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ImportDeviceDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:55: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp: In static member function 'static void Rosegarden::ImportDeviceDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:72:20: error: cannot convert 'Rosegarden::ImportDeviceDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ImportDeviceDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:75:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 75 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:76:21: error: request for member 'slotCancel' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotCancel(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp: In member function 'virtual void* Rosegarden::ImportDeviceDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ImportDeviceDialog.cpp:100:26: error: 'nullptr' was not declared in this scope 100 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InsertTupletDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InsertTupletDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InsertTupletDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:56: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InsertTupletDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InsertTupletDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InsertTupletDialog.cpp: In member function 'virtual void* Rosegarden::InsertTupletDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InsertTupletDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InterpretDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InterpretDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/InterpretDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:57: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp: In static member function 'static void Rosegarden::InterpretDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:72:20: error: cannot convert 'Rosegarden::InterpretDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::InterpretDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:75:21: error: request for member 'slotAllBoxChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotAllBoxChanged(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:76:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp: In member function 'virtual void* Rosegarden::InterpretDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_InterpretDialog.cpp:100:26: error: 'nullptr' was not declared in this scope 100 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DiatonicPitchChooser.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DiatonicPitchChooser.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DiatonicPitchChooser.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/IntervalDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/IntervalDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:58: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp: In static member function 'static void Rosegarden::IntervalDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:72:20: error: cannot convert 'Rosegarden::IntervalDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::IntervalDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:75:21: error: request for member 'slotSetReferenceNote' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotSetReferenceNote((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:58: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:76:21: error: request for member 'slotSetTargetNote' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotSetTargetNote((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp: In member function 'virtual void* Rosegarden::IntervalDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_IntervalDialog.cpp:99:26: error: 'nullptr' was not declared in this scope 99 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/KeySignatureDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/KeySignatureDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/KeySignatureDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:59: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp: In static member function 'static void Rosegarden::KeySignatureDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:82:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 82 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:82:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 82 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:82:20: error: cannot convert 'Rosegarden::KeySignatureDialog*' to 'int*' in initialization 82 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::KeySignatureDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:85:21: error: request for member 'slotKeyUp' in '* _t', which is of non-class type 'int' 85 | case 0: _t->slotKeyUp(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:86:21: error: request for member 'slotKeyDown' in '* _t', which is of non-class type 'int' 86 | case 1: _t->slotKeyDown(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:87:21: error: request for member 'slotKeyNameChanged' in '* _t', which is of non-class type 'int' 87 | case 2: _t->slotKeyNameChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:88:21: error: request for member 'slotMajorMinorChanged' in '* _t', which is of non-class type 'int' 88 | case 3: _t->slotMajorMinorChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:89:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 89 | case 4: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp: In member function 'virtual void* Rosegarden::KeySignatureDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_KeySignatureDialog.cpp:112:26: error: 'nullptr' was not declared in this scope 112 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LilyVersionAwareCheckBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LilyVersionAwareCheckBox.h:30:5: error: 'nullptr' was not declared in this scope 30 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/LilyVersionAwareCheckBox.h:30:5: error: 'nullptr' was not declared in this scope 30 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/LilyPondOptionsDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/LilyPondOptionsDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:60: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp: In static member function 'static void Rosegarden::LilyPondOptionsDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:75:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 75 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:75:20: error: cannot convert 'Rosegarden::LilyPondOptionsDialog*' to 'int*' in initialization 75 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LilyPondOptionsDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:78:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 78 | case 0: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:79:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 79 | case 1: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:80:21: error: request for member 'help' in '* _t', which is of non-class type 'int' 80 | case 2: _t->help(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp: In member function 'virtual void* Rosegarden::LilyPondOptionsDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LilyPondOptionsDialog.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/LyricEditDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/LyricEditDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/LyricEditDialog.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:61: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp: In static member function 'static void Rosegarden::LyricEditDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:84:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 84 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:84:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 84 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:84:20: error: cannot convert 'Rosegarden::LyricEditDialog*' to 'int*' in initialization 84 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LyricEditDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:87:21: error: request for member 'slotSegmentChanged' in '* _t', which is of non-class type 'int' 87 | case 0: _t->slotSegmentChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:88:21: error: request for member 'slotVerseNumberChanged' in '* _t', which is of non-class type 'int' 88 | case 1: _t->slotVerseNumberChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:89:21: error: request for member 'slotAddVerse' in '* _t', which is of non-class type 'int' 89 | case 2: _t->slotAddVerse(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:90:21: error: request for member 'slotRemoveVerse' in '* _t', which is of non-class type 'int' 90 | case 3: _t->slotRemoveVerse(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:91:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 91 | case 4: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:113:5: error: 'nullptr' was not declared in this scope 113 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:114:5: error: 'nullptr' was not declared in this scope 114 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp: In member function 'virtual void* Rosegarden::LyricEditDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_LyricEditDialog.cpp:125:26: error: 'nullptr' was not declared in this scope 125 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MakeOrnamentDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MakeOrnamentDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MakeOrnamentDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:62: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MakeOrnamentDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MakeOrnamentDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MakeOrnamentDialog.cpp: In member function 'virtual void* Rosegarden::MakeOrnamentDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MakeOrnamentDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ManageMetronomeDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ManageMetronomeDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ManageMetronomeDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:63: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp: In static member function 'static void Rosegarden::ManageMetronomeDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:94:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 94 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:94:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 94 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:94:20: error: cannot convert 'Rosegarden::ManageMetronomeDialog*' to 'int*' in initialization 94 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ManageMetronomeDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:97:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 97 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:98:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 98 | case 1: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:99:21: error: request for member 'slotSetModified' in '* _t', which is of non-class type 'int' 99 | case 2: _t->slotSetModified(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:100:21: error: request for member 'slotResolutionChanged' in '* _t', which is of non-class type 'int' 100 | case 3: _t->slotResolutionChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:101:21: error: request for member 'slotPreviewPitch' in '* _t', which is of non-class type 'int' 101 | case 4: _t->slotPreviewPitch((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:102:21: error: request for member 'slotPitchSelectorChanged' in '* _t', which is of non-class type 'int' 102 | case 5: _t->slotPitchSelectorChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:103:21: error: request for member 'slotPitchChanged' in '* _t', which is of non-class type 'int' 103 | case 6: _t->slotPitchChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:104:21: error: request for member 'populate' in '* _t', which is of non-class type 'int' 104 | case 7: _t->populate((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:115:5: error: 'nullptr' was not declared in this scope 115 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:116:5: error: 'nullptr' was not declared in this scope 116 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp: In member function 'virtual void* Rosegarden::ManageMetronomeDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ManageMetronomeDialog.cpp:127:26: error: 'nullptr' was not declared in this scope 127 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/TimeWidget.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/TimeWidget.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/TimeWidget.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MarkerModifyDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MarkerModifyDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:64: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MarkerModifyDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MarkerModifyDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MarkerModifyDialog.cpp: In member function 'virtual void* Rosegarden::MarkerModifyDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MarkerModifyDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MusicXMLOptionsDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MusicXMLOptionsDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/MusicXMLOptionsDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:65: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp: In static member function 'static void Rosegarden::MusicXMLOptionsDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:75:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 75 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:75:20: error: cannot convert 'Rosegarden::MusicXMLOptionsDialog*' to 'int*' in initialization 75 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MusicXMLOptionsDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:78:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 78 | case 0: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:79:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 79 | case 1: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:80:21: error: request for member 'help' in '* _t', which is of non-class type 'int' 80 | case 2: _t->help(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp: In member function 'virtual void* Rosegarden::MusicXMLOptionsDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_MusicXMLOptionsDialog.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/PasteEventsCommand.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/PasteEventsCommand.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::PasteEventsCommand) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/commands/edit/PasteEventsCommand.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::PasteEventsCommand) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PasteNotationDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PasteNotationDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:66: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp: In static member function 'static void Rosegarden::PasteNotationDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:72:20: error: cannot convert 'Rosegarden::PasteNotationDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PasteNotationDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:75:21: error: request for member 'slotPasteTypeChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotPasteTypeChanged(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:76:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:89:5: error: 'nullptr' was not declared in this scope 89 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp: In member function 'virtual void* Rosegarden::PasteNotationDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PasteNotationDialog.cpp:100:26: error: 'nullptr' was not declared in this scope 100 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchBendSequenceDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchBendSequenceDialog.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchBendSequenceDialog.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:67: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp: In static member function 'static void Rosegarden::PitchBendSequenceDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:88:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 88 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:88:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 88 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:88:20: error: cannot convert 'Rosegarden::PitchBendSequenceDialog*' to 'int*' in initialization 88 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PitchBendSequenceDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:91:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 91 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:92:21: error: request for member 'slotSequencePresetChanged' in '* _t', which is of non-class type 'int' 92 | case 1: _t->slotSequencePresetChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:93:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 93 | case 2: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:94:21: error: request for member 'slotOnlyEraseClicked' in '* _t', which is of non-class type 'int' 94 | case 3: _t->slotOnlyEraseClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:95:21: error: request for member 'slotLinearRampClicked' in '* _t', which is of non-class type 'int' 95 | case 4: _t->slotLinearRampClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:96:21: error: request for member 'slotStepSizeStyleChanged' in '* _t', which is of non-class type 'int' 96 | case 5: _t->slotStepSizeStyleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:107:5: error: 'nullptr' was not declared in this scope 107 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:108:5: error: 'nullptr' was not declared in this scope 108 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp: In member function 'virtual void* Rosegarden::PitchBendSequenceDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchBendSequenceDialog.cpp:119:26: error: 'nullptr' was not declared in this scope 119 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:68: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchDialog.cpp: In member function 'virtual void* Rosegarden::PitchDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PitchChooser.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PitchChooser.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PitchChooser.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchPickerDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/PitchPickerDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:69: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchPickerDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchPickerDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchPickerDialog.cpp: In member function 'virtual void* Rosegarden::PitchPickerDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_PitchPickerDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/QuantizeDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/QuantizeDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/QuantizeDialog.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:70: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_QuantizeDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_QuantizeDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_QuantizeDialog.cpp: In member function 'virtual void* Rosegarden::QuantizeDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_QuantizeDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/RescaleDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/RescaleDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/RescaleDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:71: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_RescaleDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_RescaleDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_RescaleDialog.cpp: In member function 'virtual void* Rosegarden::RescaleDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_RescaleDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SelectDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SelectDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SelectDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:72: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp: In static member function 'static void Rosegarden::SelectDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:158:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 158 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:158:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 158 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:158:20: error: cannot convert 'Rosegarden::SelectDialog*' to 'int*' in initialization 158 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SelectDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:161:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 161 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:162:21: error: request for member 'help' in '* _t', which is of non-class type 'int' 162 | case 1: _t->help(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:163:21: error: request for member 'slotUseAllBreve' in '* _t', which is of non-class type 'int' 163 | case 2: _t->slotUseAllBreve((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:164:21: error: request for member 'slotUseAllSemiBreve' in '* _t', which is of non-class type 'int' 164 | case 3: _t->slotUseAllSemiBreve((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:165:21: error: request for member 'slotUseAllMinim' in '* _t', which is of non-class type 'int' 165 | case 4: _t->slotUseAllMinim((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:166:21: error: request for member 'slotUseAllCrotchet' in '* _t', which is of non-class type 'int' 166 | case 5: _t->slotUseAllCrotchet((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:167:21: error: request for member 'slotUseAllQuaver' in '* _t', which is of non-class type 'int' 167 | case 6: _t->slotUseAllQuaver((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:168:21: error: request for member 'slotUseAllSemiQuaver' in '* _t', which is of non-class type 'int' 168 | case 7: _t->slotUseAllSemiQuaver((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:169:21: error: request for member 'slotUseAllDemiSemi' in '* _t', which is of non-class type 'int' 169 | case 8: _t->slotUseAllDemiSemi((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:170:21: error: request for member 'slotUseAllHemiDemiSemi' in '* _t', which is of non-class type 'int' 170 | case 9: _t->slotUseAllHemiDemiSemi((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:171:22: error: request for member 'slotUseAllNormal' in '* _t', which is of non-class type 'int' 171 | case 10: _t->slotUseAllNormal((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:172:22: error: request for member 'slotUseAllDotted' in '* _t', which is of non-class type 'int' 172 | case 11: _t->slotUseAllDotted((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:173:22: error: request for member 'slotUseAllDoubleDotted' in '* _t', which is of non-class type 'int' 173 | case 12: _t->slotUseAllDoubleDotted((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:174:22: error: request for member 'slotUseAllTuplet' in '* _t', which is of non-class type 'int' 174 | case 13: _t->slotUseAllTuplet((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:175:22: error: request for member 'slotUseAllRestNormal' in '* _t', which is of non-class type 'int' 175 | case 14: _t->slotUseAllRestNormal((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:176:22: error: request for member 'slotUseAllRestDotted' in '* _t', which is of non-class type 'int' 176 | case 15: _t->slotUseAllRestDotted((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:177:22: error: request for member 'slotUseAllRestDoubleDotted' in '* _t', which is of non-class type 'int' 177 | case 16: _t->slotUseAllRestDoubleDotted((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:178:22: error: request for member 'slotUseAllRestTuplet' in '* _t', which is of non-class type 'int' 178 | case 17: _t->slotUseAllRestTuplet((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:179:22: error: request for member 'slotUseAllDuration' in '* _t', which is of non-class type 'int' 179 | case 18: _t->slotUseAllDuration((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:180:22: error: request for member 'slotUseRow1' in '* _t', which is of non-class type 'int' 180 | case 19: _t->slotUseRow1((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:181:22: error: request for member 'slotUseRow2' in '* _t', which is of non-class type 'int' 181 | case 20: _t->slotUseRow2((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:182:22: error: request for member 'slotUseRow3' in '* _t', which is of non-class type 'int' 182 | case 21: _t->slotUseRow3((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:183:22: error: request for member 'slotUseRow4' in '* _t', which is of non-class type 'int' 183 | case 22: _t->slotUseRow4((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:184:22: error: request for member 'slotUseRow5' in '* _t', which is of non-class type 'int' 184 | case 23: _t->slotUseRow5((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:185:22: error: request for member 'slotUseRow6' in '* _t', which is of non-class type 'int' 185 | case 24: _t->slotUseRow6((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:186:22: error: request for member 'slotUseRow7' in '* _t', which is of non-class type 'int' 186 | case 25: _t->slotUseRow7((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:187:22: error: request for member 'slotUseAllSpecial' in '* _t', which is of non-class type 'int' 187 | case 26: _t->slotUseAllSpecial((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:198:5: error: 'nullptr' was not declared in this scope 198 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:199:5: error: 'nullptr' was not declared in this scope 199 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp: In member function 'virtual void* Rosegarden::SelectDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SelectDialog.cpp:210:26: error: 'nullptr' was not declared in this scope 210 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ShowSequencerStatusDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ShowSequencerStatusDialog.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/ShowSequencerStatusDialog.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:73: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ShowSequencerStatusDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ShowSequencerStatusDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ShowSequencerStatusDialog.cpp: In member function 'virtual void* Rosegarden::ShowSequencerStatusDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_ShowSequencerStatusDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SimpleEventEditDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SimpleEventEditDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SimpleEventEditDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:74: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp: In static member function 'static void Rosegarden::SimpleEventEditDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:124:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 124 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:124:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 124 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:124:20: error: cannot convert 'Rosegarden::SimpleEventEditDialog*' to 'int*' in initialization 124 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SimpleEventEditDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:127:21: error: request for member 'slotEventTypeChanged' in '* _t', which is of non-class type 'int' 127 | case 0: _t->slotEventTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:128:21: error: request for member 'slotAbsoluteTimeChanged' in '* _t', which is of non-class type 'int' 128 | case 1: _t->slotAbsoluteTimeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:129:21: error: request for member 'slotDurationChanged' in '* _t', which is of non-class type 'int' 129 | case 2: _t->slotDurationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:130:21: error: request for member 'slotNotationAbsoluteTimeChanged' in '* _t', which is of non-class type 'int' 130 | case 3: _t->slotNotationAbsoluteTimeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:131:21: error: request for member 'slotNotationDurationChanged' in '* _t', which is of non-class type 'int' 131 | case 4: _t->slotNotationDurationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:132:21: error: request for member 'slotPitchChanged' in '* _t', which is of non-class type 'int' 132 | case 5: _t->slotPitchChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:133:21: error: request for member 'slotVelocityChanged' in '* _t', which is of non-class type 'int' 133 | case 6: _t->slotVelocityChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:134:21: error: request for member 'slotMetaChanged' in '* _t', which is of non-class type 'int' 134 | case 7: _t->slotMetaChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:135:21: error: request for member 'slotEditAbsoluteTime' in '* _t', which is of non-class type 'int' 135 | case 8: _t->slotEditAbsoluteTime(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:136:21: error: request for member 'slotEditNotationAbsoluteTime' in '* _t', which is of non-class type 'int' 136 | case 9: _t->slotEditNotationAbsoluteTime(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:137:22: error: request for member 'slotEditDuration' in '* _t', which is of non-class type 'int' 137 | case 10: _t->slotEditDuration(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:138:22: error: request for member 'slotEditNotationDuration' in '* _t', which is of non-class type 'int' 138 | case 11: _t->slotEditNotationDuration(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:139:22: error: request for member 'slotLockNotationChanged' in '* _t', which is of non-class type 'int' 139 | case 12: _t->slotLockNotationChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:140:22: error: request for member 'slotEditPitch' in '* _t', which is of non-class type 'int' 140 | case 13: _t->slotEditPitch(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:141:22: error: request for member 'slotSysexLoad' in '* _t', which is of non-class type 'int' 141 | case 14: _t->slotSysexLoad(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:142:22: error: request for member 'slotSysexSave' in '* _t', which is of non-class type 'int' 142 | case 15: _t->slotSysexSave(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:153:5: error: 'nullptr' was not declared in this scope 153 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:154:5: error: 'nullptr' was not declared in this scope 154 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp: In member function 'virtual void* Rosegarden::SimpleEventEditDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SimpleEventEditDialog.cpp:165:26: error: 'nullptr' was not declared in this scope 165 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByPitchDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByPitchDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByPitchDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:75: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByPitchDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByPitchDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByPitchDialog.cpp: In member function 'virtual void* Rosegarden::SplitByPitchDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByPitchDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByRecordingSrcDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByRecordingSrcDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/SplitByRecordingSrcDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:76: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByRecordingSrcDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByRecordingSrcDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByRecordingSrcDialog.cpp: In member function 'virtual void* Rosegarden::SplitByRecordingSrcDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_SplitByRecordingSrcDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:77: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp: In static member function 'static void Rosegarden::TempoDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:109:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 109 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:109:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 109 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:109:20: error: cannot convert 'Rosegarden::TempoDialog*' to 'int*' in initialization 109 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TempoDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:112:21: error: request for member 'changeTempo' in '* _t', which is of non-class type 'int' 112 | case 0: _t->changeTempo((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< tempoT(*)>(_a[2])),(*reinterpret_cast< tempoT(*)>(_a[3])),(*reinterpret_cast< TempoDialog::TempoDialogAction(*)>(_a[4]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:77: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:113:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 113 | case 1: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:114:21: error: request for member 'slotActionChanged' in '* _t', which is of non-class type 'int' 114 | case 2: _t->slotActionChanged(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:115:21: error: request for member 'slotTempoChanged' in '* _t', which is of non-class type 'int' 115 | case 3: _t->slotTempoChanged((*reinterpret_cast< double(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:116:21: error: request for member 'slotTempoConstantClicked' in '* _t', which is of non-class type 'int' 116 | case 4: _t->slotTempoConstantClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:117:21: error: request for member 'slotTempoRampToNextClicked' in '* _t', which is of non-class type 'int' 117 | case 5: _t->slotTempoRampToNextClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:118:21: error: request for member 'slotTempoRampToTargetClicked' in '* _t', which is of non-class type 'int' 118 | case 6: _t->slotTempoRampToTargetClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:119:21: error: request for member 'slotTargetChanged' in '* _t', which is of non-class type 'int' 119 | case 7: _t->slotTargetChanged((*reinterpret_cast< double(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:120:21: error: request for member 'slotTapClicked' in '* _t', which is of non-class type 'int' 120 | case 8: _t->slotTapClicked(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:121:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 121 | case 9: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:127:19: error: expected nested-name-specifier before '_t' 127 | using _t = void (TempoDialog::*)(timeT , tempoT , tempoT , TempoDialog::TempoDialogAction ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:35: error: '_t' does not name a type; did you mean 'Qt'? 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:38: error: expected '>' before '*' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:38: error: expected '(' before '*' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:39: error: expected primary-expression before '>' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:63: error: '_t' does not name a type; did you mean 'Qt'? 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:128:94: error: expected ')' before '{' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoDialog::changeTempo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:132:9: error: expected primary-expression before '}' token 132 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:125:14: warning: unused variable 'result' [-Wunused-variable] 125 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:141:5: error: 'nullptr' was not declared in this scope 141 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:142:5: error: 'nullptr' was not declared in this scope 142 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp: In member function 'virtual void* Rosegarden::TempoDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:153:26: error: 'nullptr' was not declared in this scope 153 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp: In member function 'void Rosegarden::TempoDialog::changeTempo(Rosegarden::timeT, Rosegarden::tempoT, Rosegarden::tempoT, Rosegarden::TempoDialog::TempoDialogAction)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TempoDialog.cpp:179:20: error: 'nullptr' was not declared in this scope 179 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TextEventDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TextEventDialog.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TextEventDialog.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:78: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp: In static member function 'static void Rosegarden::TextEventDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:106:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 106 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:106:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 106 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:106:20: error: cannot convert 'Rosegarden::TextEventDialog*' to 'int*' in initialization 106 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TextEventDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:109:21: error: request for member 'slotTextChanged' in '* _t', which is of non-class type 'int' 109 | case 0: _t->slotTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:110:21: error: request for member 'slotTypeChanged' in '* _t', which is of non-class type 'int' 110 | case 1: _t->slotTypeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:111:21: error: request for member 'slotOK' in '* _t', which is of non-class type 'int' 111 | case 2: _t->slotOK(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:112:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 112 | case 3: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:113:21: error: request for member 'slotDynamicShortcutChanged' in '* _t', which is of non-class type 'int' 113 | case 4: _t->slotDynamicShortcutChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:114:21: error: request for member 'slotDirectionShortcutChanged' in '* _t', which is of non-class type 'int' 114 | case 5: _t->slotDirectionShortcutChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:115:21: error: request for member 'slotLocalDirectionShortcutChanged' in '* _t', which is of non-class type 'int' 115 | case 6: _t->slotLocalDirectionShortcutChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:116:21: error: request for member 'slotTempoShortcutChanged' in '* _t', which is of non-class type 'int' 116 | case 7: _t->slotTempoShortcutChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:117:21: error: request for member 'slotLocalTempoShortcutChanged' in '* _t', which is of non-class type 'int' 117 | case 8: _t->slotLocalTempoShortcutChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:118:21: error: request for member 'slotLilyPondDirectiveChanged' in '* _t', which is of non-class type 'int' 118 | case 9: _t->slotLilyPondDirectiveChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:119:22: error: request for member 'slotUpdateSize' in '* _t', which is of non-class type 'int' 119 | case 10: _t->slotUpdateSize((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:130:5: error: 'nullptr' was not declared in this scope 130 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:131:5: error: 'nullptr' was not declared in this scope 131 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp: In member function 'virtual void* Rosegarden::TextEventDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TextEventDialog.cpp:142:26: error: 'nullptr' was not declared in this scope 142 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeDialog.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:79: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeDialog.cpp: In member function 'virtual void* Rosegarden::TimeDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeSignatureDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeSignatureDialog.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TimeSignatureDialog.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:80: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp: In static member function 'static void Rosegarden::TimeSignatureDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:86:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 86 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:86:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 86 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:86:20: error: cannot convert 'Rosegarden::TimeSignatureDialog*' to 'int*' in initialization 86 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TimeSignatureDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:89:21: error: request for member 'slotNumUp' in '* _t', which is of non-class type 'int' 89 | case 0: _t->slotNumUp(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:90:21: error: request for member 'slotNumDown' in '* _t', which is of non-class type 'int' 90 | case 1: _t->slotNumDown(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:91:21: error: request for member 'slotDenomUp' in '* _t', which is of non-class type 'int' 91 | case 2: _t->slotDenomUp(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:92:21: error: request for member 'slotDenomDown' in '* _t', which is of non-class type 'int' 92 | case 3: _t->slotDenomDown(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:93:21: error: request for member 'slotUpdateCommonTimeButton' in '* _t', which is of non-class type 'int' 93 | case 4: _t->slotUpdateCommonTimeButton(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:94:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 94 | case 5: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:106:5: error: 'nullptr' was not declared in this scope 106 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:107:5: error: 'nullptr' was not declared in this scope 107 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp: In member function 'virtual void* Rosegarden::TimeSignatureDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TimeSignatureDialog.cpp:118:26: error: 'nullptr' was not declared in this scope 118 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TrackLabelDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TrackLabelDialog.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TrackLabelDialog.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:81: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TrackLabelDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TrackLabelDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TrackLabelDialog.cpp: In member function 'virtual void* Rosegarden::TrackLabelDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TrackLabelDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractanimation.h: At global scope: /usr/include/qt5/QtCore/qabstractanimation.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:6, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstractanimation.h:84:42: error: 'nullptr' was not declared in this scope 84 | QAbstractAnimation(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h:119:73: error: 'nullptr' was not declared in this scope 119 | QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractanimation.h: In member function 'QAbstractAnimationPrivate* QAbstractAnimation::d_func()': /usr/include/qt5/QtCore/qabstractanimation.h:128:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 128 | Q_DECLARE_PRIVATE(QAbstractAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractanimation.h:128:5: note: mismatched types 'T*' and 'QScopedPointer' 128 | Q_DECLARE_PRIVATE(QAbstractAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h: In member function 'const QAbstractAnimationPrivate* QAbstractAnimation::d_func() const': /usr/include/qt5/QtCore/qabstractanimation.h:128:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 128 | Q_DECLARE_PRIVATE(QAbstractAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractanimation.h:128:5: note: mismatched types 'T*' and 'QScopedPointer' 128 | Q_DECLARE_PRIVATE(QAbstractAnimation) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractanimation.h: At global scope: /usr/include/qt5/QtCore/qabstractanimation.h:134:5: error: 'nullptr' was not declared in this scope 134 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h:134:5: error: 'nullptr' was not declared in this scope 134 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:6, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstractanimation.h:138:40: error: 'nullptr' was not declared in this scope 138 | QAnimationDriver(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h:164:69: error: 'nullptr' was not declared in this scope 164 | QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractanimation.h: In member function 'QAnimationDriverPrivate* QAnimationDriver::d_func()': /usr/include/qt5/QtCore/qabstractanimation.h:135:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 135 | Q_DECLARE_PRIVATE(QAnimationDriver) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractanimation.h:135:5: note: mismatched types 'T*' and 'QScopedPointer' 135 | Q_DECLARE_PRIVATE(QAnimationDriver) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractanimation.h: In member function 'const QAnimationDriverPrivate* QAnimationDriver::d_func() const': /usr/include/qt5/QtCore/qabstractanimation.h:135:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 135 | Q_DECLARE_PRIVATE(QAnimationDriver) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractanimation.h:135:5: note: mismatched types 'T*' and 'QScopedPointer' 135 | Q_DECLARE_PRIVATE(QAnimationDriver) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstracteventdispatcher.h: At global scope: /usr/include/qt5/QtCore/qabstracteventdispatcher.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstracteventdispatcher.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:8, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstracteventdispatcher.h:73:57: error: 'nullptr' was not declared in this scope 73 | explicit QAbstractEventDispatcher(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qabstracteventdispatcher.h:76:65: error: 'nullptr' was not declared in this scope 76 | static QAbstractEventDispatcher *instance(QThread *thread = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstracteventdispatcher.h: In member function 'QAbstractEventDispatcherPrivate* QAbstractEventDispatcher::d_func()': /usr/include/qt5/QtCore/qabstracteventdispatcher.h:59:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QAbstractEventDispatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstracteventdispatcher.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QAbstractEventDispatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstracteventdispatcher.h: In member function 'const QAbstractEventDispatcherPrivate* QAbstractEventDispatcher::d_func() const': /usr/include/qt5/QtCore/qabstracteventdispatcher.h:59:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 59 | Q_DECLARE_PRIVATE(QAbstractEventDispatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstracteventdispatcher.h:59:5: note: mismatched types 'T*' and 'QScopedPointer' 59 | Q_DECLARE_PRIVATE(QAbstractEventDispatcher) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstracteventdispatcher.h: At global scope: /usr/include/qt5/QtCore/qabstracteventdispatcher.h:128:1: error: 'is_integral' is not a member of 'std' 128 | Q_DECLARE_TYPEINFO(QAbstractEventDispatcher::TimerInfo, (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE)); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstracteventdispatcher.h:128:1: error: expected primary-expression before '>' token 128 | Q_DECLARE_TYPEINFO(QAbstractEventDispatcher::TimerInfo, (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE)); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstracteventdispatcher.h:128:1: error: '::value' has not been declared 128 | Q_DECLARE_TYPEINFO(QAbstractEventDispatcher::TimerInfo, (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) ? Q_PRIMITIVE_TYPE : Q_RELOCATABLE_TYPE)); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractproxymodel.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractproxymodel.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:14, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstractproxymodel.h:58:52: error: 'nullptr' was not declared in this scope 58 | explicit QAbstractProxyModel(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractproxymodel.h: In member function 'QAbstractProxyModelPrivate* QAbstractProxyModel::d_func()': /usr/include/qt5/QtCore/qabstractproxymodel.h:109:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 109 | Q_DECLARE_PRIVATE(QAbstractProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractproxymodel.h:109:5: note: mismatched types 'T*' and 'QScopedPointer' 109 | Q_DECLARE_PRIVATE(QAbstractProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractproxymodel.h: In member function 'const QAbstractProxyModelPrivate* QAbstractProxyModel::d_func() const': /usr/include/qt5/QtCore/qabstractproxymodel.h:109:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 109 | Q_DECLARE_PRIVATE(QAbstractProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractproxymodel.h:109:5: note: mismatched types 'T*' and 'QScopedPointer' 109 | Q_DECLARE_PRIVATE(QAbstractProxyModel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractstate.h: At global scope: /usr/include/qt5/QtCore/qabstractstate.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstractstate.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstractstate.h:71:37: error: 'nullptr' was not declared in this scope 71 | QAbstractState(QState *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstractstate.h: In member function 'QAbstractStatePrivate* QAbstractState::d_func()': /usr/include/qt5/QtCore/qabstractstate.h:83:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 83 | Q_DECLARE_PRIVATE(QAbstractState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractstate.h:83:5: note: mismatched types 'T*' and 'QScopedPointer' 83 | Q_DECLARE_PRIVATE(QAbstractState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstractstate.h: In member function 'const QAbstractStatePrivate* QAbstractState::d_func() const': /usr/include/qt5/QtCore/qabstractstate.h:83:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 83 | Q_DECLARE_PRIVATE(QAbstractState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstractstate.h:83:5: note: mismatched types 'T*' and 'QScopedPointer' 83 | Q_DECLARE_PRIVATE(QAbstractState) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstracttransition.h: At global scope: /usr/include/qt5/QtCore/qabstracttransition.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qabstracttransition.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qabstracttransition.h:75:47: error: 'nullptr' was not declared in this scope 75 | QAbstractTransition(QState *sourceState = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qabstracttransition.h: In member function 'QAbstractTransitionPrivate* QAbstractTransition::d_func()': /usr/include/qt5/QtCore/qabstracttransition.h:112:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 112 | Q_DECLARE_PRIVATE(QAbstractTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstracttransition.h:112:5: note: mismatched types 'T*' and 'QScopedPointer' 112 | Q_DECLARE_PRIVATE(QAbstractTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qabstracttransition.h: In member function 'const QAbstractTransitionPrivate* QAbstractTransition::d_func() const': /usr/include/qt5/QtCore/qabstracttransition.h:112:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 112 | Q_DECLARE_PRIVATE(QAbstractTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qabstracttransition.h:112:5: note: mismatched types 'T*' and 'QScopedPointer' 112 | Q_DECLARE_PRIVATE(QAbstractTransition) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qanimationgroup.h: At global scope: /usr/include/qt5/QtCore/qanimationgroup.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qanimationgroup.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qanimationgroup.h:55:39: error: 'nullptr' was not declared in this scope 55 | QAnimationGroup(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qanimationgroup.h: In member function 'QAnimationGroupPrivate* QAnimationGroup::d_func()': /usr/include/qt5/QtCore/qanimationgroup.h:73:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 73 | Q_DECLARE_PRIVATE(QAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qanimationgroup.h:73:5: note: mismatched types 'T*' and 'QScopedPointer' 73 | Q_DECLARE_PRIVATE(QAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qanimationgroup.h: In member function 'const QAnimationGroupPrivate* QAnimationGroup::d_func() const': /usr/include/qt5/QtCore/qanimationgroup.h:73:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 73 | Q_DECLARE_PRIVATE(QAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qanimationgroup.h:73:5: note: mismatched types 'T*' and 'QScopedPointer' 73 | Q_DECLARE_PRIVATE(QAnimationGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qarraydataops.h: At global scope: /usr/include/qt5/QtCore/qarraydataops.h:423:19: error: 'enable_if' in namespace 'std' does not name a template type 423 | typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qarraydataops.h:423:28: error: expected template-argument before '<' token 423 | typename std::enable_if< | ^ /usr/include/qt5/QtCore/qarraydataops.h:423:28: error: expected '>' before '<' token /usr/include/qt5/QtCore/qarraydataops.h:425:12: error: template argument 2 is invalid 425 | >::type> | ^ /usr/include/qt5/QtCore/qarraydataops.h:432:19: error: 'enable_if' in namespace 'std' does not name a template type 432 | typename std::enable_if< | ^~~~~~~~~ /usr/include/qt5/QtCore/qarraydataops.h:432:28: error: expected template-argument before '<' token 432 | typename std::enable_if< | ^ /usr/include/qt5/QtCore/qarraydataops.h:432:28: error: expected '>' before '<' token /usr/include/qt5/QtCore/qarraydataops.h:434:12: error: template argument 2 is invalid 434 | >::type> | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qarraydatapointer.h:177:5: error: expected unqualified-id before '[' token 177 | Q_REQUIRED_RESULT Data *clone(QArrayData::AllocationOptions options) const | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbasictimer.h:65:1: error: 'is_integral' is not a member of 'std' 65 | Q_DECLARE_TYPEINFO(QBasicTimer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasictimer.h:65:1: error: expected primary-expression before '>' token 65 | Q_DECLARE_TYPEINFO(QBasicTimer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbasictimer.h:65:1: error: '::value' has not been declared 65 | Q_DECLARE_TYPEINFO(QBasicTimer, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:31, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qbitarray.h:108:49: error: 'qsizetype' has not been declared 108 | static QBitArray fromBits(const char *data, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbitarray.h: In member function 'const char* QBitArray::bits() const': /usr/include/qt5/QtCore/qbitarray.h:107:51: error: 'nullptr' was not declared in this scope 107 | const char *bits() const { return isEmpty() ? nullptr : d.constData() + 1; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbitarray.h: At global scope: /usr/include/qt5/QtCore/qbitarray.h:175:1: error: 'is_integral' is not a member of 'std' 175 | Q_DECLARE_SHARED(QBitArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbitarray.h:175:1: error: expected primary-expression before '>' token 175 | Q_DECLARE_SHARED(QBitArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbitarray.h:175:1: error: '::value' has not been declared 175 | Q_DECLARE_SHARED(QBitArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbuffer.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qbuffer.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:32, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qbuffer.h:60:41: error: 'nullptr' was not declared in this scope 60 | explicit QBuffer(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qbuffer.h:61:49: error: 'nullptr' was not declared in this scope 61 | QBuffer(QByteArray *buf, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qbuffer.h: In member function 'QBufferPrivate* QBuffer::d_func()': /usr/include/qt5/QtCore/qbuffer.h:94:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QBuffer) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qbuffer.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QBuffer) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qbuffer.h: In member function 'const QBufferPrivate* QBuffer::d_func() const': /usr/include/qt5/QtCore/qbuffer.h:94:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QBuffer) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qbuffer.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QBuffer) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:35, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qbytearraymatcher.h: In static member function 'static QStaticByteArrayMatcherBase::Skiptable QStaticByteArrayMatcherBase::generate(const char*, uint)': /usr/include/qt5/QtCore/qbytearraymatcher.h:103:20: error: 'uchar_max' does not name a type 103 | const auto uchar_max = (std::numeric_limits::max)(); | ^~~~~~~~~ /usr/include/qt5/QtCore/qbytearraymatcher.h:104:25: error: 'uchar_max' was not declared in this scope 104 | uchar max = n > uchar_max ? uchar_max : n; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborvalue.h:52, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/quuid.h: In static member function 'static QUuid QUuid::createUuidV3(const QUuid&, const QString&)': /usr/include/qt5/QtCore/quuid.h:209:49: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 209 | return QUuid::createUuidV3(ns, baseData.toUtf8()); | ^~~~~~ | fromUtf8 /usr/include/qt5/QtCore/quuid.h: In static member function 'static QUuid QUuid::createUuidV5(const QUuid&, const QString&)': /usr/include/qt5/QtCore/quuid.h:215:49: error: 'const class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 215 | return QUuid::createUuidV5(ns, baseData.toUtf8()); | ^~~~~~ | fromUtf8 In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/quuid.h: At global scope: /usr/include/qt5/QtCore/quuid.h:235:1: error: 'is_integral' is not a member of 'std' 235 | Q_DECLARE_TYPEINFO(QUuid, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/quuid.h:235:1: error: expected primary-expression before '>' token 235 | Q_DECLARE_TYPEINFO(QUuid, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/quuid.h:235:1: error: '::value' has not been declared 235 | Q_DECLARE_TYPEINFO(QUuid, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:114:40: error: expected primary-expression before 'int' 114 | False = SimpleType + int(QCborSimpleType::False), | ^~~ /usr/include/qt5/QtCore/qcborvalue.h:114:40: error: expected '}' before 'int' /usr/include/qt5/QtCore/qcborvalue.h:104:21: note: to match this '{' 104 | enum Type : int { | ^ /usr/include/qt5/QtCore/qcborvalue.h:114:44: error: 'QCborSimpleType' is not a class or namespace 114 | False = SimpleType + int(QCborSimpleType::False), | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:114:66: error: two or more data types in declaration of 'False' 114 | False = SimpleType + int(QCborSimpleType::False), | ^ /usr/include/qt5/QtCore/qcborvalue.h:115:65: error: two or more data types in declaration of 'True' 115 | True = SimpleType + int(QCborSimpleType::True), | ^ /usr/include/qt5/QtCore/qcborvalue.h:116:65: error: two or more data types in declaration of 'Null' 116 | Null = SimpleType + int(QCborSimpleType::Null), | ^ /usr/include/qt5/QtCore/qcborvalue.h:117:70: error: two or more data types in declaration of 'Undefined' 117 | Undefined = SimpleType + int(QCborSimpleType::Undefined), | ^ /usr/include/qt5/QtCore/qcborvalue.h:119:27: error: two or more data types in declaration of 'Double' 119 | Double = 0x202, | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:122:27: error: two or more data types in declaration of 'DateTime' 122 | DateTime = 0x10000, | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:123:27: error: two or more data types in declaration of 'Url' 123 | Url = 0x10020, | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:124:29: error: two or more data types in declaration of 'RegularExpression' 124 | RegularExpression = 0x10023, | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:125:27: error: two or more data types in declaration of 'Uuid' 125 | Uuid = 0x10025, | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:127:28: error: two or more data types in declaration of 'Invalid' 127 | Invalid = -1 | ^ /usr/include/qt5/QtCore/qcborvalue.h:127:28: error: expected ';' at end of member declaration 127 | Invalid = -1 | ^ | ; In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'friend' used outside of class 129 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'const QMetaObject* qt_getEnumMetaObject' redeclared as different kind of entity 129 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcoreevent.h:295:5: note: previous declaration 'const QMetaObject* qt_getEnumMetaObject(QEvent::Type)' 295 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'Type' was not declared in this scope 129 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'friend' used outside of class 129 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'const char* qt_getEnumName' redeclared as different kind of entity 129 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcoreevent.h:295:5: note: previous declaration 'const char* qt_getEnumName(QEvent::Type)' 295 | Q_ENUM(Type) | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:129:5: error: 'Type' was not declared in this scope 129 | Q_ENUM(Type) | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:131:16: error: expected unqualified-id before ')' token 131 | QCborValue() {} | ^ /usr/include/qt5/QtCore/qcborvalue.h:132:20: error: expected ')' before 't_' 132 | QCborValue(Type t_) : t(t_) {} | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:133:32: error: expected initializer before ':' token 133 | QCborValue(std::nullptr_t) : t(Null) {} | ^ /usr/include/qt5/QtCore/qcborvalue.h:134:16: error: expected unqualified-id before 'bool' 134 | QCborValue(bool b_) : t(b_ ? True : False) {} | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:134:16: error: expected ')' before 'bool' 134 | QCborValue(bool b_) : t(b_ ? True : False) {} | ~^~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:136:16: error: expected unqualified-id before 'int' 136 | QCborValue(int i) : QCborValue(qint64(i)) {} | ^~~ /usr/include/qt5/QtCore/qcborvalue.h:136:16: error: expected ')' before 'int' 136 | QCborValue(int i) : QCborValue(qint64(i)) {} | ~^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:137:16: error: expected unqualified-id before 'unsigned' 137 | QCborValue(unsigned u) : QCborValue(qint64(u)) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:137:16: error: expected ')' before 'unsigned' 137 | QCborValue(unsigned u) : QCborValue(qint64(u)) {} | ~^~~~~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:139:22: error: expected ')' before 'i' 139 | QCborValue(qint64 i) : n(i), t(Integer) {} | ~ ^~ | ) /usr/include/qt5/QtCore/qcborvalue.h:140:16: error: expected unqualified-id before 'double' 140 | QCborValue(double v) : t(Double) { memcpy(&n, &v, sizeof(n)); } | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:140:16: error: expected ')' before 'double' 140 | QCborValue(double v) : t(Double) { memcpy(&n, &v, sizeof(n)); } | ~^~~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:141:31: error: expected ')' before 'st' 141 | QCborValue(QCborSimpleType st) : t(type_helper(st)) {} | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:143:16: error: expected unqualified-id before 'const' 143 | QCborValue(const QByteArray &ba); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:143:16: error: expected ')' before 'const' 143 | QCborValue(const QByteArray &ba); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:144:16: error: expected unqualified-id before 'const' 144 | QCborValue(const QString &s); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:144:16: error: expected ')' before 'const' 144 | QCborValue(const QString &s); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:145:29: error: expected ')' before 's' 145 | QCborValue(QLatin1String s); | ~ ^~ | ) /usr/include/qt5/QtCore/qcborvalue.h:147:35: error: expected unqualified-id before 'const' 147 | QT_ASCII_CAST_WARN QCborValue(const char *s) : QCborValue(QString::fromUtf8(s)) {} | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:147:35: error: expected ')' before 'const' 147 | QT_ASCII_CAST_WARN QCborValue(const char *s) : QCborValue(QString::fromUtf8(s)) {} | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:149:16: error: expected unqualified-id before 'const' 149 | QCborValue(const QCborArray &a); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:149:16: error: expected ')' before 'const' 149 | QCborValue(const QCborArray &a); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:150:26: error: expected ')' before '&&' token 150 | QCborValue(QCborArray &&a); | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:151:16: error: expected unqualified-id before 'const' 151 | QCborValue(const QCborMap &m); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:151:16: error: expected ')' before 'const' 151 | QCborValue(const QCborMap &m); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:152:24: error: expected ')' before '&&' token 152 | QCborValue(QCborMap &&m); | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:153:24: error: expected ')' before 'tag' 153 | QCborValue(QCborTag tag, const QCborValue &taggedValue = QCborValue()); | ~ ^~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:154:30: error: expected ')' before 't_' 154 | QCborValue(QCborKnownTags t_, const QCborValue &tv = QCborValue()) | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:158:25: error: expected unqualified-id before 'const' 158 | explicit QCborValue(const QDateTime &dt); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:158:25: error: expected ')' before 'const' 158 | explicit QCborValue(const QDateTime &dt); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:159:25: error: expected unqualified-id before 'const' 159 | explicit QCborValue(const QUrl &url); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:159:25: error: expected ')' before 'const' 159 | explicit QCborValue(const QUrl &url); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:161:25: error: expected unqualified-id before 'const' 161 | explicit QCborValue(const QRegularExpression &rx); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:161:25: error: expected ')' before 'const' 161 | explicit QCborValue(const QRegularExpression &rx); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:163:25: error: expected unqualified-id before 'const' 163 | explicit QCborValue(const QUuid &uuid); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:163:25: error: expected ')' before 'const' 163 | explicit QCborValue(const QUuid &uuid); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:165:17: error: declaration of '~QCborValue' as non-member 165 | ~QCborValue() { if (container) dispose(); } | ^ /usr/include/qt5/QtCore/qcborvalue.h:168:16: error: expected unqualified-id before 'const' 168 | QCborValue(const void *) = delete; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:168:16: error: expected ')' before 'const' 168 | QCborValue(const void *) = delete; | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:170:16: error: expected unqualified-id before 'const' 170 | QCborValue(const QCborValue &other); | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:170:16: error: expected ')' before 'const' 170 | QCborValue(const QCborValue &other); | ~^~~~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:171:26: error: expected ')' before '&&' token 171 | QCborValue(QCborValue &&other) noexcept | ~ ^~~ | ) /usr/include/qt5/QtCore/qcborvalue.h:177:17: error: 'QCborValue& operator=(const QCborValue&)' must be a nonstatic member function 177 | QCborValue &operator=(const QCborValue &other); | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:178:38: error: expected ',' or '...' before '&&' token 178 | QCborValue &operator=(QCborValue &&other) noexcept | ^~ /usr/include/qt5/QtCore/qcborvalue.h:178:47: error: expected initializer before 'noexcept' 178 | QCborValue &operator=(QCborValue &&other) noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:186:34: error: expected initializer before 'noexcept' 186 | void swap(QCborValue &other) noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:193:5: error: 'Type' does not name a type 193 | Type type() const { return t; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:194:22: error: non-member function 'bool isInteger()' cannot have cv-qualifier 194 | bool isInteger() const { return type() == Integer; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isInteger()': /usr/include/qt5/QtCore/qcborvalue.h:194:42: error: 'type' was not declared in this scope 194 | bool isInteger() const { return type() == Integer; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:194:52: error: 'Integer' was not declared in this scope; did you mean 'isInteger'? 194 | bool isInteger() const { return type() == Integer; } | ^~~~~~~ | isInteger /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:195:24: error: non-member function 'bool isByteArray()' cannot have cv-qualifier 195 | bool isByteArray() const { return type() == ByteArray; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isByteArray()': /usr/include/qt5/QtCore/qcborvalue.h:195:42: error: 'type' was not declared in this scope 195 | bool isByteArray() const { return type() == ByteArray; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:195:52: error: 'ByteArray' was not declared in this scope; did you mean 'QByteArray'? 195 | bool isByteArray() const { return type() == ByteArray; } | ^~~~~~~~~ | QByteArray /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:196:21: error: non-member function 'bool isString()' cannot have cv-qualifier 196 | bool isString() const { return type() == String; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isString()': /usr/include/qt5/QtCore/qcborvalue.h:196:42: error: 'type' was not declared in this scope 196 | bool isString() const { return type() == String; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:196:52: error: 'String' was not declared in this scope; did you mean 'Rosegarden::String'? 196 | bool isString() const { return type() == String; } | ^~~~~~ | Rosegarden::String In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/PropertyMap.h:17, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Event.h:20, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Property.h:27:26: note: 'Rosegarden::String' declared here 27 | enum PropertyType { Int, String, Bool, RealTimeT }; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:197:20: error: non-member function 'bool isArray()' cannot have cv-qualifier 197 | bool isArray() const { return type() == Array; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isArray()': /usr/include/qt5/QtCore/qcborvalue.h:197:42: error: 'type' was not declared in this scope 197 | bool isArray() const { return type() == Array; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:197:52: error: 'Array' was not declared in this scope; did you mean 'isArray'? 197 | bool isArray() const { return type() == Array; } | ^~~~~ | isArray /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:198:18: error: non-member function 'bool isMap()' cannot have cv-qualifier 198 | bool isMap() const { return type() == Map; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isMap()': /usr/include/qt5/QtCore/qcborvalue.h:198:42: error: 'type' was not declared in this scope 198 | bool isMap() const { return type() == Map; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:198:52: error: 'Map' was not declared in this scope; did you mean 'QMap'? 198 | bool isMap() const { return type() == Map; } | ^~~ | QMap /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:199:18: error: non-member function 'bool isTag()' cannot have cv-qualifier 199 | bool isTag() const { return isTag_helper(type()); } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isTag()': /usr/include/qt5/QtCore/qcborvalue.h:199:55: error: 'type' was not declared in this scope 199 | bool isTag() const { return isTag_helper(type()); } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:199:42: error: 'isTag_helper' was not declared in this scope 199 | bool isTag() const { return isTag_helper(type()); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:200:20: error: non-member function 'bool isFalse()' cannot have cv-qualifier 200 | bool isFalse() const { return type() == False; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isFalse()': /usr/include/qt5/QtCore/qcborvalue.h:200:42: error: 'type' was not declared in this scope 200 | bool isFalse() const { return type() == False; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:200:52: error: 'False' was not declared in this scope; did you mean 'QCborSimpleType::False'? 200 | bool isFalse() const { return type() == False; } | ^~~~~ | QCborSimpleType::False In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:61:5: note: 'QCborSimpleType::False' declared here 61 | False = 20, | ^~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:201:19: error: non-member function 'bool isTrue()' cannot have cv-qualifier 201 | bool isTrue() const { return type() == True; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isTrue()': /usr/include/qt5/QtCore/qcborvalue.h:201:42: error: 'type' was not declared in this scope 201 | bool isTrue() const { return type() == True; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:201:52: error: 'True' was not declared in this scope; did you mean 'QCborSimpleType::True'? 201 | bool isTrue() const { return type() == True; } | ^~~~ | QCborSimpleType::True In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:62:5: note: 'QCborSimpleType::True' declared here 62 | True = 21, | ^~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:202:19: error: non-member function 'bool isBool()' cannot have cv-qualifier 202 | bool isBool() const { return isFalse() || isTrue(); } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:203:19: error: non-member function 'bool isNull()' cannot have cv-qualifier 203 | bool isNull() const { return type() == Null; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isNull()': /usr/include/qt5/QtCore/qcborvalue.h:203:42: error: 'type' was not declared in this scope 203 | bool isNull() const { return type() == Null; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:203:52: error: 'Null' was not declared in this scope; did you mean 'QCborSimpleType::Null'? 203 | bool isNull() const { return type() == Null; } | ^~~~ | QCborSimpleType::Null In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:63:5: note: 'QCborSimpleType::Null' declared here 63 | Null = 22, | ^~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:204:24: error: non-member function 'bool isUndefined()' cannot have cv-qualifier 204 | bool isUndefined() const { return type() == Undefined; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isUndefined()': /usr/include/qt5/QtCore/qcborvalue.h:204:42: error: 'type' was not declared in this scope 204 | bool isUndefined() const { return type() == Undefined; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:204:52: error: 'Undefined' was not declared in this scope; did you mean 'QCborSimpleType::Undefined'? 204 | bool isUndefined() const { return type() == Undefined; } | ^~~~~~~~~ | QCborSimpleType::Undefined In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:64:5: note: 'QCborSimpleType::Undefined' declared here 64 | Undefined = 23 | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:205:21: error: non-member function 'bool isDouble()' cannot have cv-qualifier 205 | bool isDouble() const { return type() == Double; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isDouble()': /usr/include/qt5/QtCore/qcborvalue.h:205:42: error: 'type' was not declared in this scope 205 | bool isDouble() const { return type() == Double; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:205:52: error: 'Double' was not declared in this scope; did you mean 'double'? 205 | bool isDouble() const { return type() == Double; } | ^~~~~~ | double /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:206:23: error: non-member function 'bool isDateTime()' cannot have cv-qualifier 206 | bool isDateTime() const { return type() == DateTime; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isDateTime()': /usr/include/qt5/QtCore/qcborvalue.h:206:42: error: 'type' was not declared in this scope 206 | bool isDateTime() const { return type() == DateTime; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:206:52: error: 'DateTime' was not declared in this scope; did you mean 'QDateTime'? 206 | bool isDateTime() const { return type() == DateTime; } | ^~~~~~~~ | QDateTime /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:207:18: error: non-member function 'bool isUrl()' cannot have cv-qualifier 207 | bool isUrl() const { return type() == Url; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isUrl()': /usr/include/qt5/QtCore/qcborvalue.h:207:42: error: 'type' was not declared in this scope 207 | bool isUrl() const { return type() == Url; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:207:52: error: 'Url' was not declared in this scope; did you mean 'QCborKnownTags::Url'? 207 | bool isUrl() const { return type() == Url; } | ^~~ | QCborKnownTags::Url In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:82:5: note: 'QCborKnownTags::Url' declared here 82 | Url = 32, | ^~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:208:32: error: non-member function 'bool isRegularExpression()' cannot have cv-qualifier 208 | bool isRegularExpression() const { return type() == RegularExpression; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isRegularExpression()': /usr/include/qt5/QtCore/qcborvalue.h:208:47: error: 'type' was not declared in this scope 208 | bool isRegularExpression() const { return type() == RegularExpression; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:208:57: error: 'RegularExpression' was not declared in this scope; did you mean 'QCborKnownTags::RegularExpression'? 208 | bool isRegularExpression() const { return type() == RegularExpression; } | ^~~~~~~~~~~~~~~~~ | QCborKnownTags::RegularExpression In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:85:5: note: 'QCborKnownTags::RegularExpression' declared here 85 | RegularExpression = 35, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:209:19: error: non-member function 'bool isUuid()' cannot have cv-qualifier 209 | bool isUuid() const { return type() == Uuid; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isUuid()': /usr/include/qt5/QtCore/qcborvalue.h:209:42: error: 'type' was not declared in this scope 209 | bool isUuid() const { return type() == Uuid; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:209:52: error: 'Uuid' was not declared in this scope; did you mean 'QCborKnownTags::Uuid'? 209 | bool isUuid() const { return type() == Uuid; } | ^~~~ | QCborKnownTags::Uuid In file included from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborcommon.h:87:5: note: 'QCborKnownTags::Uuid' declared here 87 | Uuid = 37, | ^~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:210:22: error: non-member function 'bool isInvalid()' cannot have cv-qualifier 210 | bool isInvalid() const { return type() == Invalid; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isInvalid()': /usr/include/qt5/QtCore/qcborvalue.h:210:42: error: 'type' was not declared in this scope 210 | bool isInvalid() const { return type() == Invalid; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:210:52: error: 'Invalid' was not declared in this scope; did you mean 'isInvalid'? 210 | bool isInvalid() const { return type() == Invalid; } | ^~~~~~~ | isInvalid /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:211:24: error: non-member function 'bool isContainer()' cannot have cv-qualifier 211 | bool isContainer() const { return isMap() || isArray(); } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:213:25: error: non-member function 'bool isSimpleType()' cannot have cv-qualifier 213 | bool isSimpleType() const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isSimpleType()': /usr/include/qt5/QtCore/qcborvalue.h:215:20: error: 'type' was not declared in this scope 215 | return int(type()) >> 8 == int(SimpleType) >> 8; | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:215:40: error: 'SimpleType' was not declared in this scope; did you mean 'isSimpleType'? 215 | return int(type()) >> 8 == int(SimpleType) >> 8; | ^~~~~~~~~~ | isSimpleType /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:217:43: error: non-member function 'bool isSimpleType(QCborSimpleType)' cannot have cv-qualifier 217 | bool isSimpleType(QCborSimpleType st) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'bool isSimpleType(QCborSimpleType)': /usr/include/qt5/QtCore/qcborvalue.h:219:16: error: 'type' was not declared in this scope 219 | return type() == type_helper(st); | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:219:26: error: 'type_helper' was not declared in this scope 219 | return type() == type_helper(st); | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:221:65: error: 'QCborSimpleType' is not a class or namespace 221 | QCborSimpleType toSimpleType(QCborSimpleType defaultValue = QCborSimpleType::Undefined) const | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:221:93: error: non-member function 'QCborSimpleType toSimpleType(QCborSimpleType)' cannot have cv-qualifier 221 | QCborSimpleType toSimpleType(QCborSimpleType defaultValue = QCborSimpleType::Undefined) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'QCborSimpleType toSimpleType(QCborSimpleType)': /usr/include/qt5/QtCore/qcborvalue.h:223:49: error: 'type' was not declared in this scope 223 | return isSimpleType() ? QCborSimpleType(type() & 0xff) : defaultValue; | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:226:47: error: non-member function 'qint64 toInteger(qint64)' cannot have cv-qualifier 226 | qint64 toInteger(qint64 defaultValue = 0) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'qint64 toInteger(qint64)': /usr/include/qt5/QtCore/qcborvalue.h:227:28: error: 'value_helper' was not declared in this scope 227 | { return isInteger() ? value_helper() : isDouble() ? qint64(fp_helper()) : defaultValue; } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:227:65: error: 'fp_helper' was not declared in this scope 227 | { return isInteger() ? value_helper() : isDouble() ? qint64(fp_helper()) : defaultValue; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:228:44: error: non-member function 'bool toBool(bool)' cannot have cv-qualifier 228 | bool toBool(bool defaultValue = false) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:230:46: error: non-member function 'double toDouble(double)' cannot have cv-qualifier 230 | double toDouble(double defaultValue = 0) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'double toDouble(double)': /usr/include/qt5/QtCore/qcborvalue.h:231:27: error: 'fp_helper' was not declared in this scope 231 | { return isDouble() ? fp_helper() : isInteger() ? double(value_helper()) : defaultValue; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:231:62: error: 'value_helper' was not declared in this scope 231 | { return isDouble() ? fp_helper() : isInteger() ? double(value_helper()) : defaultValue; } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:233:56: error: non-member function 'QCborTag tag(QCborTag)' cannot have cv-qualifier 233 | QCborTag tag(QCborTag defaultValue = QCborTag(-1)) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:234:75: error: non-member function 'QCborValue taggedValue(const QCborValue&)' cannot have cv-qualifier 234 | QCborValue taggedValue(const QCborValue &defaultValue = QCborValue()) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:236:65: error: non-member function 'QByteArray toByteArray(const QByteArray&)' cannot have cv-qualifier 236 | QByteArray toByteArray(const QByteArray &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:237:56: error: non-member function 'QString toString(const QString&)' cannot have cv-qualifier 237 | QString toString(const QString &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:238:62: error: non-member function 'QDateTime toDateTime(const QDateTime&)' cannot have cv-qualifier 238 | QDateTime toDateTime(const QDateTime &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:239:47: error: non-member function 'QUrl toUrl(const QUrl&)' cannot have cv-qualifier 239 | QUrl toUrl(const QUrl &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:241:89: error: non-member function 'QRegularExpression toRegularExpression(const QRegularExpression&)' cannot have cv-qualifier 241 | QRegularExpression toRegularExpression(const QRegularExpression &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:243:50: error: non-member function 'QUuid toUuid(const QUuid&)' cannot have cv-qualifier 243 | QUuid toUuid(const QUuid &defaultValue = {}) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:250:26: error: non-member function 'QCborArray toArray()' cannot have cv-qualifier 250 | QCborArray toArray() const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:251:56: error: non-member function 'QCborArray toArray(const QCborArray&)' cannot have cv-qualifier 251 | QCborArray toArray(const QCborArray &defaultValue) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:252:22: error: non-member function 'QCborMap toMap()' cannot have cv-qualifier 252 | QCborMap toMap() const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:253:50: error: non-member function 'QCborMap toMap(const QCborMap&)' cannot have cv-qualifier 253 | QCborMap toMap(const QCborMap &defaultValue) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:256:53: error: non-member function 'const QCborValue operator[](const QString&)' cannot have cv-qualifier 256 | const QCborValue operator[](const QString &key) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:256:22: error: 'const QCborValue operator[](const QString&)' must be a nonstatic member function 256 | const QCborValue operator[](const QString &key) const; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:257:52: error: non-member function 'const QCborValue operator[](QLatin1String)' cannot have cv-qualifier 257 | const QCborValue operator[](QLatin1String key) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:257:22: error: 'const QCborValue operator[](QLatin1String)' must be a nonstatic member function 257 | const QCborValue operator[](QLatin1String key) const; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:258:45: error: non-member function 'const QCborValue operator[](qint64)' cannot have cv-qualifier 258 | const QCborValue operator[](qint64 key) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:258:22: error: 'const QCborValue operator[](qint64)' must be a nonstatic member function 258 | const QCborValue operator[](qint64 key) const; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:260:42: error: non-member function 'int compare(const QCborValue&)' cannot have cv-qualifier 260 | int compare(const QCborValue &other) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:270:52: error: expected initializer before 'noexcept' 270 | bool operator==(const QCborValue &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:272:52: error: expected initializer before 'noexcept' 272 | bool operator!=(const QCborValue &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:274:45: error: non-member function 'bool operator<(const QCborValue&)' cannot have cv-qualifier 274 | bool operator<(const QCborValue &other) const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:274:10: error: 'bool operator<(const QCborValue&)' must have exactly two arguments 274 | bool operator<(const QCborValue &other) const | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:279:26: error: non-member function 'QVariant toVariant()' cannot have cv-qualifier 279 | QVariant toVariant() const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:281:30: error: non-member function 'QJsonValue toJsonValue()' cannot have cv-qualifier 281 | QJsonValue toJsonValue() const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:284:80: error: 'nullptr' was not declared in this scope 284 | static QCborValue fromCbor(const QByteArray &ba, QCborParserError *error = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:285:50: error: 'qsizetype' has not been declared 285 | static QCborValue fromCbor(const char *data, qsizetype len, QCborParserError *error = nullptr) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:285:91: error: 'nullptr' was not declared in this scope 285 | static QCborValue fromCbor(const char *data, qsizetype len, QCborParserError *error = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:287:52: error: 'qsizetype' has not been declared 287 | static QCborValue fromCbor(const quint8 *data, qsizetype len, QCborParserError *error = nullptr) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:287:93: error: 'nullptr' was not declared in this scope 287 | static QCborValue fromCbor(const quint8 *data, qsizetype len, QCborParserError *error = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:289:23: error: 'EncodingOptions' was not declared in this scope 289 | QByteArray toCbor(EncodingOptions opt = NoTransformation); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:290:44: error: 'EncodingOptions' has not been declared 290 | void toCbor(QCborStreamWriter &writer, EncodingOptions opt = NoTransformation); | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:290:66: error: 'NoTransformation' was not declared in this scope 290 | void toCbor(QCborStreamWriter &writer, EncodingOptions opt = NoTransformation); | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:290:82: error: 'void toCbor(QCborStreamWriter&, int)' redeclared as different kind of entity 290 | void toCbor(QCborStreamWriter &writer, EncodingOptions opt = NoTransformation); | ^ /usr/include/qt5/QtCore/qcborvalue.h:289:16: note: previous declaration 'QByteArray toCbor' 289 | QByteArray toCbor(EncodingOptions opt = NoTransformation); | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:292:34: error: 'DiagnosticNotationOptions' was not declared in this scope; did you mean 'toDiagnosticNotation'? 292 | QString toDiagnosticNotation(DiagnosticNotationOptions opts = Compact) const; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | toDiagnosticNotation /usr/include/qt5/QtCore/qcborvalue.h:292:76: error: expected ',' or ';' before 'const' 292 | QString toDiagnosticNotation(DiagnosticNotationOptions opts = Compact) const; | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:294:1: error: expected unqualified-id before 'private' 294 | private: | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:296:5: error: 'friend' used outside of class 296 | friend class QCborContainerPrivate; | ^~~~~~ | ------ /usr/include/qt5/QtCore/qcborvalue.h:298:40: error: 'nullptr' was not declared in this scope 298 | QCborContainerPrivate *container = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:299:5: error: 'Type' does not name a type 299 | Type t = Undefined; | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:302:27: error: non-member function 'qint64 value_helper()' cannot have cv-qualifier 302 | qint64 value_helper() const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:307:24: error: non-member function 'double fp_helper()' cannot have cv-qualifier 307 | double fp_helper() const | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:315:29: error: 'Type' does not name a type 315 | Q_DECL_CONSTEXPR static Type type_helper(QCborSimpleType st) | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:320:47: error: 'Type' was not declared in this scope 320 | Q_DECL_CONSTEXPR static bool isTag_helper(Type t) | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:324:1: error: expected declaration before '}' token 324 | }; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcborvalue.h:325:1: error: 'is_integral' is not a member of 'std' 325 | Q_DECLARE_SHARED(QCborValue) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:325:1: error: expected primary-expression before '>' token 325 | Q_DECLARE_SHARED(QCborValue) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:325:1: error: '::value' has not been declared 325 | Q_DECLARE_SHARED(QCborValue) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In function 'void swap(QCborValue&, QCborValue&)': /usr/include/qt5/QtCore/qcborvalue.h:325:1: error: 'class QCborValue' has no member named 'swap' 325 | Q_DECLARE_SHARED(QCborValue) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h: At global scope: /usr/include/qt5/QtCore/qcborvalue.h:332:40: error: expected ';' at end of member declaration 332 | QCborValueRef(const QCborValueRef &) noexcept = default; | ^ | ; /usr/include/qt5/QtCore/qcborvalue.h:332:42: error: 'noexcept' does not name a type 332 | QCborValueRef(const QCborValueRef &) noexcept = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:332:42: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:333:33: error: expected ',' or '...' before '&&' token 333 | QCborValueRef(QCborValueRef &&) noexcept = default; | ^~ /usr/include/qt5/QtCore/qcborvalue.h:333:35: error: invalid constructor; you probably meant 'QCborValueRef (const QCborValueRef&)' 333 | QCborValueRef(QCborValueRef &&) noexcept = default; | ^ /usr/include/qt5/QtCore/qcborvalue.h:333:35: error: expected ';' at end of member declaration 333 | QCborValueRef(QCborValueRef &&) noexcept = default; | ^ | ; /usr/include/qt5/QtCore/qcborvalue.h:333:37: error: 'noexcept' does not name a type 333 | QCborValueRef(QCborValueRef &&) noexcept = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:333:37: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:336:41: error: expected ',' or '...' before '&&' token 336 | QCborValueRef &operator=(QCborValue &&other) | ^~ /usr/include/qt5/QtCore/qcborvalue.h:444:55: error: expected ',' or '...' before '&&' token 444 | static void assign(QCborValueRef that, QCborValue &&other); | ^~ /usr/include/qt5/QtCore/qcborvalue.h:446:50: error: expected ';' at end of member declaration 446 | static QCborValue concrete(QCborValueRef that) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcborvalue.h:446:52: error: 'noexcept' does not name a type 446 | static QCborValue concrete(QCborValueRef that) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:446:52: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:447:27: error: expected ';' at end of member declaration 447 | QCborValue concrete() const noexcept { return concrete(*this); } | ^~~~~ | ; /usr/include/qt5/QtCore/qcborvalue.h:447:33: error: 'noexcept' does not name a type 447 | QCborValue concrete() const noexcept { return concrete(*this); } | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:447:33: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:449:60: error: expected ';' at end of member declaration 449 | static QCborValue::Type concreteType(QCborValueRef self) noexcept Q_DECL_PURE_FUNCTION; | ^ | ; /usr/include/qt5/QtCore/qcborvalue.h:449:62: error: 'noexcept' does not name a type 449 | static QCborValue::Type concreteType(QCborValueRef self) noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:449:62: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:450:37: error: expected ';' at end of member declaration 450 | QCborValue::Type concreteType() const noexcept { return concreteType(*this); } | ^~~~~ | ; /usr/include/qt5/QtCore/qcborvalue.h:450:43: error: 'noexcept' does not name a type 450 | QCborValue::Type concreteType() const noexcept { return concreteType(*this); } | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:450:43: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborvalue.h:455:46: error: 'qsizetype' has not been declared 455 | QCborValueRef(QCborContainerPrivate *dd, qsizetype ii) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:459:5: error: 'qsizetype' does not name a type 459 | qsizetype i; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QCborValueRef& QCborValueRef::operator=(const QCborValue&)': /usr/include/qt5/QtCore/qcborvalue.h:335:26: error: call of overloaded 'assign(QCborValueRef&, const QCborValue&)' is ambiguous 335 | { assign(*this, other); return *this; } | ^ /usr/include/qt5/QtCore/qcborvalue.h:443:17: note: candidate: 'static void QCborValueRef::assign(QCborValueRef, const QCborValue&)' 443 | static void assign(QCborValueRef that, const QCborValue &other); | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:444:17: note: candidate: 'static void QCborValueRef::assign(QCborValueRef, QCborValue)' 444 | static void assign(QCborValueRef that, QCborValue &&other); | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QCborValueRef& QCborValueRef::operator=(QCborValue)': /usr/include/qt5/QtCore/qcborvalue.h:337:26: error: 'move' is not a member of 'std' 337 | { assign(*this, std::move(other)); other.container = nullptr; return *this; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h:337:26: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qcborvalue.h:337:31: error: 'other' was not declared in this scope 337 | { assign(*this, std::move(other)); other.container = nullptr; return *this; } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h:337:58: error: 'nullptr' was not declared in this scope 337 | { assign(*this, std::move(other)); other.container = nullptr; return *this; } | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isTag() const': /usr/include/qt5/QtCore/qcborvalue.h:347:58: error: 'isTag_helper' is not a member of 'QCborValue' 347 | bool isTag() const { return QCborValue::isTag_helper(type()); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isTrue() const': /usr/include/qt5/QtCore/qcborvalue.h:349:68: error: 'True' is not a member of 'QCborValue' 349 | bool isTrue() const { return type() == QCborValue::True; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isNull() const': /usr/include/qt5/QtCore/qcborvalue.h:351:68: error: 'Null' is not a member of 'QCborValue' 351 | bool isNull() const { return type() == QCborValue::Null; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isUndefined() const': /usr/include/qt5/QtCore/qcborvalue.h:352:68: error: 'Undefined' is not a member of 'QCborValue' 352 | bool isUndefined() const { return type() == QCborValue::Undefined; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isDouble() const': /usr/include/qt5/QtCore/qcborvalue.h:353:68: error: 'Double' is not a member of 'QCborValue' 353 | bool isDouble() const { return type() == QCborValue::Double; } | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isDateTime() const': /usr/include/qt5/QtCore/qcborvalue.h:354:68: error: 'DateTime' is not a member of 'QCborValue' 354 | bool isDateTime() const { return type() == QCborValue::DateTime; } | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isUrl() const': /usr/include/qt5/QtCore/qcborvalue.h:355:68: error: 'Url' is not a member of 'QCborValue' 355 | bool isUrl() const { return type() == QCborValue::Url; } | ^~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isRegularExpression() const': /usr/include/qt5/QtCore/qcborvalue.h:356:69: error: 'RegularExpression' is not a member of 'QCborValue' 356 | bool isRegularExpression() const { return type() == QCborValue::RegularExpression; } | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isUuid() const': /usr/include/qt5/QtCore/qcborvalue.h:357:68: error: 'Uuid' is not a member of 'QCborValue' 357 | bool isUuid() const { return type() == QCborValue::Uuid; } | ^~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isInvalid() const': /usr/include/qt5/QtCore/qcborvalue.h:358:68: error: 'Invalid' is not a member of 'QCborValue' 358 | bool isInvalid() const { return type() == QCborValue::Invalid; } | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::isSimpleType(QCborSimpleType) const': /usr/include/qt5/QtCore/qcborvalue.h:366:38: error: 'type_helper' is not a member of 'QCborValue' 366 | return type() == QCborValue::type_helper(st); | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QCborTag QCborValueRef::tag(QCborTag) const': /usr/include/qt5/QtCore/qcborvalue.h:370:25: error: 'class QCborValue' has no member named 'tag'; did you mean 'Tag'? 370 | { return concrete().tag(defaultValue); } | ^~~ | Tag /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QCborValue QCborValueRef::taggedValue(const QCborValue&) const': /usr/include/qt5/QtCore/qcborvalue.h:372:25: error: 'class QCborValue' has no member named 'taggedValue' 372 | { return concrete().taggedValue(defaultValue); } | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'qint64 QCborValueRef::toInteger(qint64) const': /usr/include/qt5/QtCore/qcborvalue.h:375:25: error: 'class QCborValue' has no member named 'toInteger'; did you mean 'Integer'? 375 | { return concrete().toInteger(defaultValue); } | ^~~~~~~~~ | Integer /usr/include/qt5/QtCore/qcborvalue.h: In member function 'bool QCborValueRef::toBool(bool) const': /usr/include/qt5/QtCore/qcborvalue.h:377:25: error: 'class QCborValue' has no member named 'toBool' 377 | { return concrete().toBool(defaultValue); } | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'double QCborValueRef::toDouble(double) const': /usr/include/qt5/QtCore/qcborvalue.h:379:25: error: 'class QCborValue' has no member named 'toDouble' 379 | { return concrete().toDouble(defaultValue); } | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QByteArray QCborValueRef::toByteArray(const QByteArray&) const': /usr/include/qt5/QtCore/qcborvalue.h:382:25: error: 'class QCborValue' has no member named 'toByteArray'; did you mean 'ByteArray'? 382 | { return concrete().toByteArray(defaultValue); } | ^~~~~~~~~~~ | ByteArray /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QString QCborValueRef::toString(const QString&) const': /usr/include/qt5/QtCore/qcborvalue.h:384:25: error: 'class QCborValue' has no member named 'toString'; did you mean 'String'? 384 | { return concrete().toString(defaultValue); } | ^~~~~~~~ | String /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QDateTime QCborValueRef::toDateTime(const QDateTime&) const': /usr/include/qt5/QtCore/qcborvalue.h:386:25: error: 'class QCborValue' has no member named 'toDateTime' 386 | { return concrete().toDateTime(defaultValue); } | ^~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QUrl QCborValueRef::toUrl(const QUrl&) const': /usr/include/qt5/QtCore/qcborvalue.h:388:25: error: 'class QCborValue' has no member named 'toUrl' 388 | { return concrete().toUrl(defaultValue); } | ^~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QRegularExpression QCborValueRef::toRegularExpression(const QRegularExpression&) const': /usr/include/qt5/QtCore/qcborvalue.h:391:25: error: 'class QCborValue' has no member named 'toRegularExpression' 391 | { return concrete().toRegularExpression(defaultValue); } | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QUuid QCborValueRef::toUuid(const QUuid&) const': /usr/include/qt5/QtCore/qcborvalue.h:394:25: error: 'class QCborValue' has no member named 'toUuid' 394 | { return concrete().toUuid(defaultValue); } | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'int QCborValueRef::compare(const QCborValue&) const': /usr/include/qt5/QtCore/qcborvalue.h:408:25: error: 'class QCborValue' has no member named 'compare' 408 | { return concrete().compare(other); } | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QVariant QCborValueRef::toVariant() const': /usr/include/qt5/QtCore/qcborvalue.h:426:69: error: 'class QCborValue' has no member named 'toVariant' 426 | QVariant toVariant() const { return concrete().toVariant(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QByteArray QCborValueRef::toCbor(QCborValue::EncodingOptions)': /usr/include/qt5/QtCore/qcborvalue.h:430:25: error: 'class QCborValue' has no member named 'toCbor' 430 | { return concrete().toCbor(opt); } | ^~~~~~ /usr/include/qt5/QtCore/qcborvalue.h: In member function 'QString QCborValueRef::toDiagnosticNotation(QCborValue::DiagnosticNotationOptions)': /usr/include/qt5/QtCore/qcborvalue.h:434:25: error: 'class QCborValue' has no member named 'toDiagnosticNotation'; did you mean 'DiagnosticNotationOption'? 434 | { return concrete().toDiagnosticNotation(opt); } | ^~~~~~~~~~~~~~~~~~~~ | DiagnosticNotationOption /usr/include/qt5/QtCore/qcborvalue.h: In constructor 'QCborValueRef::QCborValueRef()': /usr/include/qt5/QtCore/qcborvalue.h:453:42: error: 'nullptr' was not declared in this scope 453 | Q_DECL_CONSTEXPR QCborValueRef() : d(nullptr), i(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:453:52: error: class 'QCborValueRef' does not have any field named 'i' 453 | Q_DECL_CONSTEXPR QCborValueRef() : d(nullptr), i(0) {} | ^ /usr/include/qt5/QtCore/qcborvalue.h: In constructor 'QCborValueRef::QCborValueRef(QCborContainerPrivate*, int)': /usr/include/qt5/QtCore/qcborvalue.h:456:18: error: class 'QCborValueRef' does not have any field named 'i' 456 | : d(dd), i(ii) | ^ In file included from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborarray.h: At global scope: /usr/include/qt5/QtCore/qcborarray.h:60:45: error: 'qsizetype' has not been declared 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:63:17: error: 'qsizetype' does not name a type 63 | typedef qsizetype difference_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:80:34: error: 'qsizetype' has not been declared 80 | QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:98:30: error: declaration of 'operator+=' as non-function 98 | Iterator &operator+=(qsizetype j) { item.i += j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:98:27: error: expected ';' at end of member declaration 98 | Iterator &operator+=(qsizetype j) { item.i += j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcborarray.h:98:39: error: expected ')' before 'j' 98 | Iterator &operator+=(qsizetype j) { item.i += j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcborarray.h:99:30: error: declaration of 'operator-=' as non-function 99 | Iterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:99:27: error: expected ';' at end of member declaration 99 | Iterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcborarray.h:99:39: error: expected ')' before 'j' 99 | Iterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcborarray.h:100:28: error: 'qsizetype' has not been declared 100 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:101:28: error: 'qsizetype' has not been declared 101 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:102:9: error: 'qsizetype' does not name a type 102 | qsizetype operator-(Iterator j) const { return item.i - j.item.i; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:109:50: error: 'qsizetype' has not been declared 109 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:112:17: error: 'qsizetype' does not name a type 112 | typedef qsizetype difference_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:129:40: error: 'qsizetype' has not been declared 129 | const QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:147:35: error: declaration of 'operator+=' as non-function 147 | ConstIterator &operator+=(qsizetype j) { item.i += j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:147:32: error: expected ';' at end of member declaration 147 | ConstIterator &operator+=(qsizetype j) { item.i += j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcborarray.h:147:44: error: expected ')' before 'j' 147 | ConstIterator &operator+=(qsizetype j) { item.i += j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcborarray.h:148:35: error: declaration of 'operator-=' as non-function 148 | ConstIterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:148:32: error: expected ';' at end of member declaration 148 | ConstIterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcborarray.h:148:44: error: expected ')' before 'j' 148 | ConstIterator &operator-=(qsizetype j) { item.i -= j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcborarray.h:149:33: error: 'qsizetype' has not been declared 149 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:150:33: error: 'qsizetype' has not been declared 150 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:151:9: error: 'qsizetype' does not name a type 151 | qsizetype operator-(ConstIterator j) const { return item.i - j.item.i; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:154:13: error: 'qsizetype' does not name a type 154 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:160:13: error: 'qsizetype' does not name a type 160 | typedef qsizetype difference_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:162:16: error: expected ';' at end of member declaration 162 | QCborArray() noexcept; | ^ | ; /usr/include/qt5/QtCore/qcborarray.h:162:18: error: 'noexcept' does not name a type 162 | QCborArray() noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:162:18: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:163:39: error: expected ';' at end of member declaration 163 | QCborArray(const QCborArray &other) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcborarray.h:163:41: error: 'noexcept' does not name a type 163 | QCborArray(const QCborArray &other) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:163:41: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:164:50: error: expected ';' at end of member declaration 164 | QCborArray &operator=(const QCborArray &other) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcborarray.h:164:52: error: 'noexcept' does not name a type 164 | QCborArray &operator=(const QCborArray &other) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:164:52: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:165:37: error: expected ')' before '<' token 165 | QCborArray(std::initializer_list args) | ~ ^ | ) /usr/include/qt5/QtCore/qcborarray.h:174:32: error: expected ';' at end of member declaration 174 | void swap(QCborArray &other) noexcept | ^ | ; /usr/include/qt5/QtCore/qcborarray.h:174:34: error: 'noexcept' does not name a type 174 | void swap(QCborArray &other) noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:174:34: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:181:5: error: 'qsizetype' does not name a type 181 | qsizetype size() const noexcept; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:185:19: error: 'qsizetype' has not been declared 185 | QCborValue at(qsizetype i) const; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:188:33: error: 'qsizetype' has not been declared 188 | const QCborValue operator[](qsizetype i) const { return at(i); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:191:30: error: 'qsizetype' has not been declared 191 | QCborValueRef operator[](qsizetype i) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:198:17: error: 'qsizetype' has not been declared 198 | void insert(qsizetype i, const QCborValue &value); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:199:17: error: 'qsizetype' has not been declared 199 | void insert(qsizetype i, QCborValue &&value); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:199:41: error: expected ',' or '...' before '&&' token 199 | void insert(qsizetype i, QCborValue &&value); | ^~ /usr/include/qt5/QtCore/qcborarray.h:201:29: error: expected ',' or '...' before '&&' token 201 | void prepend(QCborValue &&value) { insert(0, std::move(value)); } | ^~ /usr/include/qt5/QtCore/qcborarray.h:203:28: error: expected ',' or '...' before '&&' token 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~ /usr/include/qt5/QtCore/qcborarray.h:206:19: error: 'qsizetype' has not been declared 206 | void removeAt(qsizetype i); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:207:23: error: 'qsizetype' has not been declared 207 | QCborValue takeAt(qsizetype i) { Q_ASSERT(i < size()); return extract(begin() + i); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:215:42: error: expected ';' at end of member declaration 215 | int compare(const QCborArray &other) const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~ | ; /usr/include/qt5/QtCore/qcborarray.h:215:48: error: 'noexcept' does not name a type 215 | int compare(const QCborArray &other) const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:215:48: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:225:46: error: expected ';' at end of member declaration 225 | bool operator==(const QCborArray &other) const noexcept | ^~~~~ | ; /usr/include/qt5/QtCore/qcborarray.h:225:52: error: 'noexcept' does not name a type 225 | bool operator==(const QCborArray &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:225:52: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:227:46: error: expected ';' at end of member declaration 227 | bool operator!=(const QCborArray &other) const noexcept | ^~~~~ | ; /usr/include/qt5/QtCore/qcborarray.h:227:52: error: 'noexcept' does not name a type 227 | bool operator!=(const QCborArray &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:227:52: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h:271:17: error: 'qsizetype' has not been declared 271 | void detach(qsizetype reserve = 0); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:274:50: error: expected ';' at end of member declaration 274 | explicit QCborArray(QCborContainerPrivate &dd) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcborarray.h:274:52: error: 'noexcept' does not name a type 274 | explicit QCborArray(QCborContainerPrivate &dd) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:274:52: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator& QCborArray::Iterator::operator=(const QCborArray::Iterator&)': /usr/include/qt5/QtCore/qcborarray.h:74:18: error: 'class QCborValueRef' has no member named 'i' 74 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcborarray.h:74:33: error: 'class QCborValueRef' has no member named 'i' 74 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValueRef QCborArray::Iterator::operator[](int)': /usr/include/qt5/QtCore/qcborarray.h:80:71: error: 'class QCborValueRef' has no member named 'i' 80 | QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^ /usr/include/qt5/QtCore/qcborarray.h:80:77: error: could not convert '{((QCborArray::Iterator*)this)->QCborArray::Iterator::item.QCborValueRef::d, }' from '' to 'QCborValueRef' 80 | QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^ | | | /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator==(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:82:86: error: 'class QCborValueRef' has no member named 'i' 82 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:82:98: error: 'class QCborValueRef' has no member named 'i' 82 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator<(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:84:101: error: 'class QCborValueRef' has no member named 'i' 84 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:84:116: error: 'class QCborValueRef' has no member named 'i' 84 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator<=(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:85:102: error: 'class QCborValueRef' has no member named 'i' 85 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:85:118: error: 'class QCborValueRef' has no member named 'i' 85 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator>(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:86:101: error: 'class QCborValueRef' has no member named 'i' 86 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:86:116: error: 'class QCborValueRef' has no member named 'i' 86 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator>=(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:87:102: error: 'class QCborValueRef' has no member named 'i' 87 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:87:118: error: 'class QCborValueRef' has no member named 'i' 87 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator==(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:88:91: error: 'class QCborValueRef' has no member named 'i' 88 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:88:103: error: 'const class QCborValueRef' has no member named 'i' 88 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator<(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:90:106: error: 'class QCborValueRef' has no member named 'i' 90 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:90:121: error: 'const class QCborValueRef' has no member named 'i' 90 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator<=(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:91:107: error: 'class QCborValueRef' has no member named 'i' 91 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:91:123: error: 'const class QCborValueRef' has no member named 'i' 91 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator>(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:92:106: error: 'class QCborValueRef' has no member named 'i' 92 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:92:121: error: 'const class QCborValueRef' has no member named 'i' 92 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::Iterator::operator>=(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:93:107: error: 'class QCborValueRef' has no member named 'i' 93 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:93:123: error: 'const class QCborValueRef' has no member named 'i' 93 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator& QCborArray::Iterator::operator++()': /usr/include/qt5/QtCore/qcborarray.h:94:41: error: 'class QCborValueRef' has no member named 'i' 94 | Iterator &operator++() { ++item.i; return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator QCborArray::Iterator::operator++(int)': /usr/include/qt5/QtCore/qcborarray.h:95:63: error: 'class QCborValueRef' has no member named 'i' 95 | Iterator operator++(int) { Iterator n = *this; ++item.i; return n; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator& QCborArray::Iterator::operator--()': /usr/include/qt5/QtCore/qcborarray.h:96:39: error: 'class QCborValueRef' has no member named 'i' 96 | Iterator &operator--() { item.i--; return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator QCborArray::Iterator::operator--(int)': /usr/include/qt5/QtCore/qcborarray.h:97:61: error: 'class QCborValueRef' has no member named 'i' 97 | Iterator operator--(int) { Iterator n = *this; item.i--; return n; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator QCborArray::Iterator::operator+(int) const': /usr/include/qt5/QtCore/qcborarray.h:100:80: error: 'class QCborValueRef' has no member named 'i' 100 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:100:87: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 100 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:35: note: no known conversion for argument 1 from '' to 'const QCborArray::Iterator&' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::Iterator QCborArray::Iterator::operator-(int) const': /usr/include/qt5/QtCore/qcborarray.h:101:80: error: 'class QCborValueRef' has no member named 'i' 101 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:101:87: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 101 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:35: note: no known conversion for argument 1 from '' to 'const QCborArray::Iterator&' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator& QCborArray::ConstIterator::operator=(const QCborArray::ConstIterator&)': /usr/include/qt5/QtCore/qcborarray.h:123:18: error: 'class QCborValueRef' has no member named 'i' 123 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcborarray.h:123:33: error: 'const class QCborValueRef' has no member named 'i' 123 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'const QCborValueRef QCborArray::ConstIterator::operator[](int)': /usr/include/qt5/QtCore/qcborarray.h:129:77: error: 'class QCborValueRef' has no member named 'i' 129 | const QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^ /usr/include/qt5/QtCore/qcborarray.h:129:83: error: could not convert '{((QCborArray::ConstIterator*)this)->QCborArray::ConstIterator::item.QCborValueRef::d, }' from '' to 'const QCborValueRef' 129 | const QCborValueRef operator[](qsizetype j) { return { item.d, item.i + j }; } | ^ | | | /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator==(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:131:86: error: 'const class QCborValueRef' has no member named 'i' 131 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:131:98: error: 'class QCborValueRef' has no member named 'i' 131 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator<(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:133:101: error: 'const class QCborValueRef' has no member named 'i' 133 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:133:116: error: 'class QCborValueRef' has no member named 'i' 133 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator<=(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:134:102: error: 'const class QCborValueRef' has no member named 'i' 134 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:134:118: error: 'class QCborValueRef' has no member named 'i' 134 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator>(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:135:101: error: 'const class QCborValueRef' has no member named 'i' 135 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:135:116: error: 'class QCborValueRef' has no member named 'i' 135 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator>=(const QCborArray::Iterator&) const': /usr/include/qt5/QtCore/qcborarray.h:136:102: error: 'const class QCborValueRef' has no member named 'i' 136 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:136:118: error: 'class QCborValueRef' has no member named 'i' 136 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator==(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:137:91: error: 'const class QCborValueRef' has no member named 'i' 137 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:137:103: error: 'const class QCborValueRef' has no member named 'i' 137 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator<(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:139:106: error: 'const class QCborValueRef' has no member named 'i' 139 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:139:121: error: 'const class QCborValueRef' has no member named 'i' 139 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator<=(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:140:107: error: 'const class QCborValueRef' has no member named 'i' 140 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:140:123: error: 'const class QCborValueRef' has no member named 'i' 140 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator>(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:141:106: error: 'const class QCborValueRef' has no member named 'i' 141 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:141:121: error: 'const class QCborValueRef' has no member named 'i' 141 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::ConstIterator::operator>=(const QCborArray::ConstIterator&) const': /usr/include/qt5/QtCore/qcborarray.h:142:107: error: 'const class QCborValueRef' has no member named 'i' 142 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h:142:123: error: 'const class QCborValueRef' has no member named 'i' 142 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator& QCborArray::ConstIterator::operator++()': /usr/include/qt5/QtCore/qcborarray.h:143:46: error: 'class QCborValueRef' has no member named 'i' 143 | ConstIterator &operator++() { ++item.i; return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator QCborArray::ConstIterator::operator++(int)': /usr/include/qt5/QtCore/qcborarray.h:144:73: error: 'class QCborValueRef' has no member named 'i' 144 | ConstIterator operator++(int) { ConstIterator n = *this; ++item.i; return n; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator& QCborArray::ConstIterator::operator--()': /usr/include/qt5/QtCore/qcborarray.h:145:44: error: 'class QCborValueRef' has no member named 'i' 145 | ConstIterator &operator--() { item.i--; return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator QCborArray::ConstIterator::operator--(int)': /usr/include/qt5/QtCore/qcborarray.h:146:71: error: 'class QCborValueRef' has no member named 'i' 146 | ConstIterator operator--(int) { ConstIterator n = *this; item.i--; return n; } | ^ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator QCborArray::ConstIterator::operator+(int) const': /usr/include/qt5/QtCore/qcborarray.h:149:90: error: 'const class QCborValueRef' has no member named 'i' 149 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:149:97: error: no matching function for call to 'QCborArray::ConstIterator::ConstIterator()' 149 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:118:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator(const QCborArray::ConstIterator&)' 118 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:118:40: note: no known conversion for argument 1 from '' to 'const QCborArray::ConstIterator&' 118 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator()' 117 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h:109:9: note: candidate: 'QCborArray::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 109 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:109:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::ConstIterator QCborArray::ConstIterator::operator-(int) const': /usr/include/qt5/QtCore/qcborarray.h:150:90: error: 'const class QCborValueRef' has no member named 'i' 150 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:150:97: error: no matching function for call to 'QCborArray::ConstIterator::ConstIterator()' 150 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - j }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:118:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator(const QCborArray::ConstIterator&)' 118 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:118:40: note: no known conversion for argument 1 from '' to 'const QCborArray::ConstIterator&' 118 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator()' 117 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h:109:9: note: candidate: 'QCborArray::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 109 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:109:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValue QCborArray::toCborValue() const': /usr/include/qt5/QtCore/qcborarray.h:179:45: error: could not convert '*(const QCborArray*)this' from 'const QCborArray' to 'QCborValue' 179 | QCborValue toCborValue() const { return *this; } | ^~~~~ | | | const QCborArray /usr/include/qt5/QtCore/qcborarray.h: In member function 'bool QCborArray::isEmpty() const': /usr/include/qt5/QtCore/qcborarray.h:182:35: error: 'size' was not declared in this scope 182 | bool isEmpty() const { return size() == 0; } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValue QCborArray::last() const': /usr/include/qt5/QtCore/qcborarray.h:187:41: error: 'size' was not declared in this scope 187 | QCborValue last() const { return at(size() - 1); } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValueRef QCborArray::last()': /usr/include/qt5/QtCore/qcborarray.h:190:65: error: 'size' was not declared in this scope 190 | QCborValueRef last() { Q_ASSERT(!isEmpty()); return begin()[size() - 1]; } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValueRef QCborArray::operator[](int)': /usr/include/qt5/QtCore/qcborarray.h:193:18: error: 'size' was not declared in this scope 193 | if (i >= size()) | ^~~~ /usr/include/qt5/QtCore/qcborarray.h:194:35: error: call of overloaded 'insert(int&, QCborValue)' is ambiguous 194 | insert(i, QCborValue()); | ^ /usr/include/qt5/QtCore/qcborarray.h:198:10: note: candidate: 'void QCborArray::insert(int, const QCborValue&)' 198 | void insert(qsizetype i, const QCborValue &value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:199:10: note: candidate: 'void QCborArray::insert(int, QCborValue)' 199 | void insert(qsizetype i, QCborValue &&value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::prepend(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:200:60: error: call of overloaded 'insert(int, const QCborValue&)' is ambiguous 200 | void prepend(const QCborValue &value) { insert(0, value); } | ^ /usr/include/qt5/QtCore/qcborarray.h:198:10: note: candidate: 'void QCborArray::insert(int, const QCborValue&)' 198 | void insert(qsizetype i, const QCborValue &value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:199:10: note: candidate: 'void QCborArray::insert(int, QCborValue)' 199 | void insert(qsizetype i, QCborValue &&value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::prepend(QCborValue)': /usr/include/qt5/QtCore/qcborarray.h:201:55: error: 'move' is not a member of 'std' 201 | void prepend(QCborValue &&value) { insert(0, std::move(value)); } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h:201:55: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qcborarray.h:201:60: error: 'value' was not declared in this scope 201 | void prepend(QCborValue &&value) { insert(0, std::move(value)); } | ^~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::append(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:202:60: error: call of overloaded 'insert(int, const QCborValue&)' is ambiguous 202 | void append(const QCborValue &value) { insert(-1, value); } | ^ /usr/include/qt5/QtCore/qcborarray.h:198:10: note: candidate: 'void QCborArray::insert(int, const QCborValue&)' 198 | void insert(qsizetype i, const QCborValue &value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:199:10: note: candidate: 'void QCborArray::insert(int, QCborValue)' 199 | void insert(qsizetype i, QCborValue &&value); | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::append(QCborValue)': /usr/include/qt5/QtCore/qcborarray.h:203:55: error: 'move' is not a member of 'std' 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h:203:55: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qcborarray.h:203:60: error: 'value' was not declared in this scope 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValue QCborArray::extract(QCborArray::ConstIterator)': /usr/include/qt5/QtCore/qcborarray.h:204:88: error: 'class QCborValueRef' has no member named 'i' 204 | QCborValue extract(ConstIterator it) { return extract(Iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:204:90: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 204 | QCborValue extract(ConstIterator it) { return extract(Iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValue QCborArray::takeAt(int)': /usr/include/qt5/QtCore/qcborarray.h:207:38: error: 'size' was not declared in this scope 207 | QCborValue takeAt(qsizetype i) { Q_ASSERT(i < size()); return extract(begin() + i); } | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::removeLast()': /usr/include/qt5/QtCore/qcborarray.h:209:34: error: 'size' was not declared in this scope 209 | void removeLast() { removeAt(size() - 1); } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborValue QCborArray::takeLast()': /usr/include/qt5/QtCore/qcborarray.h:211:43: error: 'size' was not declared in this scope 211 | QCborValue takeLast() { return takeAt(size() - 1); } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::iterator QCborArray::end()': /usr/include/qt5/QtCore/qcborarray.h:239:58: error: 'size' was not declared in this scope 239 | iterator end() { detach(); return iterator{d.data(), size()}; } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h:239:64: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 239 | iterator end() { detach(); return iterator{d.data(), size()}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::const_iterator QCborArray::constEnd() const': /usr/include/qt5/QtCore/qcborarray.h:240:71: error: 'size' was not declared in this scope 240 | const_iterator constEnd() const { return const_iterator{d.data(), size()}; } | ^~~~ /usr/include/qt5/QtCore/qcborarray.h:240:77: error: no matching function for call to 'QCborArray::ConstIterator::ConstIterator()' 240 | const_iterator constEnd() const { return const_iterator{d.data(), size()}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:118:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator(const QCborArray::ConstIterator&)' 118 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:118:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate: 'QCborArray::ConstIterator::ConstIterator()' 117 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:117:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:109:9: note: candidate: 'QCborArray::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 109 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:109:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::iterator QCborArray::insert(QCborArray::iterator, const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:244:26: error: 'class QCborValueRef' has no member named 'i' 244 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:244:75: error: 'class QCborValueRef' has no member named 'i' 244 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:244:76: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 244 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::iterator QCborArray::insert(QCborArray::const_iterator, const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:246:26: error: 'class QCborValueRef' has no member named 'i' 246 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:246:75: error: 'class QCborValueRef' has no member named 'i' 246 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:246:76: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 246 | { insert(before.item.i, value); return iterator{d.data(), before.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::iterator QCborArray::erase(QCborArray::iterator)': /usr/include/qt5/QtCore/qcborarray.h:247:52: error: 'class QCborValueRef' has no member named 'i' 247 | iterator erase(iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:247:90: error: 'class QCborValueRef' has no member named 'i' 247 | iterator erase(iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:247:91: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 247 | iterator erase(iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray::iterator QCborArray::erase(QCborArray::const_iterator)': /usr/include/qt5/QtCore/qcborarray.h:248:58: error: 'class QCborValueRef' has no member named 'i' 248 | iterator erase(const_iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:248:96: error: 'class QCborValueRef' has no member named 'i' 248 | iterator erase(const_iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:248:97: error: no matching function for call to 'QCborArray::Iterator::Iterator()' 248 | iterator erase(const_iterator it) { removeAt(it.item.i); return iterator{d.data(), it.item.i}; } | ^ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate: 'QCborArray::Iterator::Iterator(const QCborArray::Iterator&)' 69 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:69:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate: 'QCborArray::Iterator::Iterator()' 68 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:68:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcborarray.h:60:9: note: candidate: 'QCborArray::Iterator::Iterator(QCborContainerPrivate*, int)' 60 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:60:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::push_back(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:250:51: error: call of overloaded 'append(const QCborValue&)' is ambiguous 250 | void push_back(const QCborValue &t) { append(t); } | ^ /usr/include/qt5/QtCore/qcborarray.h:202:10: note: candidate: 'void QCborArray::append(const QCborValue&)' 202 | void append(const QCborValue &value) { insert(-1, value); } | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:203:10: note: candidate: 'void QCborArray::append(QCborValue)' 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'void QCborArray::push_front(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:251:53: error: call of overloaded 'prepend(const QCborValue&)' is ambiguous 251 | void push_front(const QCborValue &t) { prepend(t); } | ^ /usr/include/qt5/QtCore/qcborarray.h:200:10: note: candidate: 'void QCborArray::prepend(const QCborValue&)' 200 | void prepend(const QCborValue &value) { insert(0, value); } | ^~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:201:10: note: candidate: 'void QCborArray::prepend(QCborValue)' 201 | void prepend(QCborValue &&value) { insert(0, std::move(value)); } | ^~~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray& QCborArray::operator+=(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:260:15: error: call of overloaded 'append(const QCborValue&)' is ambiguous 260 | { append(v); return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h:202:10: note: candidate: 'void QCborArray::append(const QCborValue&)' 202 | void append(const QCborValue &value) { insert(-1, value); } | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:203:10: note: candidate: 'void QCborArray::append(QCborValue)' 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray& QCborArray::operator<<(const QCborValue&)': /usr/include/qt5/QtCore/qcborarray.h:262:15: error: call of overloaded 'append(const QCborValue&)' is ambiguous 262 | { append(v); return *this; } | ^ /usr/include/qt5/QtCore/qcborarray.h:202:10: note: candidate: 'void QCborArray::append(const QCborValue&)' 202 | void append(const QCborValue &value) { insert(-1, value); } | ^~~~~~ /usr/include/qt5/QtCore/qcborarray.h:203:10: note: candidate: 'void QCborArray::append(QCborValue)' 203 | void append(QCborValue &&value) { insert(-1, std::move(value)); } | ^~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcborarray.h: At global scope: /usr/include/qt5/QtCore/qcborarray.h:278:1: error: 'is_integral' is not a member of 'std' 278 | Q_DECLARE_SHARED(QCborArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:278:1: error: expected primary-expression before '>' token 278 | Q_DECLARE_SHARED(QCborArray) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborarray.h:278:1: error: '::value' has not been declared 278 | Q_DECLARE_SHARED(QCborArray) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborarray.h:280:42: error: expected ',' or '...' before '&&' token 280 | inline QCborValue::QCborValue(QCborArray &&a) | ^~ /usr/include/qt5/QtCore/qcborarray.h:280:8: error: no declaration matches 'QCborValue::QCborValue(QCborArray)' 280 | inline QCborValue::QCborValue(QCborArray &&a) | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: candidates are: 'QCborValue::QCborValue(const QCborValue&)' 82 | class Q_CORE_EXPORT QCborValue | ^~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: 'QCborValue::QCborValue()' /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: 'class QCborValue' defined here In file included from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray QCborValueRef::toArray() const': /usr/include/qt5/QtCore/qcborarray.h:287:23: error: 'class QCborValue' has no member named 'toArray'; did you mean 'Array'? 287 | return concrete().toArray(); | ^~~~~~~ | Array /usr/include/qt5/QtCore/qcborarray.h: In member function 'QCborArray QCborValueRef::toArray(const QCborArray&) const': /usr/include/qt5/QtCore/qcborarray.h:292:23: error: 'class QCborValue' has no member named 'toArray'; did you mean 'Array'? 292 | return concrete().toArray(a); | ^~~~~~~ | Array In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h: At global scope: /usr/include/qt5/QtCore/qcbormap.h:63:13: error: 'qsizetype' does not name a type 63 | typedef qsizetype size_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:45: error: 'qsizetype' has not been declared 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:73:17: error: 'qsizetype' does not name a type 73 | typedef qsizetype difference_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:109:30: error: declaration of 'operator+=' as non-function 109 | Iterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:109:27: error: expected ';' at end of member declaration 109 | Iterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcbormap.h:109:39: error: expected ')' before 'j' 109 | Iterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcbormap.h:110:30: error: declaration of 'operator-=' as non-function 110 | Iterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:110:27: error: expected ';' at end of member declaration 110 | Iterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcbormap.h:110:39: error: expected ')' before 'j' 110 | Iterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcbormap.h:111:28: error: 'qsizetype' has not been declared 111 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + 2 * j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:112:28: error: 'qsizetype' has not been declared 112 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - 2 * j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:113:9: error: 'qsizetype' does not name a type 113 | qsizetype operator-(Iterator j) const { return (item.i - j.item.i) / 2; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:120:50: error: 'qsizetype' has not been declared 120 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:123:17: error: 'qsizetype' does not name a type 123 | typedef qsizetype difference_type; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:159:35: error: declaration of 'operator+=' as non-function 159 | ConstIterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:159:32: error: expected ';' at end of member declaration 159 | ConstIterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcbormap.h:159:44: error: expected ')' before 'j' 159 | ConstIterator &operator+=(qsizetype j) { item.i += 2 * j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcbormap.h:160:35: error: declaration of 'operator-=' as non-function 160 | ConstIterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:160:32: error: expected ';' at end of member declaration 160 | ConstIterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ^~ | ; /usr/include/qt5/QtCore/qcbormap.h:160:44: error: expected ')' before 'j' 160 | ConstIterator &operator-=(qsizetype j) { item.i -= 2 * j; return *this; } | ~ ^~ | ) /usr/include/qt5/QtCore/qcbormap.h:161:33: error: 'qsizetype' has not been declared 161 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + 2 * j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:162:33: error: 'qsizetype' has not been declared 162 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - 2 * j }); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:163:9: error: 'qsizetype' does not name a type 163 | qsizetype operator-(ConstIterator j) const { return (item.i - j.item.i) / 2; } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:166:14: error: expected ';' at end of member declaration 166 | QCborMap() noexcept; | ^ | ; /usr/include/qt5/QtCore/qcbormap.h:166:17: error: 'noexcept' does not name a type 166 | QCborMap() noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:166:17: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:167:35: error: expected ';' at end of member declaration 167 | QCborMap(const QCborMap &other) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcbormap.h:167:37: error: 'noexcept' does not name a type 167 | QCborMap(const QCborMap &other) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:167:37: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:168:46: error: expected ';' at end of member declaration 168 | QCborMap &operator=(const QCborMap &other) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcbormap.h:168:48: error: 'noexcept' does not name a type 168 | QCborMap &operator=(const QCborMap &other) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:168:48: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:169:35: error: expected ')' before '<' token 169 | QCborMap(std::initializer_list args) | ~ ^ | ) /usr/include/qt5/QtCore/qcbormap.h:178:30: error: expected ';' at end of member declaration 178 | void swap(QCborMap &other) noexcept | ^ | ; /usr/include/qt5/QtCore/qcbormap.h:178:32: error: 'noexcept' does not name a type 178 | void swap(QCborMap &other) noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:178:32: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:185:5: error: 'qsizetype' does not name a type 185 | qsizetype size() const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:244:40: error: expected ';' at end of member declaration 244 | int compare(const QCborMap &other) const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~ | ; /usr/include/qt5/QtCore/qcbormap.h:244:46: error: 'noexcept' does not name a type 244 | int compare(const QCborMap &other) const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:244:46: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:254:44: error: expected ';' at end of member declaration 254 | bool operator==(const QCborMap &other) const noexcept | ^~~~~ | ; /usr/include/qt5/QtCore/qcbormap.h:254:50: error: 'noexcept' does not name a type 254 | bool operator==(const QCborMap &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:254:50: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:256:44: error: expected ';' at end of member declaration 256 | bool operator!=(const QCborMap &other) const noexcept | ^~~~~ | ; /usr/include/qt5/QtCore/qcbormap.h:256:50: error: 'noexcept' does not name a type 256 | bool operator!=(const QCborMap &other) const noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:256:50: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h:325:17: error: 'qsizetype' has not been declared 325 | void detach(qsizetype reserve = 0); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:328:48: error: expected ';' at end of member declaration 328 | explicit QCborMap(QCborContainerPrivate &dd) noexcept; | ^ | ; /usr/include/qt5/QtCore/qcbormap.h:328:50: error: 'noexcept' does not name a type 328 | explicit QCborMap(QCborContainerPrivate &dd) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:328:50: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator& QCborMap::Iterator::operator=(const QCborMap::Iterator&)': /usr/include/qt5/QtCore/qcbormap.h:84:18: error: 'class QCborValueRef' has no member named 'i' 84 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcbormap.h:84:33: error: 'class QCborValueRef' has no member named 'i' 84 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator::value_type QCborMap::Iterator::operator*() const': /usr/include/qt5/QtCore/qcbormap.h:88:63: error: 'class QCborValueRef' has no member named 'i' 88 | value_type operator*() const { return { {item.d, item.i - 1}, item }; } | ^ /usr/include/qt5/QtCore/qcbormap.h:88:76: error: could not convert '{{((const QCborMap::Iterator*)this)->QCborMap::Iterator::item.QCborValueRef::d, }, ((const QCborMap::Iterator*)this)->QCborMap::Iterator::item}' from '' to 'QCborMap::Iterator::value_type' {aka 'QPair'} 88 | value_type operator*() const { return { {item.d, item.i - 1}, item }; } | ^ | | | /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborValue QCborMap::Iterator::key() const': /usr/include/qt5/QtCore/qcbormap.h:90:68: error: 'class QCborValueRef' has no member named 'i' 90 | QCborValue key() const { return QCborValueRef(item.d, item.i - 1); } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator==(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:93:86: error: 'class QCborValueRef' has no member named 'i' 93 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:93:98: error: 'class QCborValueRef' has no member named 'i' 93 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator<(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:95:101: error: 'class QCborValueRef' has no member named 'i' 95 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:95:116: error: 'class QCborValueRef' has no member named 'i' 95 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator<=(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:96:102: error: 'class QCborValueRef' has no member named 'i' 96 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:96:118: error: 'class QCborValueRef' has no member named 'i' 96 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator>(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:97:101: error: 'class QCborValueRef' has no member named 'i' 97 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:97:116: error: 'class QCborValueRef' has no member named 'i' 97 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator>=(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:98:102: error: 'class QCborValueRef' has no member named 'i' 98 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:98:118: error: 'class QCborValueRef' has no member named 'i' 98 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator==(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:99:91: error: 'class QCborValueRef' has no member named 'i' 99 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:99:103: error: 'const class QCborValueRef' has no member named 'i' 99 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator<(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:101:106: error: 'class QCborValueRef' has no member named 'i' 101 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:101:121: error: 'const class QCborValueRef' has no member named 'i' 101 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator<=(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:102:107: error: 'class QCborValueRef' has no member named 'i' 102 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:102:123: error: 'const class QCborValueRef' has no member named 'i' 102 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator>(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:103:106: error: 'class QCborValueRef' has no member named 'i' 103 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:103:121: error: 'const class QCborValueRef' has no member named 'i' 103 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::Iterator::operator>=(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:104:107: error: 'class QCborValueRef' has no member named 'i' 104 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:104:123: error: 'const class QCborValueRef' has no member named 'i' 104 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator& QCborMap::Iterator::operator++()': /usr/include/qt5/QtCore/qcbormap.h:105:39: error: 'class QCborValueRef' has no member named 'i' 105 | Iterator &operator++() { item.i += 2; return *this; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator QCborMap::Iterator::operator++(int)': /usr/include/qt5/QtCore/qcbormap.h:106:61: error: 'class QCborValueRef' has no member named 'i' 106 | Iterator operator++(int) { Iterator n = *this; item.i += 2; return n; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator& QCborMap::Iterator::operator--()': /usr/include/qt5/QtCore/qcbormap.h:107:39: error: 'class QCborValueRef' has no member named 'i' 107 | Iterator &operator--() { item.i -= 2; return *this; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator QCborMap::Iterator::operator--(int)': /usr/include/qt5/QtCore/qcbormap.h:108:61: error: 'class QCborValueRef' has no member named 'i' 108 | Iterator operator--(int) { Iterator n = *this; item.i -= 2; return n; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator QCborMap::Iterator::operator+(int) const': /usr/include/qt5/QtCore/qcbormap.h:111:80: error: 'class QCborValueRef' has no member named 'i' 111 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:111:91: error: no matching function for call to 'QCborMap::Iterator::Iterator()' 111 | Iterator operator+(qsizetype j) const { return Iterator({ item.d, item.i + 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate: 'QCborMap::Iterator::Iterator(const QCborMap::Iterator&)' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:79:35: note: no known conversion for argument 1 from '' to 'const QCborMap::Iterator&' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate: 'QCborMap::Iterator::Iterator()' 78 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate: 'QCborMap::Iterator::Iterator(QCborContainerPrivate*, int)' 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::Iterator QCborMap::Iterator::operator-(int) const': /usr/include/qt5/QtCore/qcbormap.h:112:80: error: 'class QCborValueRef' has no member named 'i' 112 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:112:91: error: no matching function for call to 'QCborMap::Iterator::Iterator()' 112 | Iterator operator-(qsizetype j) const { return Iterator({ item.d, item.i - 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate: 'QCborMap::Iterator::Iterator(const QCborMap::Iterator&)' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:79:35: note: no known conversion for argument 1 from '' to 'const QCborMap::Iterator&' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate: 'QCborMap::Iterator::Iterator()' 78 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate: 'QCborMap::Iterator::Iterator(QCborContainerPrivate*, int)' 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator& QCborMap::ConstIterator::operator=(const QCborMap::ConstIterator&)': /usr/include/qt5/QtCore/qcbormap.h:134:18: error: 'class QCborValueRef' has no member named 'i' 134 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcbormap.h:134:33: error: 'const class QCborValueRef' has no member named 'i' 134 | item.i = other.item.i; | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator::value_type QCborMap::ConstIterator::operator*() const': /usr/include/qt5/QtCore/qcbormap.h:138:63: error: 'const class QCborValueRef' has no member named 'i' 138 | value_type operator*() const { return { {item.d, item.i - 1}, item }; } | ^ /usr/include/qt5/QtCore/qcbormap.h:138:76: error: could not convert '{{((const QCborMap::ConstIterator*)this)->QCborMap::ConstIterator::item.QCborValueRef::d, }, ((const QCborMap::ConstIterator*)this)->QCborMap::ConstIterator::item}' from '' to 'QCborMap::ConstIterator::value_type' {aka 'QPair'} 138 | value_type operator*() const { return { {item.d, item.i - 1}, item }; } | ^ | | | /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborValue QCborMap::ConstIterator::key() const': /usr/include/qt5/QtCore/qcbormap.h:140:68: error: 'const class QCborValueRef' has no member named 'i' 140 | QCborValue key() const { return QCborValueRef(item.d, item.i - 1); } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator==(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:143:86: error: 'const class QCborValueRef' has no member named 'i' 143 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:143:98: error: 'class QCborValueRef' has no member named 'i' 143 | bool operator==(const Iterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator<(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:145:101: error: 'const class QCborValueRef' has no member named 'i' 145 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:145:116: error: 'class QCborValueRef' has no member named 'i' 145 | bool operator<(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator<=(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:146:102: error: 'const class QCborValueRef' has no member named 'i' 146 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:146:118: error: 'class QCborValueRef' has no member named 'i' 146 | bool operator<=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator>(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:147:101: error: 'const class QCborValueRef' has no member named 'i' 147 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:147:116: error: 'class QCborValueRef' has no member named 'i' 147 | bool operator>(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator>=(const QCborMap::Iterator&) const': /usr/include/qt5/QtCore/qcbormap.h:148:102: error: 'const class QCborValueRef' has no member named 'i' 148 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:148:118: error: 'class QCborValueRef' has no member named 'i' 148 | bool operator>=(const Iterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator==(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:149:91: error: 'const class QCborValueRef' has no member named 'i' 149 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:149:103: error: 'const class QCborValueRef' has no member named 'i' 149 | bool operator==(const ConstIterator &o) const { return item.d == o.item.d && item.i == o.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator<(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:151:106: error: 'const class QCborValueRef' has no member named 'i' 151 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:151:121: error: 'const class QCborValueRef' has no member named 'i' 151 | bool operator<(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i < other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator<=(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:152:107: error: 'const class QCborValueRef' has no member named 'i' 152 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:152:123: error: 'const class QCborValueRef' has no member named 'i' 152 | bool operator<=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i <= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator>(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:153:106: error: 'const class QCborValueRef' has no member named 'i' 153 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:153:121: error: 'const class QCborValueRef' has no member named 'i' 153 | bool operator>(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i > other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::ConstIterator::operator>=(const QCborMap::ConstIterator&) const': /usr/include/qt5/QtCore/qcbormap.h:154:107: error: 'const class QCborValueRef' has no member named 'i' 154 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h:154:123: error: 'const class QCborValueRef' has no member named 'i' 154 | bool operator>=(const ConstIterator& other) const { Q_ASSERT(item.d == other.item.d); return item.i >= other.item.i; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator& QCborMap::ConstIterator::operator++()': /usr/include/qt5/QtCore/qcbormap.h:155:44: error: 'class QCborValueRef' has no member named 'i' 155 | ConstIterator &operator++() { item.i += 2; return *this; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator QCborMap::ConstIterator::operator++(int)': /usr/include/qt5/QtCore/qcbormap.h:156:71: error: 'class QCborValueRef' has no member named 'i' 156 | ConstIterator operator++(int) { ConstIterator n = *this; item.i += 2; return n; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator& QCborMap::ConstIterator::operator--()': /usr/include/qt5/QtCore/qcbormap.h:157:44: error: 'class QCborValueRef' has no member named 'i' 157 | ConstIterator &operator--() { item.i -= 2; return *this; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator QCborMap::ConstIterator::operator--(int)': /usr/include/qt5/QtCore/qcbormap.h:158:71: error: 'class QCborValueRef' has no member named 'i' 158 | ConstIterator operator--(int) { ConstIterator n = *this; item.i -= 2; return n; } | ^ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator QCborMap::ConstIterator::operator+(int) const': /usr/include/qt5/QtCore/qcbormap.h:161:90: error: 'const class QCborValueRef' has no member named 'i' 161 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:161:101: error: no matching function for call to 'QCborMap::ConstIterator::ConstIterator()' 161 | ConstIterator operator+(qsizetype j) const { return ConstIterator({ item.d, item.i + 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:129:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator(const QCborMap::ConstIterator&)' 129 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:129:40: note: no known conversion for argument 1 from '' to 'const QCborMap::ConstIterator&' 129 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator()' 128 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h:120:9: note: candidate: 'QCborMap::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 120 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:120:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::ConstIterator QCborMap::ConstIterator::operator-(int) const': /usr/include/qt5/QtCore/qcbormap.h:162:90: error: 'const class QCborValueRef' has no member named 'i' 162 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:162:101: error: no matching function for call to 'QCborMap::ConstIterator::ConstIterator()' 162 | ConstIterator operator-(qsizetype j) const { return ConstIterator({ item.d, item.i - 2 * j }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:129:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator(const QCborMap::ConstIterator&)' 129 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:129:40: note: no known conversion for argument 1 from '' to 'const QCborMap::ConstIterator&' 129 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator()' 128 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate expects 0 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h:120:9: note: candidate: 'QCborMap::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 120 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:120:9: note: candidate expects 2 arguments, 1 provided /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborValue QCborMap::toCborValue() const': /usr/include/qt5/QtCore/qcbormap.h:183:45: error: could not convert '*(const QCborMap*)this' from 'const QCborMap' to 'QCborValue' 183 | QCborValue toCborValue() const { return *this; } | ^~~~~ | | | const QCborMap /usr/include/qt5/QtCore/qcbormap.h: In member function 'bool QCborMap::isEmpty() const': /usr/include/qt5/QtCore/qcbormap.h:186:35: error: 'size' was not declared in this scope 186 | bool isEmpty() const { return size() == 0; } | ^~~~ /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::end()': /usr/include/qt5/QtCore/qcbormap.h:268:62: error: 'size' was not declared in this scope 268 | iterator end() { detach(); return iterator{d.data(), 2 * size() + 1}; } | ^~~~ /usr/include/qt5/QtCore/qcbormap.h:268:72: error: no matching function for call to 'QCborMap::Iterator::Iterator()' 268 | iterator end() { detach(); return iterator{d.data(), 2 * size() + 1}; } | ^ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate: 'QCborMap::Iterator::Iterator(const QCborMap::Iterator&)' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate: 'QCborMap::Iterator::Iterator()' 78 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate: 'QCborMap::Iterator::Iterator(QCborContainerPrivate*, int)' 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::const_iterator QCborMap::constEnd() const': /usr/include/qt5/QtCore/qcbormap.h:269:75: error: 'size' was not declared in this scope 269 | const_iterator constEnd() const { return const_iterator{d.data(), 2 * size() + 1}; } | ^~~~ /usr/include/qt5/QtCore/qcbormap.h:269:85: error: no matching function for call to 'QCborMap::ConstIterator::ConstIterator()' 269 | const_iterator constEnd() const { return const_iterator{d.data(), 2 * size() + 1}; } | ^ /usr/include/qt5/QtCore/qcbormap.h:129:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator(const QCborMap::ConstIterator&)' 129 | Q_DECL_CONSTEXPR ConstIterator(const ConstIterator &) = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:129:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate: 'QCborMap::ConstIterator::ConstIterator()' 128 | Q_DECL_CONSTEXPR ConstIterator() = default; | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:128:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcbormap.h:120:9: note: candidate: 'QCborMap::ConstIterator::ConstIterator(QCborContainerPrivate*, int)' 120 | ConstIterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:120:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::erase(QCborMap::const_iterator)': /usr/include/qt5/QtCore/qcbormap.h:273:83: error: 'class QCborValueRef' has no member named 'i' 273 | iterator erase(const_iterator it) { return erase(iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:273:85: error: no matching function for call to 'QCborMap::Iterator::Iterator()' 273 | iterator erase(const_iterator it) { return erase(iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate: 'QCborMap::Iterator::Iterator(const QCborMap::Iterator&)' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate: 'QCborMap::Iterator::Iterator()' 78 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate: 'QCborMap::Iterator::Iterator(QCborContainerPrivate*, int)' 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborValue QCborMap::extract(QCborMap::const_iterator)': /usr/include/qt5/QtCore/qcbormap.h:275:89: error: 'class QCborValueRef' has no member named 'i' 275 | QCborValue extract(const_iterator it) { return extract(iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:275:91: error: no matching function for call to 'QCborMap::Iterator::Iterator()' 275 | QCborValue extract(const_iterator it) { return extract(iterator{ it.item.d, it.item.i }); } | ^ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate: 'QCborMap::Iterator::Iterator(const QCborMap::Iterator&)' 79 | Q_DECL_CONSTEXPR Iterator(const Iterator &) = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:79:26: note: candidate expects 1 argument, 2 provided /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate: 'QCborMap::Iterator::Iterator()' 78 | Q_DECL_CONSTEXPR Iterator() = default; | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:78:26: note: candidate expects 0 arguments, 2 provided /usr/include/qt5/QtCore/qcbormap.h:70:9: note: candidate: 'QCborMap::Iterator::Iterator(QCborContainerPrivate*, int)' 70 | Iterator(QCborContainerPrivate *dd, qsizetype ii) : item(dd, ii) {} | ^~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:70:9: note: conversion of argument 2 would be ill-formed: /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::insert(qint64, const QCborValue&)': /usr/include/qt5/QtCore/qcbormap.h:294:13: error: ambiguous overload for 'operator=' (operand types are 'QCborValueRef' and 'const QCborValue') 294 | v = value_; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:334:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(const QCborValue&)' 334 | QCborValueRef &operator=(const QCborValue &other) | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:336:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(QCborValue)' 336 | QCborValueRef &operator=(QCborValue &&other) | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h:295:30: error: 'class QCborValueRef' has no member named 'i' 295 | return { d.data(), v.i }; | ^ /usr/include/qt5/QtCore/qcbormap.h:295:32: error: could not convert '{((QCborMap*)this)->QCborMap::d.QExplicitlySharedDataPointer::data(), }' from '' to 'QCborMap::iterator' {aka 'QCborMap::Iterator'} 295 | return { d.data(), v.i }; | ^ | | | /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::insert(QLatin1String, const QCborValue&)': /usr/include/qt5/QtCore/qcbormap.h:300:13: error: ambiguous overload for 'operator=' (operand types are 'QCborValueRef' and 'const QCborValue') 300 | v = value_; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:334:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(const QCborValue&)' 334 | QCborValueRef &operator=(const QCborValue &other) | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:336:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(QCborValue)' 336 | QCborValueRef &operator=(QCborValue &&other) | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h:301:30: error: 'class QCborValueRef' has no member named 'i' 301 | return { d.data(), v.i }; | ^ /usr/include/qt5/QtCore/qcbormap.h:301:32: error: could not convert '{((QCborMap*)this)->QCborMap::d.QExplicitlySharedDataPointer::data(), }' from '' to 'QCborMap::iterator' {aka 'QCborMap::Iterator'} 301 | return { d.data(), v.i }; | ^ | | | /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::insert(const QString&, const QCborValue&)': /usr/include/qt5/QtCore/qcbormap.h:306:13: error: ambiguous overload for 'operator=' (operand types are 'QCborValueRef' and 'const QCborValue') 306 | v = value_; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:334:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(const QCborValue&)' 334 | QCborValueRef &operator=(const QCborValue &other) | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:336:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(QCborValue)' 336 | QCborValueRef &operator=(QCborValue &&other) | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h:307:30: error: 'class QCborValueRef' has no member named 'i' 307 | return { d.data(), v.i }; | ^ /usr/include/qt5/QtCore/qcbormap.h:307:32: error: could not convert '{((QCborMap*)this)->QCborMap::d.QExplicitlySharedDataPointer::data(), }' from '' to 'QCborMap::iterator' {aka 'QCborMap::Iterator'} 307 | return { d.data(), v.i }; | ^ | | | /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap::iterator QCborMap::insert(const QCborValue&, const QCborValue&)': /usr/include/qt5/QtCore/qcbormap.h:312:13: error: ambiguous overload for 'operator=' (operand types are 'QCborValueRef' and 'const QCborValue') 312 | v = value_; | ^~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:334:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(const QCborValue&)' 334 | QCborValueRef &operator=(const QCborValue &other) | ^~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:336:20: note: candidate: 'QCborValueRef& QCborValueRef::operator=(QCborValue)' 336 | QCborValueRef &operator=(QCborValue &&other) | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h:313:30: error: 'class QCborValueRef' has no member named 'i' 313 | return { d.data(), v.i }; | ^ /usr/include/qt5/QtCore/qcbormap.h:313:32: error: could not convert '{((QCborMap*)this)->QCborMap::d.QExplicitlySharedDataPointer::data(), }' from '' to 'QCborMap::iterator' {aka 'QCborMap::Iterator'} 313 | return { d.data(), v.i }; | ^ | | | In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcbormap.h: At global scope: /usr/include/qt5/QtCore/qcbormap.h:332:1: error: 'is_integral' is not a member of 'std' 332 | Q_DECLARE_SHARED(QCborMap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:332:1: error: expected primary-expression before '>' token 332 | Q_DECLARE_SHARED(QCborMap) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcbormap.h:332:1: error: '::value' has not been declared 332 | Q_DECLARE_SHARED(QCborMap) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h:334:40: error: expected ',' or '...' before '&&' token 334 | inline QCborValue::QCborValue(QCborMap &&m) | ^~ /usr/include/qt5/QtCore/qcbormap.h:334:8: error: no declaration matches 'QCborValue::QCborValue(QCborMap)' 334 | inline QCborValue::QCborValue(QCborMap &&m) | ^~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:37, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: candidates are: 'QCborValue::QCborValue(const QCborValue&)' 82 | class Q_CORE_EXPORT QCborValue | ^~~~~~~~~~ /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: 'QCborValue::QCborValue()' /usr/include/qt5/QtCore/qcborvalue.h:82:21: note: 'class QCborValue' defined here In file included from /usr/include/qt5/QtCore/QtCore:39, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap QCborValueRef::toMap() const': /usr/include/qt5/QtCore/qcbormap.h:341:23: error: 'class QCborValue' has no member named 'toMap'; did you mean 'Map'? 341 | return concrete().toMap(); | ^~~~~ | Map /usr/include/qt5/QtCore/qcbormap.h: In member function 'QCborMap QCborValueRef::toMap(const QCborMap&) const': /usr/include/qt5/QtCore/qcbormap.h:346:23: error: 'class QCborValue' has no member named 'toMap'; did you mean 'Map'? 346 | return concrete().toMap(m); | ^~~~~ | Map In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfloat16.h: At global scope: /usr/include/qt5/QtCore/qfloat16.h:91:1: error: 'is_integral' is not a member of 'std' 91 | Q_DECLARE_TYPEINFO(qfloat16, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:91:1: error: expected primary-expression before '>' token 91 | Q_DECLARE_TYPEINFO(qfloat16, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:91:1: error: '::value' has not been declared 91 | Q_DECLARE_TYPEINFO(qfloat16, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcborstream.h:45, from /usr/include/qt5/QtCore/QtCore:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfloat16.h:93:63: error: 'qsizetype' has not been declared 93 | Q_CORE_EXPORT void qFloatToFloat16(qfloat16 *, const float *, qsizetype length) Q_DECL_NOTHROW; | ^~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:94:65: error: 'qsizetype' has not been declared 94 | Q_CORE_EXPORT void qFloatFromFloat16(float *, const qfloat16 *, qsizetype length) Q_DECL_NOTHROW; | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfloat16.h:96:1: error: expected unqualified-id before '[' token 96 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool qIsInf(qfloat16 f) Q_DECL_NOTHROW; // complements qnumeric.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:97:1: error: expected unqualified-id before '[' token 97 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool qIsNaN(qfloat16 f) Q_DECL_NOTHROW; // complements qnumeric.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:98:1: error: expected unqualified-id before '[' token 98 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool qIsFinite(qfloat16 f) Q_DECL_NOTHROW; // complements qnumeric.h | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:101:1: error: expected unqualified-id before '[' token 101 | Q_REQUIRED_RESULT inline int qRound(qfloat16 d) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:104:1: error: expected unqualified-id before '[' token 104 | Q_REQUIRED_RESULT inline qint64 qRound64(qfloat16 d) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:107:1: error: expected unqualified-id before '[' token 107 | Q_REQUIRED_RESULT inline bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:120:1: error: expected unqualified-id before '[' token 120 | Q_REQUIRED_RESULT inline bool qIsNull(qfloat16 f) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfloat16.h:257:1: error: expected unqualified-id before '[' token 257 | Q_REQUIRED_RESULT inline bool qFuzzyIsNull(qfloat16 f) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborstream.h:83:22: error: 'std::nullptr_t' has not been declared 83 | void append(std::nullptr_t) { append(QCborSimpleType::Null); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:88:45: error: 'qsizetype' has not been declared 88 | void appendByteString(const char *data, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:89:45: error: 'qsizetype' has not been declared 89 | void appendTextString(const char *utf8, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:98:10: error: 'void QCborStreamWriter::append(int)' cannot be overloaded with 'void QCborStreamWriter::append(int)' 98 | void append(int i) { append(qint64(i)); } | ^~~~~~ /usr/include/qt5/QtCore/qcborstream.h:83:10: note: previous declaration 'void QCborStreamWriter::append(int)' 83 | void append(std::nullptr_t) { append(QCborSimpleType::Null); } | ^~~~~~ /usr/include/qt5/QtCore/qcborstream.h:102:34: error: 'qsizetype' has not been declared 102 | void append(const char *str, qsizetype size = -1) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'void QCborStreamWriter::append(int)': /usr/include/qt5/QtCore/qcborstream.h:83:54: error: 'QCborSimpleType' is not a class or namespace 83 | void append(std::nullptr_t) { append(QCborSimpleType::Null); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'void QCborStreamWriter::append(bool)': /usr/include/qt5/QtCore/qcborstream.h:92:42: error: 'QCborSimpleType' is not a class or namespace 92 | void append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:92:66: error: 'QCborSimpleType' is not a class or namespace 92 | void append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'void QCborStreamWriter::appendNull()': /usr/include/qt5/QtCore/qcborstream.h:93:38: error: 'QCborSimpleType' is not a class or namespace 93 | void appendNull() { append(QCborSimpleType::Null); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'void QCborStreamWriter::appendUndefined()': /usr/include/qt5/QtCore/qcborstream.h:94:38: error: 'QCborSimpleType' is not a class or namespace 94 | void appendUndefined() { append(QCborSimpleType::Undefined); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: At global scope: /usr/include/qt5/QtCore/qcborstream.h:156:41: error: 'qsizetype' has not been declared 156 | QCborStreamReader(const char *data, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:157:43: error: 'qsizetype' has not been declared 157 | QCborStreamReader(const quint8 *data, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:166:36: error: 'qsizetype' has not been declared 166 | void addData(const char *data, qsizetype len); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:167:38: error: 'qsizetype' has not been declared 167 | void addData(const quint8 *data, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:181:20: error: expected ';' at end of member declaration 181 | bool hasNext() const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~ | ; /usr/include/qt5/QtCore/qcborstream.h:181:26: error: 'noexcept' does not name a type 181 | bool hasNext() const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:181:26: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborstream.h:206:26: error: expected ';' at end of member declaration 206 | bool isLengthKnown() const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~ | ; /usr/include/qt5/QtCore/qcborstream.h:206:32: error: 'noexcept' does not name a type 206 | bool isLengthKnown() const noexcept Q_DECL_PURE_FUNCTION; | ^~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:206:32: note: C++11 'noexcept' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qcborstream.h:215:5: error: 'qsizetype' does not name a type 215 | qsizetype currentStringChunkSize() const{ Q_ASSERT(isString() || isByteArray()); return _currentStringChunkSize(); } | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:216:18: error: 'qsizetype' was not declared in this scope 216 | StringResult readStringChunk(char *ptr, qsizetype maxlen); | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:216:27: error: template argument 1 is invalid 216 | StringResult readStringChunk(char *ptr, qsizetype maxlen); | ^ /usr/include/qt5/QtCore/qcborstream.h:216:56: error: 'qsizetype' has not been declared 216 | StringResult readStringChunk(char *ptr, qsizetype maxlen); | ^~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborstream.h:241:5: error: 'qsizetype' does not name a type 241 | qsizetype _currentStringChunkSize() const; | ^~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:243:56: error: expected initializer before 'noexcept' 243 | template FP _toFloatingPoint() const noexcept | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborstream.h: In member function 'bool QCborStreamReader::isFalse() const': /usr/include/qt5/QtCore/qcborstream.h:200:59: error: 'QCborSimpleType' is not a class or namespace 200 | bool isFalse() const { return isSimpleType(QCborSimpleType::False); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'bool QCborStreamReader::isTrue() const': /usr/include/qt5/QtCore/qcborstream.h:201:59: error: 'QCborSimpleType' is not a class or namespace 201 | bool isTrue() const { return isSimpleType(QCborSimpleType::True); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'bool QCborStreamReader::isNull() const': /usr/include/qt5/QtCore/qcborstream.h:203:59: error: 'QCborSimpleType' is not a class or namespace 203 | bool isNull() const { return isSimpleType(QCborSimpleType::Null); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'bool QCborStreamReader::isUndefined() const': /usr/include/qt5/QtCore/qcborstream.h:204:59: error: 'QCborSimpleType' is not a class or namespace 204 | bool isUndefined() const { return isSimpleType(QCborSimpleType::Undefined); } | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h: In member function 'bool QCborStreamReader::toBool() const': /usr/include/qt5/QtCore/qcborstream.h:218:80: error: expected primary-expression before 'int' 218 | bool toBool() const { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); } | ^~~ /usr/include/qt5/QtCore/qcborstream.h:218:79: error: expected ';' before 'int' 218 | bool toBool() const { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); } | ^~~~ | ; /usr/include/qt5/QtCore/qcborstream.h:218:80: error: expected primary-expression before 'int' 218 | bool toBool() const { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); } | ^~~ In file included from /usr/include/qt5/QtCore/QtCore:40, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qcborstream.h: In member function 'qfloat16 QCborStreamReader::toFloat16() const': /usr/include/qt5/QtCore/qcborstream.h:223:73: error: '_toFloatingPoint' was not declared in this scope 223 | qfloat16 toFloat16() const { Q_ASSERT(isFloat16()); return _toFloatingPoint(); } | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:223:98: error: expected primary-expression before '>' token 223 | qfloat16 toFloat16() const { Q_ASSERT(isFloat16()); return _toFloatingPoint(); } | ^ /usr/include/qt5/QtCore/qcborstream.h:223:100: error: expected primary-expression before ')' token 223 | qfloat16 toFloat16() const { Q_ASSERT(isFloat16()); return _toFloatingPoint(); } | ^ /usr/include/qt5/QtCore/qcborstream.h: In member function 'float QCborStreamReader::toFloat() const': /usr/include/qt5/QtCore/qcborstream.h:224:71: error: '_toFloatingPoint' was not declared in this scope 224 | float toFloat() const { Q_ASSERT(isFloat()); return _toFloatingPoint(); } | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:224:88: error: expected primary-expression before 'float' 224 | float toFloat() const { Q_ASSERT(isFloat()); return _toFloatingPoint(); } | ^~~~~ /usr/include/qt5/QtCore/qcborstream.h:224:88: error: expected ';' before 'float' 224 | float toFloat() const { Q_ASSERT(isFloat()); return _toFloatingPoint(); } | ^~~~~ | ; /usr/include/qt5/QtCore/qcborstream.h:224:93: error: expected unqualified-id before '>' token 224 | float toFloat() const { Q_ASSERT(isFloat()); return _toFloatingPoint(); } | ^ /usr/include/qt5/QtCore/qcborstream.h: In member function 'double QCborStreamReader::toDouble() const': /usr/include/qt5/QtCore/qcborstream.h:225:72: error: '_toFloatingPoint' was not declared in this scope 225 | double toDouble() const { Q_ASSERT(isDouble()); return _toFloatingPoint(); } | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcborstream.h:225:89: error: expected primary-expression before 'double' 225 | double toDouble() const { Q_ASSERT(isDouble()); return _toFloatingPoint(); } | ^~~~~~ /usr/include/qt5/QtCore/qcborstream.h:225:89: error: expected ';' before 'double' 225 | double toDouble() const { Q_ASSERT(isDouble()); return _toFloatingPoint(); } | ^~~~~~ | ; /usr/include/qt5/QtCore/qcborstream.h:225:95: error: expected unqualified-id before '>' token 225 | double toDouble() const { Q_ASSERT(isDouble()); return _toFloatingPoint(); } | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcollator.h: At global scope: /usr/include/qt5/QtCore/qcollator.h:127:1: error: 'is_integral' is not a member of 'std' 127 | Q_DECLARE_SHARED(QCollatorSortKey) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcollator.h:127:1: error: expected primary-expression before '>' token 127 | Q_DECLARE_SHARED(QCollatorSortKey) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcollator.h:127:1: error: '::value' has not been declared 127 | Q_DECLARE_SHARED(QCollatorSortKey) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcollator.h:128:1: error: 'is_integral' is not a member of 'std' 128 | Q_DECLARE_SHARED(QCollator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcollator.h:128:1: error: expected primary-expression before '>' token 128 | Q_DECLARE_SHARED(QCollator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcollator.h:128:1: error: '::value' has not been declared 128 | Q_DECLARE_SHARED(QCollator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcommandlineoption.h:108:1: error: 'is_integral' is not a member of 'std' 108 | Q_DECLARE_SHARED(QCommandLineOption) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcommandlineoption.h:108:1: error: expected primary-expression before '>' token 108 | Q_DECLARE_SHARED(QCommandLineOption) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcommandlineoption.h:108:1: error: '::value' has not been declared 108 | Q_DECLARE_SHARED(QCommandLineOption) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qcommandlineparser.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_DECLARE_TR_FUNCTIONS(QCommandLineParser) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qcommandlineparser.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_DECLARE_TR_FUNCTIONS(QCommandLineParser) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:58, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qdeadlinetimer.h:125:25: error: 'std::chrono' has not been declared 125 | QDeadlineTimer(std::chrono::time_point deadline_, | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:125:43: error: expected ')' before '<' token 125 | QDeadlineTimer(std::chrono::time_point deadline_, | ~ ^ | ) /usr/include/qt5/QtCore/qdeadlinetimer.h:129:36: error: 'std::chrono' has not been declared 129 | QDeadlineTimer &operator=(std::chrono::time_point deadline_) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:129:60: error: expected primary-expression before ',' token 129 | QDeadlineTimer &operator=(std::chrono::time_point deadline_) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:129:70: error: expected primary-expression before '>' token 129 | QDeadlineTimer &operator=(std::chrono::time_point deadline_) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:129:72: error: 'deadline_' was not declared in this scope; did you mean 'deadline'? 129 | QDeadlineTimer &operator=(std::chrono::time_point deadline_) | ^~~~~~~~~ | deadline /usr/include/qt5/QtCore/qdeadlinetimer.h:129:81: error: declaration of 'operator=' as non-function 129 | QDeadlineTimer &operator=(std::chrono::time_point deadline_) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:133:27: error: 'std::chrono' has not been declared 133 | void setDeadline(std::chrono::time_point deadline_, | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:133:45: error: expected ',' or '...' before '<' token 133 | void setDeadline(std::chrono::time_point deadline_, | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:138:10: error: 'chrono' in namespace 'std' does not name a type 138 | std::chrono::time_point deadline() const | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:145:25: error: 'std::chrono' has not been declared 145 | QDeadlineTimer(std::chrono::duration remaining, Qt::TimerType type_ = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:145:41: error: expected ')' before '<' token 145 | QDeadlineTimer(std::chrono::duration remaining, Qt::TimerType type_ = Qt::CoarseTimer) | ~ ^ | ) /usr/include/qt5/QtCore/qdeadlinetimer.h:150:36: error: 'std::chrono' has not been declared 150 | QDeadlineTimer &operator=(std::chrono::duration remaining) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:150:56: error: expected primary-expression before ',' token 150 | QDeadlineTimer &operator=(std::chrono::duration remaining) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:150:64: error: expected primary-expression before '>' token 150 | QDeadlineTimer &operator=(std::chrono::duration remaining) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:150:66: error: 'remaining' was not declared in this scope; did you mean 'remainder'? 150 | QDeadlineTimer &operator=(std::chrono::duration remaining) | ^~~~~~~~~ | remainder /usr/include/qt5/QtCore/qdeadlinetimer.h:150:75: error: declaration of 'operator=' as non-function 150 | QDeadlineTimer &operator=(std::chrono::duration remaining) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:154:32: error: 'std::chrono' has not been declared 154 | void setRemainingTime(std::chrono::duration remaining, Qt::TimerType type_ = Qt::CoarseTimer) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:154:48: error: expected ',' or '...' before '<' token 154 | void setRemainingTime(std::chrono::duration remaining, Qt::TimerType type_ = Qt::CoarseTimer) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:162:10: error: 'chrono' in namespace 'std' does not name a type 162 | std::chrono::nanoseconds remainingTimeAsDuration() const Q_DECL_NOTHROW | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:173:61: error: 'std::chrono' has not been declared 173 | friend QDeadlineTimer operator+(QDeadlineTimer dt, std::chrono::duration value) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:173:77: error: expected ',' or '...' before '<' token 173 | friend QDeadlineTimer operator+(QDeadlineTimer dt, std::chrono::duration value) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:176:42: error: 'std::chrono' has not been declared 176 | friend QDeadlineTimer operator+(std::chrono::duration value, QDeadlineTimer dt) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:176:58: error: expected ',' or '...' before '<' token 176 | friend QDeadlineTimer operator+(std::chrono::duration value, QDeadlineTimer dt) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h:176:27: error: 'QDeadlineTimer operator+(int)' must have an argument of class or enumerated type 176 | friend QDeadlineTimer operator+(std::chrono::duration value, QDeadlineTimer dt) | ^~~~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:179:63: error: 'std::chrono' has not been declared 179 | friend QDeadlineTimer operator+=(QDeadlineTimer &dt, std::chrono::duration value) | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:179:79: error: expected ',' or '...' before '<' token 179 | friend QDeadlineTimer operator+=(QDeadlineTimer &dt, std::chrono::duration value) | ^ /usr/include/qt5/QtCore/qdeadlinetimer.h: In member function 'void QDeadlineTimer::setDeadline(int)': /usr/include/qt5/QtCore/qdeadlinetimer.h:135:24: error: 'deadline_' was not declared in this scope; did you mean 'deadline'? 135 | { setRemainingTime(deadline_ == deadline_.max() ? Duration::max() : deadline_ - Clock::now(), type_); } | ^~~~~~~~~ | deadline /usr/include/qt5/QtCore/qdeadlinetimer.h:135:99: error: 'type_' was not declared in this scope; did you mean 'type'? 135 | { setRemainingTime(deadline_ == deadline_.max() ? Duration::max() : deadline_ - Clock::now(), type_); } | ^~~~~ | type /usr/include/qt5/QtCore/qdeadlinetimer.h: In member function 'void QDeadlineTimer::setRemainingTime(int)': /usr/include/qt5/QtCore/qdeadlinetimer.h:156:13: error: 'remaining' was not declared in this scope; did you mean 'remainder'? 156 | if (remaining == remaining.max()) | ^~~~~~~~~ | remainder /usr/include/qt5/QtCore/qdeadlinetimer.h:157:45: error: 'type_' was not declared in this scope; did you mean 'type'? 157 | *this = QDeadlineTimer(Forever, type_); | ^~~~~ | type /usr/include/qt5/QtCore/qdeadlinetimer.h:159:45: error: 'std::chrono' has not been declared 159 | setPreciseRemainingTime(0, std::chrono::nanoseconds(remaining).count(), type_); | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:159:85: error: 'type_' was not declared in this scope; did you mean 'type'? 159 | setPreciseRemainingTime(0, std::chrono::nanoseconds(remaining).count(), type_); | ^~~~~ | type /usr/include/qt5/QtCore/qdeadlinetimer.h: In function 'QDeadlineTimer operator+(QDeadlineTimer, int)': /usr/include/qt5/QtCore/qdeadlinetimer.h:174:48: error: 'std::chrono' has not been declared 174 | { return QDeadlineTimer::addNSecs(dt, std::chrono::duration_cast(value).count()); } | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:174:75: error: 'std::chrono' has not been declared 174 | { return QDeadlineTimer::addNSecs(dt, std::chrono::duration_cast(value).count()); } | ^~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:174:96: error: 'value' was not declared in this scope 174 | { return QDeadlineTimer::addNSecs(dt, std::chrono::duration_cast(value).count()); } | ^~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h: In function 'QDeadlineTimer operator+=(QDeadlineTimer&, int)': /usr/include/qt5/QtCore/qdeadlinetimer.h:180:24: error: 'value' was not declared in this scope 180 | { return dt = dt + value; } | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qdeadlinetimer.h: At global scope: /usr/include/qt5/QtCore/qdeadlinetimer.h:195:1: error: 'is_integral' is not a member of 'std' 195 | Q_DECLARE_SHARED(QDeadlineTimer) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:195:1: error: expected primary-expression before '>' token 195 | Q_DECLARE_SHARED(QDeadlineTimer) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdeadlinetimer.h:195:1: error: '::value' has not been declared 195 | Q_DECLARE_SHARED(QDeadlineTimer) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdir.h:233:1: error: 'is_integral' is not a member of 'std' 233 | Q_DECLARE_SHARED(QDir) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdir.h:233:1: error: expected primary-expression before '>' token 233 | Q_DECLARE_SHARED(QDir) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qdir.h:233:1: error: '::value' has not been declared 233 | Q_DECLARE_SHARED(QDir) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeasingcurve.h:128:1: error: 'is_integral' is not a member of 'std' 128 | Q_DECLARE_SHARED(QEasingCurve) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeasingcurve.h:128:1: error: expected primary-expression before '>' token 128 | Q_DECLARE_SHARED(QEasingCurve) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeasingcurve.h:128:1: error: '::value' has not been declared 128 | Q_DECLARE_SHARED(QEasingCurve) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:64, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qendian.h: In function 'Float qbswapFloatHelper(Float)': /usr/include/qt5/QtCore/qendian.h:160:10: error: 'temp' does not name a type 160 | auto temp = qFromUnaligned::Unsigned>(&source); | ^~~~ /usr/include/qt5/QtCore/qendian.h:161:5: error: 'temp' was not declared in this scope 161 | temp = qbswap(temp); | ^~~~ /usr/include/qt5/QtCore/qendian.h: At global scope: /usr/include/qt5/QtCore/qendian.h:191:54: error: 'qsizetype' has not been declared 191 | template void *qbswap(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:191:83: error: expected initializer before 'noexcept' 191 | template void *qbswap(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qendian.h:192:55: error: 'qsizetype' has not been declared 192 | template<> inline void *qbswap<1>(const void *source, qsizetype count, void *dest) noexcept | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:192:84: error: expected initializer before 'noexcept' 192 | template<> inline void *qbswap<1>(const void *source, qsizetype count, void *dest) noexcept | ^~~~~~~~ /usr/include/qt5/QtCore/qendian.h:196:62: error: 'qsizetype' has not been declared 196 | template<> Q_CORE_EXPORT void *qbswap<2>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:196:91: error: expected initializer before 'noexcept' 196 | template<> Q_CORE_EXPORT void *qbswap<2>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qendian.h:197:62: error: 'qsizetype' has not been declared 197 | template<> Q_CORE_EXPORT void *qbswap<4>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:197:91: error: expected initializer before 'noexcept' 197 | template<> Q_CORE_EXPORT void *qbswap<4>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qendian.h:198:62: error: 'qsizetype' has not been declared 198 | template<> Q_CORE_EXPORT void *qbswap<8>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:198:91: error: expected initializer before 'noexcept' 198 | template<> Q_CORE_EXPORT void *qbswap<8>(const void *source, qsizetype count, void *dest) noexcept; | ^~~~~~~~ /usr/include/qt5/QtCore/qendian.h:238:68: error: 'qsizetype' has not been declared 238 | template inline void qToBigEndian(const void *source, qsizetype count, void *dest) | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:240:71: error: 'qsizetype' has not been declared 240 | template inline void qToLittleEndian(const void *source, qsizetype count, void *dest) | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:242:70: error: 'qsizetype' has not been declared 242 | template inline void qFromBigEndian(const void *source, qsizetype count, void *dest) | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:244:73: error: 'qsizetype' has not been declared 244 | template inline void qFromLittleEndian(const void *source, qsizetype count, void *dest) | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:330:12: error: 'constexpr' does not name a type 330 | static constexpr QSpecialInteger max() | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:330:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qendian.h:332:12: error: 'constexpr' does not name a type 332 | static constexpr QSpecialInteger min() | ^~~~~~~~~ /usr/include/qt5/QtCore/qendian.h:332:12: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' /usr/include/qt5/QtCore/qendian.h:409:1: error: expected unqualified-id before 'using' 409 | using QLEInteger = QSpecialInteger>; | ^~~~~ /usr/include/qt5/QtCore/qendian.h:412:1: error: expected unqualified-id before 'using' 412 | using QBEInteger = QSpecialInteger>; | ^~~~~ /usr/include/qt5/QtCore/qendian.h:415:17: error: 'QLEInteger' was not declared in this scope; did you mean 'toInteger'? 415 | class QTypeInfo > | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:415:29: error: template argument 1 is invalid 415 | class QTypeInfo > | ^ /usr/include/qt5/QtCore/qendian.h:415:31: error: expected unqualified-id before '>' token 415 | class QTypeInfo > | ^ /usr/include/qt5/QtCore/qendian.h:419:17: error: 'QBEInteger' was not declared in this scope; did you mean 'toInteger'? 419 | class QTypeInfo > | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:419:29: error: template argument 1 is invalid 419 | class QTypeInfo > | ^ /usr/include/qt5/QtCore/qendian.h:419:31: error: expected unqualified-id before '>' token 419 | class QTypeInfo > | ^ /usr/include/qt5/QtCore/qendian.h:422:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 422 | typedef QLEInteger qint16_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:423:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 423 | typedef QLEInteger qint32_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:424:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 424 | typedef QLEInteger qint64_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:425:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 425 | typedef QLEInteger quint16_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:426:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 426 | typedef QLEInteger quint32_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:427:9: error: 'QLEInteger' does not name a type; did you mean 'toInteger'? 427 | typedef QLEInteger quint64_le; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:429:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 429 | typedef QBEInteger qint16_be; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:430:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 430 | typedef QBEInteger qint32_be; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:431:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 431 | typedef QBEInteger qint64_be; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:432:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 432 | typedef QBEInteger quint16_be; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:433:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 433 | typedef QBEInteger quint32_be; | ^~~~~~~~~~ | toInteger /usr/include/qt5/QtCore/qendian.h:434:9: error: 'QBEInteger' does not name a type; did you mean 'toInteger'? 434 | typedef QBEInteger quint64_be; | ^~~~~~~~~~ | toInteger In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qeventtransition.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qeventtransition.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:67, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qeventtransition.h:57:44: error: 'nullptr' was not declared in this scope 57 | QEventTransition(QState *sourceState = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qeventtransition.h:58:80: error: 'nullptr' was not declared in this scope 58 | QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qeventtransition.h: In member function 'QEventTransitionPrivate* QEventTransition::d_func()': /usr/include/qt5/QtCore/qeventtransition.h:80:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 80 | Q_DECLARE_PRIVATE(QEventTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventtransition.h:80:5: note: mismatched types 'T*' and 'QScopedPointer' 80 | Q_DECLARE_PRIVATE(QEventTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qeventtransition.h: In member function 'const QEventTransitionPrivate* QEventTransition::d_func() const': /usr/include/qt5/QtCore/qeventtransition.h:80:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 80 | Q_DECLARE_PRIVATE(QEventTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qeventtransition.h:80:5: note: mismatched types 'T*' and 'QScopedPointer' 80 | Q_DECLARE_PRIVATE(QEventTransition) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfactoryinterface.h: In function 'T qobject_cast(QObject*) [with T = QFactoryInterface*]': /usr/include/qt5/QtCore/qfactoryinterface.h:56:1: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_INTERFACE(QFactoryInterface, "org.qt-project.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfactoryinterface.h: In function 'T qobject_cast(const QObject*) [with T = QFactoryInterface*]': /usr/include/qt5/QtCore/qfactoryinterface.h:56:1: error: 'nullptr' was not declared in this scope 56 | Q_DECLARE_INTERFACE(QFactoryInterface, "org.qt-project.Qt.QFactoryInterface") | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfileselector.h: At global scope: /usr/include/qt5/QtCore/qfileselector.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfileselector.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:76, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfileselector.h:53:46: error: 'nullptr' was not declared in this scope 53 | explicit QFileSelector(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfileselector.h: In member function 'QFileSelectorPrivate* QFileSelector::d_func()': /usr/include/qt5/QtCore/qfileselector.h:65:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QFileSelector) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfileselector.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QFileSelector) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfileselector.h: In member function 'const QFileSelectorPrivate* QFileSelector::d_func() const': /usr/include/qt5/QtCore/qfileselector.h:65:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 65 | Q_DECLARE_PRIVATE(QFileSelector) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfileselector.h:65:5: note: mismatched types 'T*' and 'QScopedPointer' 65 | Q_DECLARE_PRIVATE(QFileSelector) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfilesystemwatcher.h: At global scope: /usr/include/qt5/QtCore/qfilesystemwatcher.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfilesystemwatcher.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:78, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfilesystemwatcher.h:58:42: error: 'nullptr' was not declared in this scope 58 | QFileSystemWatcher(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qfilesystemwatcher.h:59:68: error: 'nullptr' was not declared in this scope 59 | QFileSystemWatcher(const QStringList &paths, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfilesystemwatcher.h: In member function 'QFileSystemWatcherPrivate* QFileSystemWatcher::d_func()': /usr/include/qt5/QtCore/qfilesystemwatcher.h:55:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 55 | Q_DECLARE_PRIVATE(QFileSystemWatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfilesystemwatcher.h:55:5: note: mismatched types 'T*' and 'QScopedPointer' 55 | Q_DECLARE_PRIVATE(QFileSystemWatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfilesystemwatcher.h: In member function 'const QFileSystemWatcherPrivate* QFileSystemWatcher::d_func() const': /usr/include/qt5/QtCore/qfilesystemwatcher.h:55:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 55 | Q_DECLARE_PRIVATE(QFileSystemWatcher) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfilesystemwatcher.h:55:5: note: mismatched types 'T*' and 'QScopedPointer' 55 | Q_DECLARE_PRIVATE(QFileSystemWatcher) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfinalstate.h: At global scope: /usr/include/qt5/QtCore/qfinalstate.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfinalstate.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:81, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfinalstate.h:54:34: error: 'nullptr' was not declared in this scope 54 | QFinalState(QState *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfinalstate.h: In member function 'QFinalStatePrivate* QFinalState::d_func()': /usr/include/qt5/QtCore/qfinalstate.h:68:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 68 | Q_DECLARE_PRIVATE(QFinalState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfinalstate.h:68:5: note: mismatched types 'T*' and 'QScopedPointer' 68 | Q_DECLARE_PRIVATE(QFinalState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfinalstate.h: In member function 'const QFinalStatePrivate* QFinalState::d_func() const': /usr/include/qt5/QtCore/qfinalstate.h:68:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 68 | Q_DECLARE_PRIVATE(QFinalState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfinalstate.h:68:5: note: mismatched types 'T*' and 'QScopedPointer' 68 | Q_DECLARE_PRIVATE(QFinalState) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qfutureinterface.h:46, from /usr/include/qt5/QtCore/qfuture.h:45, from /usr/include/qt5/QtCore/QtCore:85, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qresultstore.h: In constructor 'QtPrivate::ResultItem::ResultItem()': /usr/include/qt5/QtCore/qresultstore.h:68:39: error: 'nullptr' was not declared in this scope 68 | ResultItem() : m_count(0), result(nullptr) { } | ^~~~~~~ /usr/include/qt5/QtCore/qresultstore.h: In member function 'bool QtPrivate::ResultItem::isValid() const': /usr/include/qt5/QtCore/qresultstore.h:69:45: error: 'nullptr' was not declared in this scope 69 | bool isValid() const { return result != nullptr; } | ^~~~~~~ /usr/include/qt5/QtCore/qresultstore.h: In member function 'int QtPrivate::ResultStoreBase::addResult(int, const T*)': /usr/include/qt5/QtCore/qresultstore.h:147:57: error: 'nullptr' was not declared in this scope 147 | return addResult(index, static_cast(nullptr)); | ^~~~~~~ /usr/include/qt5/QtCore/qresultstore.h: In member function 'int QtPrivate::ResultStoreBase::addCanceledResult(int)': /usr/include/qt5/QtCore/qresultstore.h:169:53: error: 'nullptr' was not declared in this scope 169 | return addResult(index, static_cast(nullptr)); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qresultstore.h: At global scope: /usr/include/qt5/QtCore/qresultstore.h:197:1: error: 'is_integral' is not a member of 'std' 197 | Q_DECLARE_TYPEINFO(QtPrivate::ResultItem, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qresultstore.h:197:1: error: expected primary-expression before '>' token 197 | Q_DECLARE_TYPEINFO(QtPrivate::ResultItem, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qresultstore.h:197:1: error: '::value' has not been declared 197 | Q_DECLARE_TYPEINFO(QtPrivate::ResultItem, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qfuture.h:45, from /usr/include/qt5/QtCore/QtCore:85, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfutureinterface.h:181:50: error: 'nullptr' was not declared in this scope 181 | inline void reportFinished(const T *result = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qfutureinterface.h: In member function 'void QFutureInterface::reportResults(const QVector&, int, int)': /usr/include/qt5/QtCore/qfutureinterface.h:224:15: error: request for member 'filterMode' in 'store', which is of non-class type 'int' 224 | if (store.filterMode()) { | ^~~~~~~~~~ /usr/include/qt5/QtCore/qfutureinterface.h:225:45: error: request for member 'count' in 'store', which is of non-class type 'int' 225 | const int resultCountBefore = store.count(); | ^~~~~ /usr/include/qt5/QtCore/qfutureinterface.h:226:15: error: request for member 'addResults' in 'store', which is of non-class type 'int' 226 | store.addResults(beginIndex, &_results, count); | ^~~~~~~~~~ /usr/include/qt5/QtCore/qfutureinterface.h:227:59: error: request for member 'count' in 'store', which is of non-class type 'int' 227 | this->reportResultsReady(resultCountBefore, store.count()); | ^~~~~ /usr/include/qt5/QtCore/qfutureinterface.h:229:39: error: request for member 'addResults' in 'store', which is of non-class type 'int' 229 | const int insertIndex = store.addResults(beginIndex, &_results, count); | ^~~~~~~~~~ /usr/include/qt5/QtCore/qfutureinterface.h: At global scope: /usr/include/qt5/QtCore/qfutureinterface.h:293:40: error: 'nullptr' was not declared in this scope 293 | void reportFinished(const void * = nullptr) { QFutureInterfaceBase::reportFinished(); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfuturewatcher.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qfuturewatcher.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:94, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfuturewatcher.h:60:51: error: 'nullptr' was not declared in this scope 60 | explicit QFutureWatcherBase(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qfuturewatcher.h: In member function 'QFutureWatcherBasePrivate* QFutureWatcherBase::d_func()': /usr/include/qt5/QtCore/qfuturewatcher.h:57:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QFutureWatcherBase) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfuturewatcher.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QFutureWatcherBase) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qfuturewatcher.h: In member function 'const QFutureWatcherBasePrivate* QFutureWatcherBase::d_func() const': /usr/include/qt5/QtCore/qfuturewatcher.h:57:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QFutureWatcherBase) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qfuturewatcher.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QFutureWatcherBase) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:94, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qfuturewatcher.h: At global scope: /usr/include/qt5/QtCore/qfuturewatcher.h:117:48: error: 'nullptr' was not declared in this scope 117 | explicit QFutureWatcher(QObject *_parent = nullptr) | ^~~~~~~ /usr/include/qt5/QtCore/qfuturewatcher.h:187:48: error: 'nullptr' was not declared in this scope 187 | explicit QFutureWatcher(QObject *_parent = nullptr) | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:96, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qgenericatomic.h:289:53: error: 'enable_if' in namespace 'std' does not name a template type 289 | T fetchAndAndRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:289:62: error: expected ',' or '...' before '<' token 289 | T fetchAndAndRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:300:53: error: 'enable_if' in namespace 'std' does not name a template type 300 | T fetchAndAndAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:300:62: error: expected ',' or '...' before '<' token 300 | T fetchAndAndAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:308:53: error: 'enable_if' in namespace 'std' does not name a template type 308 | T fetchAndAndRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:308:62: error: expected ',' or '...' before '<' token 308 | T fetchAndAndRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:315:53: error: 'enable_if' in namespace 'std' does not name a template type 315 | T fetchAndAndOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:315:62: error: expected ',' or '...' before '<' token 315 | T fetchAndAndOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:322:52: error: 'enable_if' in namespace 'std' does not name a template type 322 | T fetchAndOrRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:322:61: error: expected ',' or '...' before '<' token 322 | T fetchAndOrRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:333:52: error: 'enable_if' in namespace 'std' does not name a template type 333 | T fetchAndOrAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:333:61: error: expected ',' or '...' before '<' token 333 | T fetchAndOrAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:341:52: error: 'enable_if' in namespace 'std' does not name a template type 341 | T fetchAndOrRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:341:61: error: expected ',' or '...' before '<' token 341 | T fetchAndOrRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:348:52: error: 'enable_if' in namespace 'std' does not name a template type 348 | T fetchAndOrOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:348:61: error: expected ',' or '...' before '<' token 348 | T fetchAndOrOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:355:53: error: 'enable_if' in namespace 'std' does not name a template type 355 | T fetchAndXorRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:355:62: error: expected ',' or '...' before '<' token 355 | T fetchAndXorRelaxed(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:366:53: error: 'enable_if' in namespace 'std' does not name a template type 366 | T fetchAndXorAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:366:62: error: expected ',' or '...' before '<' token 366 | T fetchAndXorAcquire(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:374:53: error: 'enable_if' in namespace 'std' does not name a template type 374 | T fetchAndXorRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:374:62: error: expected ',' or '...' before '<' token 374 | T fetchAndXorRelease(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h:381:53: error: 'enable_if' in namespace 'std' does not name a template type 381 | T fetchAndXorOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^~~~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h:381:62: error: expected ',' or '...' before '<' token 381 | T fetchAndXorOrdered(T &_q_value, typename std::enable_if::isIntegral, T>::type operand) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndAndRelaxed(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:294:69: error: 'operand' was not declared in this scope 294 | if (BaseClass::testAndSetRelaxed(_q_value, tmp, T(tmp & operand), &tmp)) | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndAndAcquire(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:302:57: error: 'operand' was not declared in this scope 302 | T tmp = BaseClass::fetchAndAndRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndAndRelease(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:311:56: error: 'operand' was not declared in this scope 311 | return BaseClass::fetchAndAndRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndAndOrdered(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:318:56: error: 'operand' was not declared in this scope 318 | return BaseClass::fetchAndAndRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndOrRelaxed(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:327:69: error: 'operand' was not declared in this scope 327 | if (BaseClass::testAndSetRelaxed(_q_value, tmp, T(tmp | operand), &tmp)) | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndOrAcquire(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:335:56: error: 'operand' was not declared in this scope 335 | T tmp = BaseClass::fetchAndOrRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndOrRelease(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:344:55: error: 'operand' was not declared in this scope 344 | return BaseClass::fetchAndOrRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndOrOrdered(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:351:55: error: 'operand' was not declared in this scope 351 | return BaseClass::fetchAndOrRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndXorRelaxed(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:360:69: error: 'operand' was not declared in this scope 360 | if (BaseClass::testAndSetRelaxed(_q_value, tmp, T(tmp ^ operand), &tmp)) | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndXorAcquire(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:368:57: error: 'operand' was not declared in this scope 368 | T tmp = BaseClass::fetchAndXorRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndXorRelease(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:377:56: error: 'operand' was not declared in this scope 377 | return BaseClass::fetchAndXorRelaxed(_q_value, operand); | ^~~~~~~ /usr/include/qt5/QtCore/qgenericatomic.h: In static member function 'static T QGenericAtomicOps::fetchAndXorOrdered(T&, int)': /usr/include/qt5/QtCore/qgenericatomic.h:384:56: error: 'operand' was not declared in this scope 384 | return BaseClass::fetchAndXorRelaxed(_q_value, operand); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhistorystate.h: At global scope: /usr/include/qt5/QtCore/qhistorystate.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qhistorystate.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:101, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qhistorystate.h:64:36: error: 'nullptr' was not declared in this scope 64 | QHistoryState(QState *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qhistorystate.h:65:54: error: 'nullptr' was not declared in this scope 65 | QHistoryState(HistoryType type, QState *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qhistorystate.h: In member function 'QHistoryStatePrivate* QHistoryState::d_func()': /usr/include/qt5/QtCore/qhistorystate.h:90:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 90 | Q_DECLARE_PRIVATE(QHistoryState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qhistorystate.h:90:5: note: mismatched types 'T*' and 'QScopedPointer' 90 | Q_DECLARE_PRIVATE(QHistoryState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhistorystate.h: In member function 'const QHistoryStatePrivate* QHistoryState::d_func() const': /usr/include/qt5/QtCore/qhistorystate.h:90:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 90 | Q_DECLARE_PRIVATE(QHistoryState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qhistorystate.h:90:5: note: mismatched types 'T*' and 'QScopedPointer' 90 | Q_DECLARE_PRIVATE(QHistoryState) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qidentityproxymodel.h: At global scope: /usr/include/qt5/QtCore/qidentityproxymodel.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qidentityproxymodel.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:104, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qidentityproxymodel.h:57:52: error: 'nullptr' was not declared in this scope 57 | explicit QIdentityProxyModel(QObject* parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qidentityproxymodel.h: In member function 'QIdentityProxyModelPrivate* QIdentityProxyModel::d_func()': /usr/include/qt5/QtCore/qidentityproxymodel.h:85:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 85 | Q_DECLARE_PRIVATE(QIdentityProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qidentityproxymodel.h:85:5: note: mismatched types 'T*' and 'QScopedPointer' 85 | Q_DECLARE_PRIVATE(QIdentityProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qidentityproxymodel.h: In member function 'const QIdentityProxyModelPrivate* QIdentityProxyModel::d_func() const': /usr/include/qt5/QtCore/qidentityproxymodel.h:85:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 85 | Q_DECLARE_PRIVATE(QIdentityProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qidentityproxymodel.h:85:5: note: mismatched types 'T*' and 'QScopedPointer' 85 | Q_DECLARE_PRIVATE(QIdentityProxyModel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qjsonarray.h:43, from /usr/include/qt5/QtCore/QtCore:112, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qjsonvalue.h: At global scope: /usr/include/qt5/QtCore/qjsonvalue.h:95:27: error: expected ',' or '...' before '&&' token 95 | QJsonValue(QJsonValue &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonvalue.h:95:34: error: invalid constructor; you probably meant 'QJsonValue (const QJsonValue&)' 95 | QJsonValue(QJsonValue &&other) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qjsonvalue.h:105:39: error: expected ',' or '...' before '&&' token 105 | QJsonValue &operator =(QJsonValue &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonvalue.h: In constructor 'QJsonValue::QJsonValue(const char*)': /usr/include/qt5/QtCore/qjsonvalue.h:85:13: error: 'nullptr' was not declared in this scope 85 | : d(nullptr), t(String) { stringDataFromQStringHelper(QString::fromUtf8(s)); } | ^~~~~~~ /usr/include/qt5/QtCore/qjsonvalue.h: In member function 'QJsonValue& QJsonValue::operator=(QJsonValue)': /usr/include/qt5/QtCore/qjsonvalue.h:107:14: error: 'other' was not declared in this scope 107 | swap(other); | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qjsonvalue.h: At global scope: /usr/include/qt5/QtCore/qjsonvalue.h:248:1: error: 'is_integral' is not a member of 'std' 248 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonValue) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonvalue.h:248:1: error: expected primary-expression before '>' token 248 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonValue) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonvalue.h:248:1: error: '::value' has not been declared 248 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonValue) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:112, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qjsonarray.h:75:27: error: expected ',' or '...' before '&&' token 75 | QJsonArray(QJsonArray &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonarray.h:75:34: error: invalid constructor; you probably meant 'QJsonArray (const QJsonArray&)' 75 | QJsonArray(QJsonArray &&other) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qjsonarray.h:83:39: error: expected ',' or '...' before '&&' token 83 | QJsonArray &operator =(QJsonArray &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonarray.h: In member function 'QJsonArray& QJsonArray::operator=(QJsonArray)': /usr/include/qt5/QtCore/qjsonarray.h:85:14: error: 'other' was not declared in this scope 85 | swap(other); | ^~~~~ /usr/include/qt5/QtCore/qjsonarray.h: In constructor 'QJsonArray::iterator::iterator()': /usr/include/qt5/QtCore/qjsonarray.h:136:31: error: 'nullptr' was not declared in this scope 136 | inline iterator() : a(nullptr), i(0) { } | ^~~~~~~ /usr/include/qt5/QtCore/qjsonarray.h: In constructor 'QJsonArray::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qjsonarray.h:181:37: error: 'nullptr' was not declared in this scope 181 | inline const_iterator() : a(nullptr), i(0) { } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qjsonarray.h: At global scope: /usr/include/qt5/QtCore/qjsonarray.h:266:1: error: 'is_integral' is not a member of 'std' 266 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonArray) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonarray.h:266:1: error: expected primary-expression before '>' token 266 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonArray) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonarray.h:266:1: error: '::value' has not been declared 266 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonArray) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:113, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qjsondocument.h:96:33: error: expected ',' or '...' before '&&' token 96 | QJsonDocument(QJsonDocument &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsondocument.h:96:40: error: invalid constructor; you probably meant 'QJsonDocument (const QJsonDocument&)' 96 | QJsonDocument(QJsonDocument &&other) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qjsondocument.h:102:45: error: expected ',' or '...' before '&&' token 102 | QJsonDocument &operator =(QJsonDocument &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsondocument.h:132:84: error: 'nullptr' was not declared in this scope 132 | static QJsonDocument fromJson(const QByteArray &json, QJsonParseError *error = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qjsondocument.h: In member function 'QJsonDocument& QJsonDocument::operator=(QJsonDocument)': /usr/include/qt5/QtCore/qjsondocument.h:104:14: error: 'other' was not declared in this scope 104 | swap(other); | ^~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qjsondocument.h: At global scope: /usr/include/qt5/QtCore/qjsondocument.h:169:1: error: 'is_integral' is not a member of 'std' 169 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonDocument) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsondocument.h:169:1: error: expected primary-expression before '>' token 169 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonDocument) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsondocument.h:169:1: error: '::value' has not been declared 169 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonDocument) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:114, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qjsonobject.h:77:29: error: expected ',' or '...' before '&&' token 77 | QJsonObject(QJsonObject &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonobject.h:77:36: error: invalid constructor; you probably meant 'QJsonObject (const QJsonObject&)' 77 | QJsonObject(QJsonObject &&other) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qjsonobject.h:84:41: error: expected ',' or '...' before '&&' token 84 | QJsonObject &operator =(QJsonObject &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qjsonobject.h: In member function 'QJsonObject& QJsonObject::operator=(QJsonObject)': /usr/include/qt5/QtCore/qjsonobject.h:86:14: error: 'other' was not declared in this scope 86 | swap(other); | ^~~~~ /usr/include/qt5/QtCore/qjsonobject.h: In constructor 'QJsonObject::iterator::iterator()': /usr/include/qt5/QtCore/qjsonobject.h:138:48: error: 'nullptr' was not declared in this scope 138 | Q_DECL_CONSTEXPR inline iterator() : o(nullptr), i(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qjsonobject.h: In constructor 'QJsonObject::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qjsonobject.h:181:54: error: 'nullptr' was not declared in this scope 181 | Q_DECL_CONSTEXPR inline const_iterator() : o(nullptr), i(0) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qjsonobject.h: At global scope: /usr/include/qt5/QtCore/qjsonobject.h:263:1: error: 'is_integral' is not a member of 'std' 263 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonObject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonobject.h:263:1: error: expected primary-expression before '>' token 263 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonObject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qjsonobject.h:263:1: error: '::value' has not been declared 263 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QJsonObject) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlibrary.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qlibrary.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:117, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qlibrary.h:68:41: error: 'nullptr' was not declared in this scope 68 | explicit QLibrary(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qlibrary.h:69:66: error: 'nullptr' was not declared in this scope 69 | explicit QLibrary(const QString& fileName, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qlibrary.h:70:78: error: 'nullptr' was not declared in this scope 70 | explicit QLibrary(const QString& fileName, int verNum, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qlibrary.h:71:90: error: 'nullptr' was not declared in this scope 71 | explicit QLibrary(const QString& fileName, const QString &version, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qversionnumber.h:251:5: error: expected unqualified-id before '[' token 251 | Q_REQUIRED_RESULT inline bool isNull() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:254:5: error: expected unqualified-id before '[' token 254 | Q_REQUIRED_RESULT inline bool isNormalized() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:257:5: error: expected unqualified-id before '[' token 257 | Q_REQUIRED_RESULT inline int majorVersion() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:260:5: error: expected unqualified-id before '[' token 260 | Q_REQUIRED_RESULT inline int minorVersion() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:263:5: error: expected unqualified-id before '[' token 263 | Q_REQUIRED_RESULT inline int microVersion() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:266:5: error: expected unqualified-id before '[' token 266 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVersionNumber normalized() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:268:5: error: expected unqualified-id before '[' token 268 | Q_REQUIRED_RESULT Q_CORE_EXPORT QVector segments() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:270:5: error: expected unqualified-id before '[' token 270 | Q_REQUIRED_RESULT inline int segmentAt(int index) const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:273:5: error: expected unqualified-id before '[' token 273 | Q_REQUIRED_RESULT inline int segmentCount() const Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:276:5: error: expected unqualified-id before '[' token 276 | Q_REQUIRED_RESULT Q_CORE_EXPORT bool isPrefixOf(const QVersionNumber &other) const Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:278:5: error: expected unqualified-id before '[' token 278 | Q_REQUIRED_RESULT Q_CORE_EXPORT static int compare(const QVersionNumber &v1, const QVersionNumber &v2) Q_DECL_NOTHROW; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:280:5: error: expected unqualified-id before '[' token 280 | Q_REQUIRED_RESULT Q_CORE_EXPORT static Q_DECL_PURE_FUNCTION QVersionNumber commonPrefix(const QVersionNumber &v1, const QVersionNumber &v2); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:282:5: error: expected unqualified-id before '[' token 282 | Q_REQUIRED_RESULT Q_CORE_EXPORT QString toString() const; | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:284:5: error: expected unqualified-id before '[' token 284 | Q_REQUIRED_RESULT Q_CORE_EXPORT static Q_DECL_PURE_FUNCTION QVersionNumber fromString(const QString &string, int *suffixIndex = nullptr); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:286:5: error: expected unqualified-id before '[' token 286 | Q_REQUIRED_RESULT Q_CORE_EXPORT static Q_DECL_PURE_FUNCTION QVersionNumber fromString(QLatin1String string, int *suffixIndex = nullptr); | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:287:5: error: expected unqualified-id before '[' token 287 | Q_REQUIRED_RESULT Q_CORE_EXPORT static Q_DECL_PURE_FUNCTION QVersionNumber fromString(QStringView string, int *suffixIndex = nullptr); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qversionnumber.h:296:1: error: 'is_integral' is not a member of 'std' 296 | Q_DECLARE_TYPEINFO(QVersionNumber, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:296:1: error: expected primary-expression before '>' token 296 | Q_DECLARE_TYPEINFO(QVersionNumber, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:296:1: error: '::value' has not been declared 296 | Q_DECLARE_TYPEINFO(QVersionNumber, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qversionnumber.h:302:1: error: expected unqualified-id before '[' token 302 | Q_REQUIRED_RESULT inline bool operator> (const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:305:1: error: expected unqualified-id before '[' token 305 | Q_REQUIRED_RESULT inline bool operator>=(const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:308:1: error: expected unqualified-id before '[' token 308 | Q_REQUIRED_RESULT inline bool operator< (const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:311:1: error: expected unqualified-id before '[' token 311 | Q_REQUIRED_RESULT inline bool operator<=(const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:314:1: error: expected unqualified-id before '[' token 314 | Q_REQUIRED_RESULT inline bool operator==(const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qversionnumber.h:317:1: error: expected unqualified-id before '[' token 317 | Q_REQUIRED_RESULT inline bool operator!=(const QVersionNumber &lhs, const QVersionNumber &rhs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:121, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qlinkedlist.h:142:27: error: expected ',' or '...' before '&&' token 142 | iterator(iterator &&other) Q_DECL_NOTHROW : i(other.i) {} | ^~ /usr/include/qt5/QtCore/qlinkedlist.h:142:34: error: invalid constructor; you probably meant 'QLinkedList::iterator (const QLinkedList::iterator&)' 142 | iterator(iterator &&other) Q_DECL_NOTHROW : i(other.i) {} | ^ /usr/include/qt5/QtCore/qlinkedlist.h:143:38: error: expected ',' or '...' before '&&' token 143 | iterator &operator=(iterator &&other) Q_DECL_NOTHROW { return *this = other; } | ^~ /usr/include/qt5/QtCore/qlinkedlist.h:181:39: error: expected ',' or '...' before '&&' token 181 | const_iterator(const_iterator &&other) Q_DECL_NOTHROW : i(other.i) {} | ^~ /usr/include/qt5/QtCore/qlinkedlist.h:181:46: error: invalid constructor; you probably meant 'QLinkedList::const_iterator (const QLinkedList::const_iterator&)' 181 | const_iterator(const_iterator &&other) Q_DECL_NOTHROW : i(other.i) {} | ^ /usr/include/qt5/QtCore/qlinkedlist.h:182:50: error: expected ',' or '...' before '&&' token 182 | const_iterator &operator=(const_iterator &&other) Q_DECL_NOTHROW { return *this = other; } | ^~ /usr/include/qt5/QtCore/qlinkedlist.h: In constructor 'QLinkedList::iterator::iterator()': /usr/include/qt5/QtCore/qlinkedlist.h:137:31: error: 'nullptr' was not declared in this scope 137 | inline iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlinkedlist.h: In member function 'QLinkedList::iterator& QLinkedList::iterator::operator=(QLinkedList::iterator)': /usr/include/qt5/QtCore/qlinkedlist.h:143:79: error: 'other' was not declared in this scope 143 | iterator &operator=(iterator &&other) Q_DECL_NOTHROW { return *this = other; } | ^~~~~ /usr/include/qt5/QtCore/qlinkedlist.h: In constructor 'QLinkedList::const_iterator::const_iterator()': /usr/include/qt5/QtCore/qlinkedlist.h:175:37: error: 'nullptr' was not declared in this scope 175 | inline const_iterator() : i(nullptr) {} | ^~~~~~~ /usr/include/qt5/QtCore/qlinkedlist.h: In member function 'QLinkedList::const_iterator& QLinkedList::const_iterator::operator=(QLinkedList::const_iterator)': /usr/include/qt5/QtCore/qlinkedlist.h:182:91: error: 'other' was not declared in this scope 182 | const_iterator &operator=(const_iterator &&other) Q_DECL_NOTHROW { return *this = other; } | ^~~~~ /usr/include/qt5/QtCore/qlinkedlist.h: In member function 'T QLinkedList::takeFirst()': /usr/include/qt5/QtCore/qlinkedlist.h:453:16: error: 'move' is not a member of 'std' 453 | T t = std::move(first()); | ^~~~ /usr/include/qt5/QtCore/qlinkedlist.h:453:16: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qlinkedlist.h: In member function 'T QLinkedList::takeLast()': /usr/include/qt5/QtCore/qlinkedlist.h:461:16: error: 'move' is not a member of 'std' 461 | T t = std::move(last()); | ^~~~ /usr/include/qt5/QtCore/qlinkedlist.h:461:16: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlockfile.h: In member function 'QLockFilePrivate* QLockFile::d_func()': /usr/include/qt5/QtCore/qlockfile.h:79:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 79 | Q_DECLARE_PRIVATE(QLockFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qlockfile.h:79:5: note: mismatched types 'T*' and 'QScopedPointer' 79 | Q_DECLARE_PRIVATE(QLockFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qlockfile.h: In member function 'const QLockFilePrivate* QLockFile::d_func() const': /usr/include/qt5/QtCore/qlockfile.h:79:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 79 | Q_DECLARE_PRIVATE(QLockFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qlockfile.h:79:5: note: mismatched types 'T*' and 'QScopedPointer' 79 | Q_DECLARE_PRIVATE(QLockFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:130, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qmetaobject.h: At global scope: /usr/include/qt5/QtCore/qmetaobject.h:83:58: error: 'nullptr' was not declared in this scope 83 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:95:65: error: 'nullptr' was not declared in this scope 95 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:111:65: error: 'nullptr' was not declared in this scope 111 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:126:65: error: 'nullptr' was not declared in this scope 126 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:143:58: error: 'nullptr' was not declared in this scope 143 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:154:65: error: 'nullptr' was not declared in this scope 154 | QGenericArgument val0 = QGenericArgument(nullptr), | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h: In constructor 'QMetaMethod::QMetaMethod()': /usr/include/qt5/QtCore/qmetaobject.h:57:50: error: 'nullptr' was not declared in this scope 57 | Q_DECL_CONSTEXPR inline QMetaMethod() : mobj(nullptr), handle(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h: In member function 'bool QMetaMethod::isValid() const': /usr/include/qt5/QtCore/qmetaobject.h:169:50: error: 'nullptr' was not declared in this scope 169 | inline bool isValid() const { return mobj != nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetaobject.h: At global scope: /usr/include/qt5/QtCore/qmetaobject.h:199:1: error: 'is_integral' is not a member of 'std' 199 | Q_DECLARE_TYPEINFO(QMetaMethod, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:199:1: error: expected primary-expression before '>' token 199 | Q_DECLARE_TYPEINFO(QMetaMethod, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:199:1: error: '::value' has not been declared 199 | Q_DECLARE_TYPEINFO(QMetaMethod, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:130, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qmetaobject.h:222:48: error: 'nullptr' was not declared in this scope 222 | int keyToValue(const char *key, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:224:51: error: 'nullptr' was not declared in this scope 224 | int keysToValue(const char * keys, bool *ok = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h: In constructor 'QMetaEnum::QMetaEnum()': /usr/include/qt5/QtCore/qmetaobject.h:209:48: error: 'nullptr' was not declared in this scope 209 | Q_DECL_CONSTEXPR inline QMetaEnum() : mobj(nullptr), handle(0) {} | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h: In member function 'bool QMetaEnum::isValid() const': /usr/include/qt5/QtCore/qmetaobject.h:229:52: error: 'nullptr' was not declared in this scope 229 | inline bool isValid() const { return name() != nullptr; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetaobject.h: At global scope: /usr/include/qt5/QtCore/qmetaobject.h:245:1: error: 'is_integral' is not a member of 'std' 245 | Q_DECLARE_TYPEINFO(QMetaEnum, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:245:1: error: expected primary-expression before '>' token 245 | Q_DECLARE_TYPEINFO(QMetaEnum, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:245:1: error: '::value' has not been declared 245 | Q_DECLARE_TYPEINFO(QMetaEnum, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:130, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qmetaobject.h:261:44: error: 'nullptr' was not declared in this scope 261 | bool isDesignable(const QObject *obj = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:262:44: error: 'nullptr' was not declared in this scope 262 | bool isScriptable(const QObject *obj = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:263:40: error: 'nullptr' was not declared in this scope 263 | bool isStored(const QObject *obj = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:264:42: error: 'nullptr' was not declared in this scope 264 | bool isEditable(const QObject *obj = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:265:38: error: 'nullptr' was not declared in this scope 265 | bool isUser(const QObject *obj = nullptr) const; | ^~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h: In constructor 'QMetaClassInfo::QMetaClassInfo()': /usr/include/qt5/QtCore/qmetaobject.h:305:53: error: 'nullptr' was not declared in this scope 305 | Q_DECL_CONSTEXPR inline QMetaClassInfo() : mobj(nullptr), handle(0) {} | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmetaobject.h: At global scope: /usr/include/qt5/QtCore/qmetaobject.h:314:1: error: 'is_integral' is not a member of 'std' 314 | Q_DECLARE_TYPEINFO(QMetaClassInfo, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:314:1: error: expected primary-expression before '>' token 314 | Q_DECLARE_TYPEINFO(QMetaClassInfo, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmetaobject.h:314:1: error: '::value' has not been declared 314 | Q_DECLARE_TYPEINFO(QMetaClassInfo, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmimedata.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qmimedata.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmimedata.h: In member function 'QMimeDataPrivate* QMimeData::d_func()': /usr/include/qt5/QtCore/qmimedata.h:92:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 92 | Q_DECLARE_PRIVATE(QMimeData) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qmimedata.h:92:5: note: mismatched types 'T*' and 'QScopedPointer' 92 | Q_DECLARE_PRIVATE(QMimeData) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmimedata.h: In member function 'const QMimeDataPrivate* QMimeData::d_func() const': /usr/include/qt5/QtCore/qmimedata.h:92:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 92 | Q_DECLARE_PRIVATE(QMimeData) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qmimedata.h:92:5: note: mismatched types 'T*' and 'QScopedPointer' 92 | Q_DECLARE_PRIVATE(QMimeData) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qmimetype.h: At global scope: /usr/include/qt5/QtCore/qmimetype.h:129:1: error: 'is_integral' is not a member of 'std' 129 | Q_DECLARE_SHARED(QMimeType) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmimetype.h:129:1: error: expected primary-expression before '>' token 129 | Q_DECLARE_SHARED(QMimeType) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qmimetype.h:129:1: error: '::value' has not been declared 129 | Q_DECLARE_SHARED(QMimeType) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qobjectcleanuphandler.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qobjectcleanuphandler.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qoperatingsystemversion.h:150:1: error: 'is_integral' is not a member of 'std' 150 | Q_DECLARE_TYPEINFO(QOperatingSystemVersion, QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ? Q_RELOCATABLE_TYPE : Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qoperatingsystemversion.h:150:1: error: expected primary-expression before '>' token 150 | Q_DECLARE_TYPEINFO(QOperatingSystemVersion, QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ? Q_RELOCATABLE_TYPE : Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qoperatingsystemversion.h:150:1: error: '::value' has not been declared 150 | Q_DECLARE_TYPEINFO(QOperatingSystemVersion, QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ? Q_RELOCATABLE_TYPE : Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qparallelanimationgroup.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qparallelanimationgroup.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:148, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qparallelanimationgroup.h:55:47: error: 'nullptr' was not declared in this scope 55 | QParallelAnimationGroup(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qparallelanimationgroup.h: In member function 'QParallelAnimationGroupPrivate* QParallelAnimationGroup::d_func()': /usr/include/qt5/QtCore/qparallelanimationgroup.h:70:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 70 | Q_DECLARE_PRIVATE(QParallelAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qparallelanimationgroup.h:70:5: note: mismatched types 'T*' and 'QScopedPointer' 70 | Q_DECLARE_PRIVATE(QParallelAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qparallelanimationgroup.h: In member function 'const QParallelAnimationGroupPrivate* QParallelAnimationGroup::d_func() const': /usr/include/qt5/QtCore/qparallelanimationgroup.h:70:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 70 | Q_DECLARE_PRIVATE(QParallelAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qparallelanimationgroup.h:70:5: note: mismatched types 'T*' and 'QScopedPointer' 70 | Q_DECLARE_PRIVATE(QParallelAnimationGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpauseanimation.h: At global scope: /usr/include/qt5/QtCore/qpauseanimation.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qpauseanimation.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:151, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qpauseanimation.h:56:39: error: 'nullptr' was not declared in this scope 56 | QPauseAnimation(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qpauseanimation.h:57:50: error: 'nullptr' was not declared in this scope 57 | QPauseAnimation(int msecs, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpauseanimation.h: In member function 'QPauseAnimationPrivate* QPauseAnimation::d_func()': /usr/include/qt5/QtCore/qpauseanimation.h:69:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 69 | Q_DECLARE_PRIVATE(QPauseAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qpauseanimation.h:69:5: note: mismatched types 'T*' and 'QScopedPointer' 69 | Q_DECLARE_PRIVATE(QPauseAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpauseanimation.h: In member function 'const QPauseAnimationPrivate* QPauseAnimation::d_func() const': /usr/include/qt5/QtCore/qpauseanimation.h:69:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 69 | Q_DECLARE_PRIVATE(QPauseAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qpauseanimation.h:69:5: note: mismatched types 'T*' and 'QScopedPointer' 69 | Q_DECLARE_PRIVATE(QPauseAnimation) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:153, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qplugin.h: At global scope: /usr/include/qt5/QtCore/qplugin.h:58:8: error: 'constexpr' does not name a type 58 | inline constexpr unsigned char qPluginArchRequirements() | ^~~~~~~~~ /usr/include/qt5/QtCore/qplugin.h:58:8: note: C++11 'constexpr' only available with '-std=c++11' or '-std=gnu++11' In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qplugin.h:91:1: error: 'is_integral' is not a member of 'std' 91 | Q_DECLARE_TYPEINFO(QStaticPlugin, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qplugin.h:91:1: error: expected primary-expression before '>' token 91 | Q_DECLARE_TYPEINFO(QStaticPlugin, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qplugin.h:91:1: error: '::value' has not been declared 91 | Q_DECLARE_TYPEINFO(QStaticPlugin, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpluginloader.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qpluginloader.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:154, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qpluginloader.h:62:46: error: 'nullptr' was not declared in this scope 62 | explicit QPluginLoader(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qpluginloader.h:63:71: error: 'nullptr' was not declared in this scope 63 | explicit QPluginLoader(const QString &fileName, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qprocess.h:106:1: error: 'is_integral' is not a member of 'std' 106 | Q_DECLARE_SHARED(QProcessEnvironment) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qprocess.h:106:1: error: expected primary-expression before '>' token 106 | Q_DECLARE_SHARED(QProcessEnvironment) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qprocess.h:106:1: error: '::value' has not been declared 106 | Q_DECLARE_SHARED(QProcessEnvironment) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qprocess.h:112:5: error: 'nullptr' was not declared in this scope 112 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qprocess.h:112:5: error: 'nullptr' was not declared in this scope 112 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:158, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qprocess.h:158:41: error: 'nullptr' was not declared in this scope 158 | explicit QProcess(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qprocess.h:166:38: error: 'nullptr' was not declared in this scope 166 | bool startDetached(qint64 *pid = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qprocess.h:256:47: error: 'nullptr' was not declared in this scope 256 | , qint64 *pid = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qprocess.h: In member function 'QProcessPrivate* QProcess::d_func()': /usr/include/qt5/QtCore/qprocess.h:293:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 293 | Q_DECLARE_PRIVATE(QProcess) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qprocess.h:293:5: note: mismatched types 'T*' and 'QScopedPointer' 293 | Q_DECLARE_PRIVATE(QProcess) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qprocess.h: In member function 'const QProcessPrivate* QProcess::d_func() const': /usr/include/qt5/QtCore/qprocess.h:293:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 293 | Q_DECLARE_PRIVATE(QProcess) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qprocess.h:293:5: note: mismatched types 'T*' and 'QScopedPointer' 293 | Q_DECLARE_PRIVATE(QProcess) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvariantanimation.h: At global scope: /usr/include/qt5/QtCore/qvariantanimation.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qvariantanimation.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qpropertyanimation.h:43, from /usr/include/qt5/QtCore/QtCore:162, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qvariantanimation.h:67:41: error: 'nullptr' was not declared in this scope 67 | QVariantAnimation(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qvariantanimation.h:96:71: error: 'nullptr' was not declared in this scope 96 | QVariantAnimation(QVariantAnimationPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qvariantanimation.h: In member function 'QVariantAnimationPrivate* QVariantAnimation::d_func()': /usr/include/qt5/QtCore/qvariantanimation.h:110:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 110 | Q_DECLARE_PRIVATE(QVariantAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qvariantanimation.h:110:5: note: mismatched types 'T*' and 'QScopedPointer' 110 | Q_DECLARE_PRIVATE(QVariantAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qvariantanimation.h: In member function 'const QVariantAnimationPrivate* QVariantAnimation::d_func() const': /usr/include/qt5/QtCore/qvariantanimation.h:110:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 110 | Q_DECLARE_PRIVATE(QVariantAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qvariantanimation.h:110:5: note: mismatched types 'T*' and 'QScopedPointer' 110 | Q_DECLARE_PRIVATE(QVariantAnimation) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpropertyanimation.h: At global scope: /usr/include/qt5/QtCore/qpropertyanimation.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qpropertyanimation.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:162, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qpropertyanimation.h:57:42: error: 'nullptr' was not declared in this scope 57 | QPropertyAnimation(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qpropertyanimation.h:58:91: error: 'nullptr' was not declared in this scope 58 | QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qpropertyanimation.h: In member function 'QPropertyAnimationPrivate* QPropertyAnimation::d_func()': /usr/include/qt5/QtCore/qpropertyanimation.h:74:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 74 | Q_DECLARE_PRIVATE(QPropertyAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qpropertyanimation.h:74:5: note: mismatched types 'T*' and 'QScopedPointer' 74 | Q_DECLARE_PRIVATE(QPropertyAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qpropertyanimation.h: In member function 'const QPropertyAnimationPrivate* QPropertyAnimation::d_func() const': /usr/include/qt5/QtCore/qpropertyanimation.h:74:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 74 | Q_DECLARE_PRIVATE(QPropertyAnimation) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qpropertyanimation.h:74:5: note: mismatched types 'T*' and 'QScopedPointer' 74 | Q_DECLARE_PRIVATE(QPropertyAnimation) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:165, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qrandom.h: At global scope: /usr/include/qt5/QtCore/qrandom.h:59:30: error: expected unqualified-id before 'using' 59 | template using IfValidUInt = | ^~~~~ /usr/include/qt5/QtCore/qrandom.h:65:15: error: 'qsizetype' has not been declared 65 | template QRandomGenerator(const quint32 (&seedBuffer)[N]) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:65:73: error: 'N' was not declared in this scope 65 | template QRandomGenerator(const quint32 (&seedBuffer)[N]) | ^ /usr/include/qt5/QtCore/qrandom.h:65:75: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 65 | template QRandomGenerator(const quint32 (&seedBuffer)[N]) | ^ /usr/include/qt5/QtCore/qrandom.h:68:49: error: 'qsizetype' has not been declared 68 | QRandomGenerator(const quint32 *seedBuffer, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:71:49: error: expected ')' before '&' token 71 | Q_CORE_EXPORT QRandomGenerator(std::seed_seq &sseq) Q_DECL_NOTHROW; | ~ ^~ | ) /usr/include/qt5/QtCore/qrandom.h:142:30: error: 'IfValidUInt' has not been declared 142 | template = true> | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:142:41: error: expected '>' before '<' token 142 | template = true> | ^ /usr/include/qt5/QtCore/qrandom.h:143:34: error: 'qsizetype' has not been declared 143 | void fillRange(UInt *buffer, qsizetype count) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:148:40: error: 'IfValidUInt' has not been declared 148 | template = true> | ^~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:148:51: error: expected '>' before '<' token 148 | template = true> | ^ /usr/include/qt5/QtCore/qrandom.h:170:20: error: 'std::seed_seq' has not been declared 170 | void seed(std::seed_seq &sseq) Q_DECL_NOTHROW { *this = { sseq }; } | ^~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:189:11: error: expected nested-name-specifier before 'RandomEngine' 189 | using RandomEngine = std::mersenne_twister_engine::type buffer; | ^~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:200:9: error: 'RandomEngine' does not name a type 200 | RandomEngine &engine() { return reinterpret_cast(buffer); } | ^~~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:201:15: error: 'RandomEngine' does not name a type 201 | const RandomEngine &engine() const { return reinterpret_cast(buffer); } | ^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qrandom.h:204:9: error: 'is_trivially_destructible' is not a member of 'std' 204 | Q_STATIC_ASSERT_X(std::is_trivially_destructible::value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:204:9: error: 'RandomEngine' was not declared in this scope 204 | Q_STATIC_ASSERT_X(std::is_trivially_destructible::value, | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:204:9: error: '::value' has not been declared 204 | Q_STATIC_ASSERT_X(std::is_trivially_destructible::value, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:165, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qrandom.h: In constructor 'QRandomGenerator::QRandomGenerator(...)': /usr/include/qt5/QtCore/qrandom.h:66:28: error: 'seedBuffer' was not declared in this scope; did you mean 'setbuffer'? 66 | : QRandomGenerator(seedBuffer, seedBuffer + N) | ^~~~~~~~~~ | setbuffer /usr/include/qt5/QtCore/qrandom.h:66:53: error: 'N' was not declared in this scope 66 | : QRandomGenerator(seedBuffer, seedBuffer + N) | ^ /usr/include/qt5/QtCore/qrandom.h: In member function 'quint32 QRandomGenerator::generate()': /usr/include/qt5/QtCore/qrandom.h:87:26: error: no matching function for call to 'QRandomGenerator::fillRange(quint32*, int)' 87 | fillRange(&ret, 1); | ^ /usr/include/qt5/QtCore/qrandom.h:143:10: note: candidate: 'template > void QRandomGenerator::fillRange(UInt*, int)' 143 | void fillRange(UInt *buffer, qsizetype count) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:143:10: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qrandom.h:87:26: note: couldn't deduce template parameter '' 87 | fillRange(&ret, 1); | ^ /usr/include/qt5/QtCore/qrandom.h:149:10: note: candidate: 'template > void QRandomGenerator::fillRange(UInt (&)[N])' 149 | void fillRange(UInt (&buffer)[N]) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:149:10: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qrandom.h:87:26: note: mismatched types 'UInt [N]' and 'quint32*' {aka 'unsigned int*'} 87 | fillRange(&ret, 1); | ^ /usr/include/qt5/QtCore/qrandom.h: In member function 'quint64 QRandomGenerator::generate64()': /usr/include/qt5/QtCore/qrandom.h:94:22: error: no matching function for call to 'QRandomGenerator::fillRange(quint32 [2])' 94 | fillRange(buf); | ^ /usr/include/qt5/QtCore/qrandom.h:143:10: note: candidate: 'template > void QRandomGenerator::fillRange(UInt*, int)' 143 | void fillRange(UInt *buffer, qsizetype count) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:143:10: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qrandom.h:94:22: note: candidate expects 2 arguments, 1 provided 94 | fillRange(buf); | ^ /usr/include/qt5/QtCore/qrandom.h:149:10: note: candidate: 'template > void QRandomGenerator::fillRange(UInt (&)[N])' 149 | void fillRange(UInt (&buffer)[N]) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:149:10: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qrandom.h:94:22: note: couldn't deduce template parameter '' 94 | fillRange(buf); | ^ /usr/include/qt5/QtCore/qrandom.h: At global scope: /usr/include/qt5/QtCore/qrandom.h:227:15: error: 'qsizetype' has not been declared 227 | template QRandomGenerator64(const quint32 (&seedBuffer)[N]) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:227:75: error: 'N' was not declared in this scope 227 | template QRandomGenerator64(const quint32 (&seedBuffer)[N]) | ^ /usr/include/qt5/QtCore/qrandom.h:227:77: error: default template arguments may not be used in function templates without '-std=c++11' or '-std=gnu++11' 227 | template QRandomGenerator64(const quint32 (&seedBuffer)[N]) | ^ /usr/include/qt5/QtCore/qrandom.h:230:51: error: 'qsizetype' has not been declared 230 | QRandomGenerator64(const quint32 *seedBuffer, qsizetype len) | ^~~~~~~~~ /usr/include/qt5/QtCore/qrandom.h:233:37: error: expected ')' before '&' token 233 | QRandomGenerator64(std::seed_seq &sseq) Q_DECL_NOTHROW | ~ ^~ | ) /usr/include/qt5/QtCore/qrandom.h: In constructor 'QRandomGenerator64::QRandomGenerator64(...)': /usr/include/qt5/QtCore/qrandom.h:228:28: error: 'seedBuffer' was not declared in this scope; did you mean 'setbuffer'? 228 | : QRandomGenerator(seedBuffer) | ^~~~~~~~~~ | setbuffer In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qresource.h: In member function 'QResourcePrivate* QResource::d_func()': /usr/include/qt5/QtCore/qresource.h:94:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QResource) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qresource.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QResource) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qresource.h: In member function 'const QResourcePrivate* QResource::d_func() const': /usr/include/qt5/QtCore/qresource.h:94:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QResource) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qresource.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QResource) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsavefile.h: At global scope: /usr/include/qt5/QtCore/qsavefile.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsavefile.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:178, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsavefile.h:70:42: error: 'nullptr' was not declared in this scope 70 | explicit QSaveFile(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsavefile.h: In member function 'QSaveFilePrivate* QSaveFile::d_func()': /usr/include/qt5/QtCore/qsavefile.h:64:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QSaveFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsavefile.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QSaveFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsavefile.h: In member function 'const QSaveFilePrivate* QSaveFile::d_func() const': /usr/include/qt5/QtCore/qsavefile.h:64:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 64 | Q_DECLARE_PRIVATE(QSaveFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsavefile.h:64:5: note: mismatched types 'T*' and 'QScopedPointer' 64 | Q_DECLARE_PRIVATE(QSaveFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:181, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qscopeguard.h: At global scope: /usr/include/qt5/QtCore/qscopeguard.h:56:29: error: expected ',' or '...' before '&&' token 56 | QScopeGuard(QScopeGuard &&other) Q_DECL_NOEXCEPT | ^~ /usr/include/qt5/QtCore/qscopeguard.h:56:36: error: invalid constructor; you probably meant 'QScopeGuard (const QScopeGuard&)' 56 | QScopeGuard(QScopeGuard &&other) Q_DECL_NOEXCEPT | ^ /usr/include/qt5/QtCore/qscopeguard.h: In constructor 'QScopeGuard::QScopeGuard(F)': /usr/include/qt5/QtCore/qscopeguard.h:76:23: error: 'move' is not a member of 'std' 76 | : m_func(std::move(f)) | ^~~~ /usr/include/qt5/QtCore/qscopeguard.h:76:23: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qscopeguard.h: In function 'QScopeGuard qScopeGuard(F)': /usr/include/qt5/QtCore/qscopeguard.h:91:32: error: 'move' is not a member of 'std' 91 | return QScopeGuard(std::move(f)); | ^~~~ /usr/include/qt5/QtCore/qscopeguard.h:91:32: note: 'std::move' is only available from C++11 onwards In file included from /usr/include/qt5/QtCore/QtCore:183, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsemaphore.h: At global scope: /usr/include/qt5/QtCore/qsemaphore.h:82:43: error: expected ',' or '...' before '&&' token 82 | QSemaphoreReleaser(QSemaphoreReleaser &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qsemaphore.h:82:50: error: invalid constructor; you probably meant 'QSemaphoreReleaser (const QSemaphoreReleaser&)' 82 | QSemaphoreReleaser(QSemaphoreReleaser &&other) Q_DECL_NOTHROW | ^ /usr/include/qt5/QtCore/qsemaphore.h:85:54: error: expected ',' or '...' before '&&' token 85 | QSemaphoreReleaser &operator=(QSemaphoreReleaser &&other) Q_DECL_NOTHROW | ^~ /usr/include/qt5/QtCore/qsemaphore.h:111:25: error: 'nullptr' was not declared in this scope 111 | QSemaphore *m_sem = nullptr; | ^~~~~~~ /usr/include/qt5/QtCore/qsemaphore.h: In member function 'QSemaphoreReleaser& QSemaphoreReleaser::operator=(QSemaphoreReleaser)': /usr/include/qt5/QtCore/qsemaphore.h:86:37: error: 'move' is not a member of 'std' 86 | { QSemaphoreReleaser moved(std::move(other)); swap(moved); return *this; } | ^~~~ /usr/include/qt5/QtCore/qsemaphore.h:86:37: note: 'std::move' is only available from C++11 onwards /usr/include/qt5/QtCore/qsemaphore.h:86:42: error: 'other' was not declared in this scope 86 | { QSemaphoreReleaser moved(std::move(other)); swap(moved); return *this; } | ^~~~~ /usr/include/qt5/QtCore/qsemaphore.h: In member function 'QSemaphore* QSemaphoreReleaser::cancel()': /usr/include/qt5/QtCore/qsemaphore.h:106:17: error: 'nullptr' was not declared in this scope 106 | m_sem = nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsequentialanimationgroup.h: At global scope: /usr/include/qt5/QtCore/qsequentialanimationgroup.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsequentialanimationgroup.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:186, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsequentialanimationgroup.h:58:49: error: 'nullptr' was not declared in this scope 58 | QSequentialAnimationGroup(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsequentialanimationgroup.h: In member function 'QSequentialAnimationGroupPrivate* QSequentialAnimationGroup::d_func()': /usr/include/qt5/QtCore/qsequentialanimationgroup.h:80:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 80 | Q_DECLARE_PRIVATE(QSequentialAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsequentialanimationgroup.h:80:5: note: mismatched types 'T*' and 'QScopedPointer' 80 | Q_DECLARE_PRIVATE(QSequentialAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsequentialanimationgroup.h: In member function 'const QSequentialAnimationGroupPrivate* QSequentialAnimationGroup::d_func() const': /usr/include/qt5/QtCore/qsequentialanimationgroup.h:80:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 80 | Q_DECLARE_PRIVATE(QSequentialAnimationGroup) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsequentialanimationgroup.h:80:5: note: mismatched types 'T*' and 'QScopedPointer' 80 | Q_DECLARE_PRIVATE(QSequentialAnimationGroup) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedmemory.h: At global scope: /usr/include/qt5/QtCore/qsharedmemory.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsharedmemory.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:193, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsharedmemory.h:77:37: error: 'nullptr' was not declared in this scope 77 | QSharedMemory(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsharedmemory.h:78:57: error: 'nullptr' was not declared in this scope 78 | QSharedMemory(const QString &key, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsharedmemory.h: In member function 'QSharedMemoryPrivate* QSharedMemory::d_func()': /usr/include/qt5/QtCore/qsharedmemory.h:55:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 55 | Q_DECLARE_PRIVATE(QSharedMemory) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsharedmemory.h:55:5: note: mismatched types 'T*' and 'QScopedPointer' 55 | Q_DECLARE_PRIVATE(QSharedMemory) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsharedmemory.h: In member function 'const QSharedMemoryPrivate* QSharedMemory::d_func() const': /usr/include/qt5/QtCore/qsharedmemory.h:55:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 55 | Q_DECLARE_PRIVATE(QSharedMemory) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsharedmemory.h:55:5: note: mismatched types 'T*' and 'QScopedPointer' 55 | Q_DECLARE_PRIVATE(QSharedMemory) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsignalmapper.h: At global scope: /usr/include/qt5/QtCore/qsignalmapper.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsignalmapper.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:195, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsignalmapper.h:56:60: error: 'nullptr' was not declared in this scope 56 | QT_DEPRECATED explicit QSignalMapper(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsignalmapper.h: In member function 'QSignalMapperPrivate* QSignalMapper::d_func()': /usr/include/qt5/QtCore/qsignalmapper.h:54:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 54 | Q_DECLARE_PRIVATE(QSignalMapper) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsignalmapper.h:54:5: note: mismatched types 'T*' and 'QScopedPointer' 54 | Q_DECLARE_PRIVATE(QSignalMapper) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsignalmapper.h: In member function 'const QSignalMapperPrivate* QSignalMapper::d_func() const': /usr/include/qt5/QtCore/qsignalmapper.h:54:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 54 | Q_DECLARE_PRIVATE(QSignalMapper) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsignalmapper.h:54:5: note: mismatched types 'T*' and 'QScopedPointer' 54 | Q_DECLARE_PRIVATE(QSignalMapper) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsignaltransition.h: At global scope: /usr/include/qt5/QtCore/qsignaltransition.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsignaltransition.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:197, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsignaltransition.h:58:45: error: 'nullptr' was not declared in this scope 58 | QSignalTransition(QState *sourceState = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qsignaltransition.h:60:45: error: 'nullptr' was not declared in this scope 60 | QState *sourceState = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsignaltransition.h: In member function 'QSignalTransitionPrivate* QSignalTransition::d_func()': /usr/include/qt5/QtCore/qsignaltransition.h:94:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QSignalTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsignaltransition.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QSignalTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsignaltransition.h: In member function 'const QSignalTransitionPrivate* QSignalTransition::d_func() const': /usr/include/qt5/QtCore/qsignaltransition.h:94:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 94 | Q_DECLARE_PRIVATE(QSignalTransition) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsignaltransition.h:94:5: note: mismatched types 'T*' and 'QScopedPointer' 94 | Q_DECLARE_PRIVATE(QSignalTransition) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsocketnotifier.h: At global scope: /usr/include/qt5/QtCore/qsocketnotifier.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsocketnotifier.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:200, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsocketnotifier.h:56:61: error: 'nullptr' was not declared in this scope 56 | QSocketNotifier(qintptr socket, Type, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsocketnotifier.h: In member function 'QSocketNotifierPrivate* QSocketNotifier::d_func()': /usr/include/qt5/QtCore/qsocketnotifier.h:51:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 51 | Q_DECLARE_PRIVATE(QSocketNotifier) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsocketnotifier.h:51:5: note: mismatched types 'T*' and 'QScopedPointer' 51 | Q_DECLARE_PRIVATE(QSocketNotifier) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsocketnotifier.h: In member function 'const QSocketNotifierPrivate* QSocketNotifier::d_func() const': /usr/include/qt5/QtCore/qsocketnotifier.h:51:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 51 | Q_DECLARE_PRIVATE(QSocketNotifier) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsocketnotifier.h:51:5: note: mismatched types 'T*' and 'QScopedPointer' 51 | Q_DECLARE_PRIVATE(QSocketNotifier) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsortfilterproxymodel.h: At global scope: /usr/include/qt5/QtCore/qsortfilterproxymodel.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qsortfilterproxymodel.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:202, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qsortfilterproxymodel.h:79:54: error: 'nullptr' was not declared in this scope 79 | explicit QSortFilterProxyModel(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qsortfilterproxymodel.h: In member function 'QSortFilterProxyModelPrivate* QSortFilterProxyModel::d_func()': /usr/include/qt5/QtCore/qsortfilterproxymodel.h:189:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 189 | Q_DECLARE_PRIVATE(QSortFilterProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsortfilterproxymodel.h:189:5: note: mismatched types 'T*' and 'QScopedPointer' 189 | Q_DECLARE_PRIVATE(QSortFilterProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qsortfilterproxymodel.h: In member function 'const QSortFilterProxyModelPrivate* QSortFilterProxyModel::d_func() const': /usr/include/qt5/QtCore/qsortfilterproxymodel.h:189:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 189 | Q_DECLARE_PRIVATE(QSortFilterProxyModel) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qsortfilterproxymodel.h:189:5: note: mismatched types 'T*' and 'QScopedPointer' 189 | Q_DECLARE_PRIVATE(QSortFilterProxyModel) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstate.h: At global scope: /usr/include/qt5/QtCore/qstate.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qstate.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:207, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qstate.h:74:29: error: 'nullptr' was not declared in this scope 74 | QState(QState *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qstate.h:75:50: error: 'nullptr' was not declared in this scope 75 | QState(ChildMode childMode, QState *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstate.h: In member function 'QStatePrivate* QState::d_func()': /usr/include/qt5/QtCore/qstate.h:129:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 129 | Q_DECLARE_PRIVATE(QState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qstate.h:129:5: note: mismatched types 'T*' and 'QScopedPointer' 129 | Q_DECLARE_PRIVATE(QState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstate.h: In member function 'const QStatePrivate* QState::d_func() const': /usr/include/qt5/QtCore/qstate.h:129:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 129 | Q_DECLARE_PRIVATE(QState) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qstate.h:129:5: note: mismatched types 'T*' and 'QScopedPointer' 129 | Q_DECLARE_PRIVATE(QState) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstatemachine.h: At global scope: /usr/include/qt5/QtCore/qstatemachine.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qstatemachine.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:210, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qstatemachine.h:112:46: error: 'nullptr' was not declared in this scope 112 | explicit QStateMachine(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qstatemachine.h:113:75: error: 'nullptr' was not declared in this scope 113 | explicit QStateMachine(QState::ChildMode childMode, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstatemachine.h: In member function 'QStateMachinePrivate* QStateMachine::d_func()': /usr/include/qt5/QtCore/qstatemachine.h:175:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QStateMachine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qstatemachine.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QStateMachine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstatemachine.h: In member function 'const QStateMachinePrivate* QStateMachine::d_func() const': /usr/include/qt5/QtCore/qstatemachine.h:175:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 175 | Q_DECLARE_PRIVATE(QStateMachine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qstatemachine.h:175:5: note: mismatched types 'T*' and 'QScopedPointer' 175 | Q_DECLARE_PRIVATE(QStateMachine) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstorageinfo.h: At global scope: /usr/include/qt5/QtCore/qstorageinfo.h:118:1: error: 'is_integral' is not a member of 'std' 118 | Q_DECLARE_SHARED(QStorageInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstorageinfo.h:118:1: error: expected primary-expression before '>' token 118 | Q_DECLARE_SHARED(QStorageInfo) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstorageinfo.h:118:1: error: '::value' has not been declared 118 | Q_DECLARE_SHARED(QStorageInfo) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:215, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qstringbuilder.h: In static member function 'static int QConcatenable::size(QStringView)': /usr/include/qt5/QtCore/qstringbuilder.h:297:47: error: 'class QStringView' has no member named 'length' 297 | static int size(QStringView a) { return a.length(); } | ^~~~~~ /usr/include/qt5/QtCore/qstringbuilder.h: In static member function 'static void QConcatenable::appendTo(QStringView, QChar*&)': /usr/include/qt5/QtCore/qstringbuilder.h:300:20: error: 'n' does not name a type 300 | const auto n = a.size(); | ^ /usr/include/qt5/QtCore/qstringbuilder.h:301:23: error: 'class QStringView' has no member named 'data' 301 | memcpy(out, a.data(), sizeof(QChar) * n); | ^~~~ /usr/include/qt5/QtCore/qstringbuilder.h: In function 'QByteArray& QtStringBuilder::appendToByteArray(QByteArray&, const QStringBuilder&, QChar)': /usr/include/qt5/QtCore/qstringbuilder.h:468:28: error: 'class QString' has no member named 'toUtf8'; did you mean 'fromUtf8'? 468 | return a += QString(b).toUtf8(); | ^~~~~~ | fromUtf8 In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qstringlistmodel.h: At global scope: /usr/include/qt5/QtCore/qstringlistmodel.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qstringlistmodel.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:218, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qstringlistmodel.h:54:49: error: 'nullptr' was not declared in this scope 54 | explicit QStringListModel(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qstringlistmodel.h:55:77: error: 'nullptr' was not declared in this scope 55 | explicit QStringListModel(const QStringList &strings, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtemporaryfile.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qtemporaryfile.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtemporaryfile.h: In member function 'QTemporaryFilePrivate* QTemporaryFile::d_func()': /usr/include/qt5/QtCore/qtemporaryfile.h:63:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QTemporaryFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtemporaryfile.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QTemporaryFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtemporaryfile.h: In member function 'const QTemporaryFilePrivate* QTemporaryFile::d_func() const': /usr/include/qt5/QtCore/qtemporaryfile.h:63:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 63 | Q_DECLARE_PRIVATE(QTemporaryFile) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtemporaryfile.h:63:5: note: mismatched types 'T*' and 'QScopedPointer' 63 | Q_DECLARE_PRIVATE(QTemporaryFile) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:228, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtextboundaryfinder.h: At global scope: /usr/include/qt5/QtCore/qtextboundaryfinder.h:77:100: error: 'nullptr' was not declared in this scope 77 | QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer = nullptr, int bufferSize = 0); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:230, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtextcodec.h:113:75: error: 'nullptr' was not declared in this scope 113 | QString toUnicode(const char *in, int length, ConverterState *state = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qtextcodec.h:115:81: error: 'nullptr' was not declared in this scope 115 | QByteArray fromUnicode(const QChar *in, int length, ConverterState *state = nullptr) const | ^~~~~~~ /usr/include/qt5/QtCore/qtextcodec.h: In constructor 'QTextCodec::ConverterState::ConverterState(QTextCodec::ConversionFlags)': /usr/include/qt5/QtCore/qtextcodec.h:102:63: error: 'nullptr' was not declared in this scope 102 | : flags(f), remainingChars(0), invalidChars(0), d(nullptr) { state_data[0] = state_data[1] = state_data[2] = 0; } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qthreadpool.h: At global scope: /usr/include/qt5/QtCore/qthreadpool.h:95:5: error: expected unqualified-id before '[' token 95 | Q_REQUIRED_RESULT bool tryTake(QRunnable *runnable); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qthreadpool.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qthreadpool.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:235, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qthreadpool.h:65:35: error: 'nullptr' was not declared in this scope 65 | QThreadPool(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qthreadpool.h: In member function 'QThreadPoolPrivate* QThreadPool::d_func()': /usr/include/qt5/QtCore/qthreadpool.h:57:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QThreadPool) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthreadpool.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QThreadPool) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qthreadpool.h: In member function 'const QThreadPoolPrivate* QThreadPool::d_func() const': /usr/include/qt5/QtCore/qthreadpool.h:57:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 57 | Q_DECLARE_PRIVATE(QThreadPool) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qthreadpool.h:57:5: note: mismatched types 'T*' and 'QScopedPointer' 57 | Q_DECLARE_PRIVATE(QThreadPool) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtimeline.h: At global scope: /usr/include/qt5/QtCore/qtimeline.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qtimeline.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:238, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimeline.h:79:63: error: 'nullptr' was not declared in this scope 79 | explicit QTimeLine(int duration = 1000, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtimeline.h: In member function 'QTimeLinePrivate* QTimeLine::d_func()': /usr/include/qt5/QtCore/qtimeline.h:134:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 134 | Q_DECLARE_PRIVATE(QTimeLine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtimeline.h:134:5: note: mismatched types 'T*' and 'QScopedPointer' 134 | Q_DECLARE_PRIVATE(QTimeLine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimeline.h: In member function 'const QTimeLinePrivate* QTimeLine::d_func() const': /usr/include/qt5/QtCore/qtimeline.h:134:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 134 | Q_DECLARE_PRIVATE(QTimeLine) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtimeline.h:134:5: note: mismatched types 'T*' and 'QScopedPointer' 134 | Q_DECLARE_PRIVATE(QTimeLine) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:239, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimer.h: At global scope: /usr/include/qt5/QtCore/qtimer.h:127:33: error: 'enable_if' in namespace 'std' does not name a template type 127 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:127:42: error: expected unqualified-id before '<' token 127 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^ /usr/include/qt5/QtCore/qtimer.h:134:33: error: 'enable_if' in namespace 'std' does not name a template type 134 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:134:42: error: expected unqualified-id before '<' token 134 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^ /usr/include/qt5/QtCore/qtimer.h:142:33: error: 'enable_if' in namespace 'std' does not name a template type 142 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:142:42: error: expected unqualified-id before '<' token 142 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^ /usr/include/qt5/QtCore/qtimer.h:149:33: error: 'enable_if' in namespace 'std' does not name a template type 149 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:149:42: error: expected unqualified-id before '<' token 149 | static inline typename std::enable_if::IsPointerToMemberFunction && | ^ /usr/include/qt5/QtCore/qtimer.h:163:48: error: expected ',' or '...' before '&&' token 163 | QMetaObject::Connection callOnTimeout(Args && ...args) | ^~ /usr/include/qt5/QtCore/qtimer.h:163:58: error: parameter packs not expanded with '...': 163 | QMetaObject::Connection callOnTimeout(Args && ...args) | ^ /usr/include/qt5/QtCore/qtimer.h:163:58: note: 'Args' /usr/include/qt5/QtCore/qtimer.h:181:27: error: 'std::chrono' has not been declared 181 | void setInterval(std::chrono::milliseconds value) | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:181:48: error: expected ',' or '...' before 'value' 181 | void setInterval(std::chrono::milliseconds value) | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:181:10: error: 'void QTimer::setInterval(int)' cannot be overloaded with 'void QTimer::setInterval(int)' 181 | void setInterval(std::chrono::milliseconds value) | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:239, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimer.h:72:10: note: previous declaration 'void QTimer::setInterval(int)' 72 | void setInterval(int msec); | ^~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:239, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimer.h:186:10: error: 'chrono' in namespace 'std' does not name a type 186 | std::chrono::milliseconds intervalAsDuration() const | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:191:10: error: 'chrono' in namespace 'std' does not name a type 191 | std::chrono::milliseconds remainingTimeAsDuration() const | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:196:33: error: 'std::chrono' has not been declared 196 | static void singleShot(std::chrono::milliseconds value, const QObject *receiver, const char *member) | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:196:54: error: expected ',' or '...' before 'value' 196 | static void singleShot(std::chrono::milliseconds value, const QObject *receiver, const char *member) | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:201:33: error: 'std::chrono' has not been declared 201 | static void singleShot(std::chrono::milliseconds value, Qt::TimerType timerType, const QObject *receiver, const char *member) | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:201:54: error: expected ',' or '...' before 'value' 201 | static void singleShot(std::chrono::milliseconds value, Qt::TimerType timerType, const QObject *receiver, const char *member) | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:201:17: error: 'static void QTimer::singleShot(int)' cannot be overloaded with 'static void QTimer::singleShot(int)' 201 | static void singleShot(std::chrono::milliseconds value, Qt::TimerType timerType, const QObject *receiver, const char *member) | ^~~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:196:17: note: previous declaration 'static void QTimer::singleShot(int)' 196 | static void singleShot(std::chrono::milliseconds value, const QObject *receiver, const char *member) | ^~~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:206:21: error: 'std::chrono' has not been declared 206 | void start(std::chrono::milliseconds value) | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:206:42: error: expected ',' or '...' before 'value' 206 | void start(std::chrono::milliseconds value) | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:206:10: error: 'void QTimer::start(int)' cannot be overloaded with 'void QTimer::start(int)' 206 | void start(std::chrono::milliseconds value) | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:171:10: note: previous declaration 'void QTimer::start(int)' 171 | void start(int msec); | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:227:46: error: 'std::chrono' has not been declared 227 | static Qt::TimerType defaultTypeFor(std::chrono::milliseconds interval) | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:227:67: error: expected ',' or '...' before 'interval' 227 | static Qt::TimerType defaultTypeFor(std::chrono::milliseconds interval) | ^~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:227:26: error: 'static Qt::TimerType QTimer::defaultTypeFor(int)' cannot be overloaded with 'static Qt::TimerType QTimer::defaultTypeFor(int)' 227 | static Qt::TimerType defaultTypeFor(std::chrono::milliseconds interval) | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:221:43: note: previous declaration 'static Qt::TimerType QTimer::defaultTypeFor(int)' 221 | static Q_DECL_CONSTEXPR Qt::TimerType defaultTypeFor(int msecs) Q_DECL_NOTHROW | ^~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:230:37: error: 'std::chrono' has not been declared 230 | static void singleShotImpl(std::chrono::milliseconds interval, Qt::TimerType timerType, | ^~~~~~ /usr/include/qt5/QtCore/qtimer.h:230:58: error: expected ',' or '...' before 'interval' 230 | static void singleShotImpl(std::chrono::milliseconds interval, Qt::TimerType timerType, | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtimer.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qtimer.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:239, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimer.h:66:39: error: 'nullptr' was not declared in this scope 66 | explicit QTimer(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:239, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtimer.h: In member function 'QMetaObject::Connection QTimer::callOnTimeout()': /usr/include/qt5/QtCore/qtimer.h:165:62: error: 'forward' is not a member of 'std' 165 | return QObject::connect(this, &QTimer::timeout, std::forward(args)... ); | ^~~~~~~ /usr/include/qt5/QtCore/qtimer.h:165:62: note: 'std::forward' is only available from C++11 onwards /usr/include/qt5/QtCore/qtimer.h:165:74: error: expected primary-expression before '>' token 165 | return QObject::connect(this, &QTimer::timeout, std::forward(args)... ); | ^ /usr/include/qt5/QtCore/qtimer.h:165:76: error: 'args' was not declared in this scope; did you mean 'Args'? 165 | return QObject::connect(this, &QTimer::timeout, std::forward(args)... ); | ^~~~ | Args /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::setInterval(int)': /usr/include/qt5/QtCore/qtimer.h:183:25: error: 'value' was not declared in this scope 183 | setInterval(int(value.count())); | ^~~~~ /usr/include/qt5/QtCore/qtimer.h: In static member function 'static void QTimer::singleShot(int)': /usr/include/qt5/QtCore/qtimer.h:198:24: error: 'value' was not declared in this scope 198 | singleShot(int(value.count()), receiver, member); | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:198:40: error: 'receiver' was not declared in this scope; did you mean 'receivers'? 198 | singleShot(int(value.count()), receiver, member); | ^~~~~~~~ | receivers /usr/include/qt5/QtCore/qtimer.h:198:50: error: 'member' was not declared in this scope; did you mean 'memmem'? 198 | singleShot(int(value.count()), receiver, member); | ^~~~~~ | memmem /usr/include/qt5/QtCore/qtimer.h: In static member function 'static void QTimer::singleShot(int)': /usr/include/qt5/QtCore/qtimer.h:203:24: error: 'value' was not declared in this scope 203 | singleShot(int(value.count()), timerType, receiver, member); | ^~~~~ /usr/include/qt5/QtCore/qtimer.h:203:51: error: 'receiver' was not declared in this scope; did you mean 'receivers'? 203 | singleShot(int(value.count()), timerType, receiver, member); | ^~~~~~~~ | receivers /usr/include/qt5/QtCore/qtimer.h:203:61: error: 'member' was not declared in this scope; did you mean 'memmem'? 203 | singleShot(int(value.count()), timerType, receiver, member); | ^~~~~~ | memmem /usr/include/qt5/QtCore/qtimer.h: In member function 'void QTimer::start(int)': /usr/include/qt5/QtCore/qtimer.h:208:19: error: 'value' was not declared in this scope 208 | start(int(value.count())); | ^~~~~ /usr/include/qt5/QtCore/qtimer.h: In static member function 'static Qt::TimerType QTimer::defaultTypeFor(int)': /usr/include/qt5/QtCore/qtimer.h:228:33: error: invalid use of member function 'int QTimer::interval() const' (did you forget the '()' ?) 228 | { return defaultTypeFor(int(interval.count())); } | ^~~~~~~~ | () /usr/include/qt5/QtCore/qtimer.h: In static member function 'static void QTimer::singleShotImpl(int)': /usr/include/qt5/QtCore/qtimer.h:233:28: error: invalid use of member function 'int QTimer::interval() const' (did you forget the '()' ?) 233 | singleShotImpl(int(interval.count()), | ^~~~~~~~ | () /usr/include/qt5/QtCore/qtimer.h:234:35: error: 'receiver' was not declared in this scope; did you mean 'receivers'? 234 | timerType, receiver, slotObj); | ^~~~~~~~ | receivers /usr/include/qt5/QtCore/qtimer.h:234:45: error: 'slotObj' was not declared in this scope; did you mean 'slots'? 234 | timerType, receiver, slotObj); | ^~~~~~~ | slots In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtimezone.h: At global scope: /usr/include/qt5/QtCore/qtimezone.h:176:1: error: 'is_integral' is not a member of 'std' 176 | Q_DECLARE_TYPEINFO(QTimeZone::OffsetData, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimezone.h:176:1: error: expected primary-expression before '>' token 176 | Q_DECLARE_TYPEINFO(QTimeZone::OffsetData, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimezone.h:176:1: error: '::value' has not been declared 176 | Q_DECLARE_TYPEINFO(QTimeZone::OffsetData, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimezone.h:177:1: error: 'is_integral' is not a member of 'std' 177 | Q_DECLARE_SHARED(QTimeZone) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimezone.h:177:1: error: expected primary-expression before '>' token 177 | Q_DECLARE_SHARED(QTimeZone) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtimezone.h:177:1: error: '::value' has not been declared 177 | Q_DECLARE_SHARED(QTimeZone) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtranslator.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtCore/qtranslator.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtCore/QtCore:243, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtCore/qtranslator.h:58:44: error: 'nullptr' was not declared in this scope 58 | explicit QTranslator(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtCore/qtranslator.h:62:60: error: 'nullptr' was not declared in this scope 62 | const char *disambiguation = nullptr, int n = -1) const; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qtranslator.h: In member function 'QTranslatorPrivate* QTranslator::d_func()': /usr/include/qt5/QtCore/qtranslator.h:79:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 79 | Q_DECLARE_PRIVATE(QTranslator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtranslator.h:79:5: note: mismatched types 'T*' and 'QScopedPointer' 79 | Q_DECLARE_PRIVATE(QTranslator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qtranslator.h: In member function 'const QTranslatorPrivate* QTranslator::d_func() const': /usr/include/qt5/QtCore/qtranslator.h:79:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 79 | Q_DECLARE_PRIVATE(QTranslator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtCore/qtranslator.h:79:5: note: mismatched types 'T*' and 'QScopedPointer' 79 | Q_DECLARE_PRIVATE(QTranslator) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qurlquery.h: At global scope: /usr/include/qt5/QtCore/qurlquery.h:112:1: error: 'is_integral' is not a member of 'std' 112 | Q_DECLARE_SHARED(QUrlQuery) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurlquery.h:112:1: error: expected primary-expression before '>' token 112 | Q_DECLARE_SHARED(QUrlQuery) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qurlquery.h:112:1: error: '::value' has not been declared 112 | Q_DECLARE_SHARED(QUrlQuery) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:105, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvector2d.h:85:5: error: expected unqualified-id before '[' token 85 | Q_REQUIRED_RESULT QVector2D normalized() const; | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qvector2d.h:132:1: error: 'is_integral' is not a member of 'std' 132 | Q_DECLARE_TYPEINFO(QVector2D, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qvector2d.h:132:1: error: expected primary-expression before '>' token 132 | Q_DECLARE_TYPEINFO(QVector2D, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qvector2d.h:132:1: error: '::value' has not been declared 132 | Q_DECLARE_TYPEINFO(QVector2D, Q_PRIMITIVE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qevent.h:56, from /usr/include/qt5/QtGui/QWheelEvent:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtGui/qvector2d.h: In member function 'bool QVector2D::isNull() const': /usr/include/qt5/QtGui/qvector2d.h:144:12: error: 'qIsNull' was not declared in this scope 144 | return qIsNull(v[0]) && qIsNull(v[1]); | ^~~~~~~ /usr/include/qt5/QtGui/qvector2d.h: In function 'bool qFuzzyCompare(const QVector2D&, const QVector2D&)': /usr/include/qt5/QtGui/qvector2d.h:263:42: error: call of overloaded 'qFuzzyCompare(const float&, const float&)' is ambiguous 263 | return qFuzzyCompare(v1.v[0], v2.v[0]) && qFuzzyCompare(v1.v[1], v2.v[1]); | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qevent.h:56, from /usr/include/qt5/QtGui/QWheelEvent:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtGui/qvector2d.h:263:77: error: call of overloaded 'qFuzzyCompare(const float&, const float&)' is ambiguous 263 | return qFuzzyCompare(v1.v[0], v2.v[0]) && qFuzzyCompare(v1.v[1], v2.v[1]); | ^ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qmatrix.h:168:13: note: candidate: 'bool qFuzzyCompare(const QMatrix&, const QMatrix&)' 168 | inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/QPixmap:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/sound/AudioFileManager.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/src/document/RosegardenDocument.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/DV7UALDUNI/moc_RosegardenDocument.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:10: /usr/include/qt5/QtGui/qtransform.h:357:13: note: candidate: 'bool qFuzzyCompare(const QTransform&, const QTransform&)' 357 | inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2) | ^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qevent.h: At global scope: /usr/include/qt5/QtGui/qevent.h:581:1: error: 'is_integral' is not a member of 'std' 581 | Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:581:1: error: expected primary-expression before '>' token 581 | Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:581:1: error: '::value' has not been declared 581 | Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:602:1: error: 'is_integral' is not a member of 'std' 602 | Q_DECLARE_TYPEINFO(QInputMethodQueryEvent::QueryPair, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:602:1: error: expected primary-expression before '>' token 602 | Q_DECLARE_TYPEINFO(QInputMethodQueryEvent::QueryPair, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:602:1: error: '::value' has not been declared 602 | Q_DECLARE_TYPEINFO(QInputMethodQueryEvent::QueryPair, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QWheelEvent:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtGui/qevent.h:732:63: error: 'nullptr' was not declared in this scope 732 | QActionEvent(int type, QAction *action, QAction *before = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qevent.h:829:1: error: 'is_integral' is not a member of 'std' 829 | Q_DECLARE_TYPEINFO(QPointingDeviceUniqueId, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:829:1: error: expected primary-expression before '>' token 829 | Q_DECLARE_TYPEINFO(QPointingDeviceUniqueId, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:829:1: error: '::value' has not been declared 829 | Q_DECLARE_TYPEINFO(QPointingDeviceUniqueId, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QWheelEvent:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h:18, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/include/qt5/QtGui/qevent.h:950:49: error: 'nullptr' was not declared in this scope 950 | QTouchDevice *device = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtGui/qevent.h:987:1: error: 'is_integral' is not a member of 'std' 987 | Q_DECLARE_TYPEINFO(QTouchEvent::TouchPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:987:1: error: expected primary-expression before '>' token 987 | Q_DECLARE_TYPEINFO(QTouchEvent::TouchPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtGui/qevent.h:987:1: error: '::value' has not been declared 987 | Q_DECLARE_TYPEINFO(QTouchEvent::TouchPoint, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Label.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:29, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h: In member function 'void Ui_RosegardenTransport::retranslateUi(QFrame*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_RosegardenTransportUi.h:1041:133: error: 'nullptr' was not declared in this scope 1041 | RosegardenTransport->setProperty("caption", QVariant(QApplication::translate("RosegardenTransport", "Rosegarden Transport", nullptr))); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TransportDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:82: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In static member function 'static void Rosegarden::TransportDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:181:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 181 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:181:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 181 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:181:20: error: cannot convert 'Rosegarden::TransportDialog*' to 'int*' in initialization 181 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TransportDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:184:21: error: request for member 'closed' in '* _t', which is of non-class type 'int' 184 | case 0: _t->closed(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:185:21: error: request for member 'setLoop' in '* _t', which is of non-class type 'int' 185 | case 1: _t->setLoop(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:186:21: error: request for member 'unsetLoop' in '* _t', which is of non-class type 'int' 186 | case 2: _t->unsetLoop(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:187:21: error: request for member 'setLoopStartTime' in '* _t', which is of non-class type 'int' 187 | case 3: _t->setLoopStartTime(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:188:21: error: request for member 'setLoopStopTime' in '* _t', which is of non-class type 'int' 188 | case 4: _t->setLoopStopTime(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:189:21: error: request for member 'editTempo' in '* _t', which is of non-class type 'int' 189 | case 5: _t->editTempo((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:190:21: error: request for member 'editTimeSignature' in '* _t', which is of non-class type 'int' 190 | case 6: _t->editTimeSignature((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:191:21: error: request for member 'editTransportTime' in '* _t', which is of non-class type 'int' 191 | case 7: _t->editTransportTime((*reinterpret_cast< QWidget*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:192:21: error: request for member 'scrollTempo' in '* _t', which is of non-class type 'int' 192 | case 8: _t->scrollTempo((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:193:21: error: request for member 'panic' in '* _t', which is of non-class type 'int' 193 | case 9: _t->panic(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:194:22: error: request for member 'slotClearMidiInLabel' in '* _t', which is of non-class type 'int' 194 | case 10: _t->slotClearMidiInLabel(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:195:22: error: request for member 'slotClearMidiOutLabel' in '* _t', which is of non-class type 'int' 195 | case 11: _t->slotClearMidiOutLabel(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:196:22: error: request for member 'slotChangeTimeDisplay' in '* _t', which is of non-class type 'int' 196 | case 12: _t->slotChangeTimeDisplay(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:197:22: error: request for member 'slotChangeToEnd' in '* _t', which is of non-class type 'int' 197 | case 13: _t->slotChangeToEnd(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:198:22: error: request for member 'slotLoopButtonClicked' in '* _t', which is of non-class type 'int' 198 | case 14: _t->slotLoopButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:199:22: error: request for member 'slotPanelOpenButtonClicked' in '* _t', which is of non-class type 'int' 199 | case 15: _t->slotPanelOpenButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:200:22: error: request for member 'slotPanelCloseButtonClicked' in '* _t', which is of non-class type 'int' 200 | case 16: _t->slotPanelCloseButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:201:22: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 201 | case 17: _t->slotEditTempo(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:202:22: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 202 | case 18: _t->slotEditTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:203:22: error: request for member 'slotEditTime' in '* _t', which is of non-class type 'int' 203 | case 19: _t->slotEditTime(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:204:22: error: request for member 'setBackgroundColor' in '* _t', which is of non-class type 'int' 204 | case 20: _t->setBackgroundColor((*reinterpret_cast< QColor(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:205:22: error: request for member 'slotResetBackground' in '* _t', which is of non-class type 'int' 205 | case 21: _t->slotResetBackground(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:206:22: error: request for member 'slotSetStartLoopingPointAtMarkerPos' in '* _t', which is of non-class type 'int' 206 | case 22: _t->slotSetStartLoopingPointAtMarkerPos(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:207:22: error: request for member 'slotSetStopLoopingPointAtMarkerPos' in '* _t', which is of non-class type 'int' 207 | case 23: _t->slotSetStopLoopingPointAtMarkerPos(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:208:22: error: request for member 'slotTempoChanged' in '* _t', which is of non-class type 'int' 208 | case 24: _t->slotTempoChanged((*reinterpret_cast< tempoT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:209:22: error: request for member 'slotMidiInLabel' in '* _t', which is of non-class type 'int' 209 | case 25: _t->slotMidiInLabel((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:210:22: error: request for member 'slotMidiOutLabel' in '* _t', which is of non-class type 'int' 210 | case 26: _t->slotMidiOutLabel((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:211:22: error: request for member 'slotPlaying' in '* _t', which is of non-class type 'int' 211 | case 27: _t->slotPlaying((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:212:22: error: request for member 'slotRecording' in '* _t', which is of non-class type 'int' 212 | case 28: _t->slotRecording((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:213:22: error: request for member 'slotMetronomeActivated' in '* _t', which is of non-class type 'int' 213 | case 29: _t->slotMetronomeActivated((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:244:19: error: expected nested-name-specifier before '_t' 244 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:35: error: '_t' does not name a type; did you mean 'Qt'? 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:38: error: expected '>' before '*' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:38: error: expected '(' before '*' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:39: error: expected primary-expression before '>' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:63: error: '_t' does not name a type; did you mean 'Qt'? 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:245:93: error: expected ')' before '{' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::closed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:249:9: error: expected primary-expression before '}' token 249 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:251:19: error: expected nested-name-specifier before '_t' 251 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:35: error: '_t' does not name a type; did you mean 'Qt'? 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:38: error: expected '>' before '*' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:38: error: expected '(' before '*' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:39: error: expected primary-expression before '>' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:63: error: '_t' does not name a type; did you mean 'Qt'? 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:252:94: error: expected ')' before '{' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:256:9: error: expected primary-expression before '}' token 256 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:258:19: error: expected nested-name-specifier before '_t' 258 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:35: error: '_t' does not name a type; did you mean 'Qt'? 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:38: error: expected '>' before '*' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:38: error: expected '(' before '*' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:39: error: expected primary-expression before '>' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:63: error: '_t' does not name a type; did you mean 'Qt'? 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:259:96: error: expected ')' before '{' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::unsetLoop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:263:9: error: expected primary-expression before '}' token 263 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:265:19: error: expected nested-name-specifier before '_t' 265 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:35: error: '_t' does not name a type; did you mean 'Qt'? 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:38: error: expected '>' before '*' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:38: error: expected '(' before '*' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:39: error: expected primary-expression before '>' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:63: error: '_t' does not name a type; did you mean 'Qt'? 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:266:103: error: expected ')' before '{' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStartTime)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:270:9: error: expected primary-expression before '}' token 270 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:272:19: error: expected nested-name-specifier before '_t' 272 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:35: error: '_t' does not name a type; did you mean 'Qt'? 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:38: error: expected '>' before '*' token 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:38: error: expected '(' before '*' token 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:39: error: expected primary-expression before '>' token 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:63: error: '_t' does not name a type; did you mean 'Qt'? 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:273:102: error: expected ')' before '{' token 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::setLoopStopTime)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:277:9: error: expected primary-expression before '}' token 277 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:279:19: error: expected nested-name-specifier before '_t' 279 | using _t = void (TransportDialog::*)(QWidget * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:35: error: '_t' does not name a type; did you mean 'Qt'? 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:38: error: expected '>' before '*' token 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:38: error: expected '(' before '*' token 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:39: error: expected primary-expression before '>' token 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:63: error: '_t' does not name a type; did you mean 'Qt'? 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:280:96: error: expected ')' before '{' token 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTempo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:284:9: error: expected primary-expression before '}' token 284 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:286:19: error: expected nested-name-specifier before '_t' 286 | using _t = void (TransportDialog::*)(QWidget * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:35: error: '_t' does not name a type; did you mean 'Qt'? 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:38: error: expected '>' before '*' token 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:38: error: expected '(' before '*' token 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:39: error: expected primary-expression before '>' token 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:63: error: '_t' does not name a type; did you mean 'Qt'? 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:287:104: error: expected ')' before '{' token 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTimeSignature)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:291:9: error: expected primary-expression before '}' token 291 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:293:19: error: expected nested-name-specifier before '_t' 293 | using _t = void (TransportDialog::*)(QWidget * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:35: error: '_t' does not name a type; did you mean 'Qt'? 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:38: error: expected '>' before '*' token 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:38: error: expected '(' before '*' token 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:39: error: expected primary-expression before '>' token 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:63: error: '_t' does not name a type; did you mean 'Qt'? 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:294:104: error: expected ')' before '{' token 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::editTransportTime)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:298:9: error: expected primary-expression before '}' token 298 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:300:19: error: expected nested-name-specifier before '_t' 300 | using _t = void (TransportDialog::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:35: error: '_t' does not name a type; did you mean 'Qt'? 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:38: error: expected '>' before '*' token 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:38: error: expected '(' before '*' token 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:39: error: expected primary-expression before '>' token 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:63: error: '_t' does not name a type; did you mean 'Qt'? 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:301:98: error: expected ')' before '{' token 301 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::scrollTempo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:305:9: error: expected primary-expression before '}' token 305 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:307:19: error: expected nested-name-specifier before '_t' 307 | using _t = void (TransportDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:35: error: '_t' does not name a type; did you mean 'Qt'? 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:38: error: expected '>' before '*' token 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:38: error: expected '(' before '*' token 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:39: error: expected primary-expression before '>' token 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:63: error: '_t' does not name a type; did you mean 'Qt'? 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:308:92: error: expected ')' before '{' token 308 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransportDialog::panic)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:312:9: error: expected primary-expression before '}' token 312 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:242:14: warning: unused variable 'result' [-Wunused-variable] 242 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:321:5: error: 'nullptr' was not declared in this scope 321 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:322:5: error: 'nullptr' was not declared in this scope 322 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'virtual void* Rosegarden::TransportDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:333:26: error: 'nullptr' was not declared in this scope 333 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::closed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:359:55: error: 'nullptr' was not declared in this scope 359 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::setLoop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:365:55: error: 'nullptr' was not declared in this scope 365 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::unsetLoop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:371:55: error: 'nullptr' was not declared in this scope 371 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::setLoopStartTime()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:377:55: error: 'nullptr' was not declared in this scope 377 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::setLoopStopTime()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:383:55: error: 'nullptr' was not declared in this scope 383 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::editTempo(QWidget*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:389:20: error: 'nullptr' was not declared in this scope 389 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::editTimeSignature(QWidget*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:396:20: error: 'nullptr' was not declared in this scope 396 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::editTransportTime(QWidget*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:403:20: error: 'nullptr' was not declared in this scope 403 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::scrollTempo(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:410:20: error: 'nullptr' was not declared in this scope 410 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp: In member function 'void Rosegarden::TransportDialog::panic()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TransportDialog.cpp:417:55: error: 'nullptr' was not declared in this scope 417 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TriggerSegmentDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TriggerSegmentDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TriggerSegmentDialog.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:83: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp: In static member function 'static void Rosegarden::TriggerSegmentDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:69:20: error: cannot convert 'Rosegarden::TriggerSegmentDialog*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TriggerSegmentDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:72:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 72 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp: In member function 'virtual void* Rosegarden::TriggerSegmentDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TriggerSegmentDialog.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TupletDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TupletDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/TupletDialog.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:84: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp: In static member function 'static void Rosegarden::TupletDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:82:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 82 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:82:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 82 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:82:20: error: cannot convert 'Rosegarden::TupletDialog*' to 'int*' in initialization 82 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TupletDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:85:21: error: request for member 'slotUnitChanged' in '* _t', which is of non-class type 'int' 85 | case 0: _t->slotUnitChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:86:21: error: request for member 'slotUntupledChanged' in '* _t', which is of non-class type 'int' 86 | case 1: _t->slotUntupledChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:87:21: error: request for member 'slotTupledChanged' in '* _t', which is of non-class type 'int' 87 | case 2: _t->slotTupledChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:88:21: error: request for member 'slotHasTimingChanged' in '* _t', which is of non-class type 'int' 88 | case 3: _t->slotHasTimingChanged(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:89:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 89 | case 4: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp: In member function 'virtual void* Rosegarden::TupletDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_TupletDialog.cpp:112:26: error: 'nullptr' was not declared in this scope 112 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/UseOrnamentDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/UseOrnamentDialog.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/dialogs/UseOrnamentDialog.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:85: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp: In static member function 'static void Rosegarden::UseOrnamentDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:72:20: error: cannot convert 'Rosegarden::UseOrnamentDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::UseOrnamentDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:75:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 75 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:76:21: error: request for member 'slotMarkChanged' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotMarkChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp: In member function 'virtual void* Rosegarden::UseOrnamentDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/SX4JZQ6BRK/moc_UseOrnamentDialog.cpp:99:26: error: 'nullptr' was not declared in this scope 99 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:86: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp: In static member function 'static void Rosegarden::EventView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:181:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 181 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:181:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 181 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:181:20: error: cannot convert 'Rosegarden::EventView*' to 'int*' in initialization 181 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EventView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:184:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 184 | case 0: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:185:21: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 185 | case 1: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:186:21: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 186 | case 2: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:187:21: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 187 | case 3: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:188:21: error: request for member 'slotEditDelete' in '* _t', which is of non-class type 'int' 188 | case 4: _t->slotEditDelete(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:189:21: error: request for member 'slotEditInsert' in '* _t', which is of non-class type 'int' 189 | case 5: _t->slotEditInsert(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:190:21: error: request for member 'slotEditEvent' in '* _t', which is of non-class type 'int' 190 | case 6: _t->slotEditEvent(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:191:21: error: request for member 'slotEditEventAdvanced' in '* _t', which is of non-class type 'int' 191 | case 7: _t->slotEditEventAdvanced(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:192:21: error: request for member 'slotSelectAll' in '* _t', which is of non-class type 'int' 192 | case 8: _t->slotSelectAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:193:21: error: request for member 'slotClearSelection' in '* _t', which is of non-class type 'int' 193 | case 9: _t->slotClearSelection(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:194:22: error: request for member 'slotMusicalTime' in '* _t', which is of non-class type 'int' 194 | case 10: _t->slotMusicalTime(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:195:22: error: request for member 'slotRealTime' in '* _t', which is of non-class type 'int' 195 | case 11: _t->slotRealTime(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:196:22: error: request for member 'slotRawTime' in '* _t', which is of non-class type 'int' 196 | case 12: _t->slotRawTime(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:197:22: error: request for member 'slotPopupMenu' in '* _t', which is of non-class type 'int' 197 | case 13: _t->slotPopupMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:198:22: error: request for member 'slotMenuActivated' in '* _t', which is of non-class type 'int' 198 | case 14: _t->slotMenuActivated((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:199:22: error: request for member 'slotPopupEventEditor' in '* _t', which is of non-class type 'int' 199 | case 15: _t->slotPopupEventEditor((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:86: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:200:22: error: request for member 'slotModifyFilter' in '* _t', which is of non-class type 'int' 200 | case 16: _t->slotModifyFilter(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:201:22: error: request for member 'eventAdded' in '* _t', which is of non-class type 'int' 201 | case 17: _t->eventAdded((*reinterpret_cast< const Segment*(*)>(_a[1])),(*reinterpret_cast< Event*(*)>(_a[2]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:202:22: error: request for member 'eventRemoved' in '* _t', which is of non-class type 'int' 202 | case 18: _t->eventRemoved((*reinterpret_cast< const Segment*(*)>(_a[1])),(*reinterpret_cast< Event*(*)>(_a[2]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:203:22: error: request for member 'endMarkerTimeChanged' in '* _t', which is of non-class type 'int' 203 | case 19: _t->endMarkerTimeChanged((*reinterpret_cast< const Segment*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:204:22: error: request for member 'segmentDeleted' in '* _t', which is of non-class type 'int' 204 | case 20: _t->segmentDeleted((*reinterpret_cast< const Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:205:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 205 | case 21: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:206:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 206 | case 22: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:207:22: error: request for member 'slotSaveOptions' in '* _t', which is of non-class type 'int' 207 | case 23: _t->slotSaveOptions(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:208:22: error: request for member 'slotEditTriggerName' in '* _t', which is of non-class type 'int' 208 | case 24: _t->slotEditTriggerName(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:209:22: error: request for member 'slotEditTriggerPitch' in '* _t', which is of non-class type 'int' 209 | case 25: _t->slotEditTriggerPitch(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:210:22: error: request for member 'slotEditTriggerVelocity' in '* _t', which is of non-class type 'int' 210 | case 26: _t->slotEditTriggerVelocity(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:211:22: error: request for member 'slotTriggerTimeAdjustChanged' in '* _t', which is of non-class type 'int' 211 | case 27: _t->slotTriggerTimeAdjustChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:212:22: error: request for member 'slotTriggerRetuneChanged' in '* _t', which is of non-class type 'int' 212 | case 28: _t->slotTriggerRetuneChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:213:22: error: request for member 'updateWindowTitle' in '* _t', which is of non-class type 'int' 213 | case 29: _t->updateWindowTitle((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:214:22: error: request for member 'updateWindowTitle' in '* _t', which is of non-class type 'int' 214 | case 30: _t->updateWindowTitle(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:220:19: error: expected nested-name-specifier before '_t' 220 | using _t = void (EventView::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:35: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:38: error: expected '>' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:38: error: expected '(' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:39: error: expected primary-expression before '>' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:63: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:221:99: error: expected ')' before '{' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventView::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:225:9: error: expected primary-expression before '}' token 225 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:218:14: warning: unused variable 'result' [-Wunused-variable] 218 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:234:5: error: 'nullptr' was not declared in this scope 234 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:235:5: error: 'nullptr' was not declared in this scope 235 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp: In member function 'virtual void* Rosegarden::EventView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:246:26: error: 'nullptr' was not declared in this scope 246 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp: In member function 'void Rosegarden::EventView::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/HRM3UXEAKL/moc_EventView.cpp:274:20: error: 'nullptr' was not declared in this scope 274 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QCoreApplication:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:28, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/Fingering.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/Fingering.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Fingering) | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/Fingering.h:35:5: error: 'nullptr' was not declared in this scope 35 | Q_DECLARE_TR_FUNCTIONS(Rosegarden::Fingering) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/GuitarChordEditorDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/GuitarChordEditorDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:87: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp: In static member function 'static void Rosegarden::GuitarChordEditorDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:72:20: error: cannot convert 'Rosegarden::GuitarChordEditorDialog*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::GuitarChordEditorDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:75:21: error: request for member 'slotStartFretChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotStartFretChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:76:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 76 | case 1: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp: In member function 'virtual void* Rosegarden::GuitarChordEditorDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordEditorDialog.cpp:99:26: error: 'nullptr' was not declared in this scope 99 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/GuitarChordSelectorDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/GuitarChordSelectorDialog.h:41:6: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/guitar/GuitarChordSelectorDialog.h:41:6: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:88: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp: In static member function 'static void Rosegarden::GuitarChordSelectorDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:97:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 97 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:97:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 97 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:97:20: error: cannot convert 'Rosegarden::GuitarChordSelectorDialog*' to 'int*' in initialization 97 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::GuitarChordSelectorDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:100:21: error: request for member 'slotRootHighlighted' in '* _t', which is of non-class type 'int' 100 | case 0: _t->slotRootHighlighted((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:101:21: error: request for member 'slotChordExtHighlighted' in '* _t', which is of non-class type 'int' 101 | case 1: _t->slotChordExtHighlighted((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:102:21: error: request for member 'slotFingeringHighlighted' in '* _t', which is of non-class type 'int' 102 | case 2: _t->slotFingeringHighlighted((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:103:21: error: request for member 'slotFingeringHighlighted' in '* _t', which is of non-class type 'int' 103 | case 3: _t->slotFingeringHighlighted((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:104:21: error: request for member 'slotComplexityChanged' in '* _t', which is of non-class type 'int' 104 | case 4: _t->slotComplexityChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:105:21: error: request for member 'slotNewFingering' in '* _t', which is of non-class type 'int' 105 | case 5: _t->slotNewFingering(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:106:21: error: request for member 'slotDeleteFingering' in '* _t', which is of non-class type 'int' 106 | case 6: _t->slotDeleteFingering(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:107:21: error: request for member 'slotEditFingering' in '* _t', which is of non-class type 'int' 107 | case 7: _t->slotEditFingering(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:108:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 108 | case 8: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:119:5: error: 'nullptr' was not declared in this scope 119 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:120:5: error: 'nullptr' was not declared in this scope 120 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp: In member function 'virtual void* Rosegarden::GuitarChordSelectorDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WFQOKPZUST/moc_GuitarChordSelectorDialog.cpp:131:26: error: 'nullptr' was not declared in this scope 131 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseTool.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseTool.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseTool.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixTool.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixTool.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixEraser.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixEraser.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:89: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixEraser.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixEraser.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixEraser.cpp: In member function 'virtual void* Rosegarden::MatrixEraser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixEraser.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixMover.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixMover.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixMover.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:90: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp: In static member function 'static void Rosegarden::MatrixMover::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:73:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 73 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:73:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 73 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:73:20: error: cannot convert 'Rosegarden::MatrixMover*' to 'int*' in initialization 73 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixMover* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:76:21: error: request for member 'hoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 76 | case 0: _t->hoveredOverNoteChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< timeT(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:90: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:82:19: error: expected nested-name-specifier before '_t' 82 | using _t = void (MatrixMover::*)(int , bool , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:35: error: '_t' does not name a type; did you mean 'Qt'? 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:38: error: expected '>' before '*' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:38: error: expected '(' before '*' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:39: error: expected primary-expression before '>' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:63: error: '_t' does not name a type; did you mean 'Qt'? 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:83:105: error: expected ')' before '{' token 83 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixMover::hoveredOverNoteChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:87:9: error: expected primary-expression before '}' token 87 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:80:14: warning: unused variable 'result' [-Wunused-variable] 80 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:96:5: error: 'nullptr' was not declared in this scope 96 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:97:5: error: 'nullptr' was not declared in this scope 97 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp: In member function 'virtual void* Rosegarden::MatrixMover::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:108:26: error: 'nullptr' was not declared in this scope 108 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp: In member function 'void Rosegarden::MatrixMover::hoveredOverNoteChanged(int, bool, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixMover.cpp:134:20: error: 'nullptr' was not declared in this scope 134 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixPainter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixPainter.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixPainter.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:91: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp: In static member function 'static void Rosegarden::MatrixPainter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:76:20: error: cannot convert 'Rosegarden::MatrixPainter*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixPainter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:79:21: error: request for member 'handleEventRemoved' in '* _t', which is of non-class type 'int' 79 | case 0: _t->handleEventRemoved((*reinterpret_cast< Event*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:80:21: error: request for member 'slotMatrixScrolled' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotMatrixScrolled((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:91:5: error: 'nullptr' was not declared in this scope 91 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp: In member function 'virtual void* Rosegarden::MatrixPainter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixPainter.cpp:103:26: error: 'nullptr' was not declared in this scope 103 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixResizer.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixResizer.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixResizer.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:92: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixResizer.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixResizer.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixResizer.cpp: In member function 'virtual void* Rosegarden::MatrixResizer::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixResizer.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixScene.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixScene.h:75:5: error: 'nullptr' was not declared in this scope 75 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixScene.h:75:5: error: 'nullptr' was not declared in this scope 75 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:93: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In static member function 'static void Rosegarden::MatrixScene::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:116:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 116 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:116:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 116 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:116:20: error: cannot convert 'Rosegarden::MatrixScene*' to 'int*' in initialization 116 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixScene* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:119:21: error: request for member 'mousePressed' in '* _t', which is of non-class type 'int' 119 | case 0: _t->mousePressed((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:120:21: error: request for member 'mouseMoved' in '* _t', which is of non-class type 'int' 120 | case 1: _t->mouseMoved((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:121:21: error: request for member 'mouseReleased' in '* _t', which is of non-class type 'int' 121 | case 2: _t->mouseReleased((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:122:21: error: request for member 'mouseDoubleClicked' in '* _t', which is of non-class type 'int' 122 | case 3: _t->mouseDoubleClicked((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:123:21: error: request for member 'eventRemoved' in '* _t', which is of non-class type 'int' 123 | case 4: _t->eventRemoved((*reinterpret_cast< Event*(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:124:21: error: request for member 'currentViewSegmentChanged' in '* _t', which is of non-class type 'int' 124 | case 5: _t->currentViewSegmentChanged((*reinterpret_cast< ViewSegment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:125:21: error: request for member 'selectionChanged' in '* _t', which is of non-class type 'int' 125 | case 6: _t->selectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:126:21: error: request for member 'segmentDeleted' in '* _t', which is of non-class type 'int' 126 | case 7: _t->segmentDeleted((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:127:21: error: request for member 'sceneDeleted' in '* _t', which is of non-class type 'int' 127 | case 8: _t->sceneDeleted(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:128:21: error: request for member 'slotRulerSelectionChanged' in '* _t', which is of non-class type 'int' 128 | case 9: _t->slotRulerSelectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:129:22: error: request for member 'slotCommandExecuted' in '* _t', which is of non-class type 'int' 129 | case 10: _t->slotCommandExecuted(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:146:19: error: expected nested-name-specifier before '_t' 146 | using _t = void (MatrixScene::*)(const MatrixMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:35: error: '_t' does not name a type; did you mean 'Qt'? 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:38: error: expected '>' before '*' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:38: error: expected '(' before '*' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:39: error: expected primary-expression before '>' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:63: error: '_t' does not name a type; did you mean 'Qt'? 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:147:95: error: expected ')' before '{' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mousePressed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:151:9: error: expected primary-expression before '}' token 151 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:153:19: error: expected nested-name-specifier before '_t' 153 | using _t = void (MatrixScene::*)(const MatrixMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:35: error: '_t' does not name a type; did you mean 'Qt'? 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:38: error: expected '>' before '*' token 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:38: error: expected '(' before '*' token 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:39: error: expected primary-expression before '>' token 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:63: error: '_t' does not name a type; did you mean 'Qt'? 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:154:93: error: expected ')' before '{' token 154 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseMoved)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:158:9: error: expected primary-expression before '}' token 158 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:160:19: error: expected nested-name-specifier before '_t' 160 | using _t = void (MatrixScene::*)(const MatrixMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:35: error: '_t' does not name a type; did you mean 'Qt'? 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:38: error: expected '>' before '*' token 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:38: error: expected '(' before '*' token 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:39: error: expected primary-expression before '>' token 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:63: error: '_t' does not name a type; did you mean 'Qt'? 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:161:96: error: expected ')' before '{' token 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseReleased)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:165:9: error: expected primary-expression before '}' token 165 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:167:19: error: expected nested-name-specifier before '_t' 167 | using _t = void (MatrixScene::*)(const MatrixMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:35: error: '_t' does not name a type; did you mean 'Qt'? 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:38: error: expected '>' before '*' token 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:38: error: expected '(' before '*' token 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:39: error: expected primary-expression before '>' token 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:63: error: '_t' does not name a type; did you mean 'Qt'? 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:168:101: error: expected ')' before '{' token 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::mouseDoubleClicked)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:172:9: error: expected primary-expression before '}' token 172 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:174:19: error: expected nested-name-specifier before '_t' 174 | using _t = void (MatrixScene::*)(Event * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:35: error: '_t' does not name a type; did you mean 'Qt'? 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:38: error: expected '>' before '*' token 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:38: error: expected '(' before '*' token 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:39: error: expected primary-expression before '>' token 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:63: error: '_t' does not name a type; did you mean 'Qt'? 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:175:95: error: expected ')' before '{' token 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::eventRemoved)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:179:9: error: expected primary-expression before '}' token 179 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:181:19: error: expected nested-name-specifier before '_t' 181 | using _t = void (MatrixScene::*)(ViewSegment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:35: error: '_t' does not name a type; did you mean 'Qt'? 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:38: error: expected '>' before '*' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:38: error: expected '(' before '*' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:39: error: expected primary-expression before '>' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:63: error: '_t' does not name a type; did you mean 'Qt'? 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:182:108: error: expected ')' before '{' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::currentViewSegmentChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:186:9: error: expected primary-expression before '}' token 186 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:188:19: error: expected nested-name-specifier before '_t' 188 | using _t = void (MatrixScene::*)(EventSelection * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:35: error: '_t' does not name a type; did you mean 'Qt'? 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:38: error: expected '>' before '*' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:38: error: expected '(' before '*' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:39: error: expected primary-expression before '>' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:63: error: '_t' does not name a type; did you mean 'Qt'? 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:189:99: error: expected ')' before '{' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::selectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:193:9: error: expected primary-expression before '}' token 193 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:195:19: error: expected nested-name-specifier before '_t' 195 | using _t = void (MatrixScene::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:35: error: '_t' does not name a type; did you mean 'Qt'? 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:38: error: expected '>' before '*' token 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:38: error: expected '(' before '*' token 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:39: error: expected primary-expression before '>' token 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:63: error: '_t' does not name a type; did you mean 'Qt'? 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:196:97: error: expected ')' before '{' token 196 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::segmentDeleted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:200:9: error: expected primary-expression before '}' token 200 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:202:19: error: expected nested-name-specifier before '_t' 202 | using _t = void (MatrixScene::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:35: error: '_t' does not name a type; did you mean 'Qt'? 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:38: error: expected '>' before '*' token 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:38: error: expected '(' before '*' token 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:39: error: expected primary-expression before '>' token 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:63: error: '_t' does not name a type; did you mean 'Qt'? 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:203:95: error: expected ')' before '{' token 203 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixScene::sceneDeleted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:207:9: error: expected primary-expression before '}' token 207 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:144:14: warning: unused variable 'result' [-Wunused-variable] 144 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:216:5: error: 'nullptr' was not declared in this scope 216 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:217:5: error: 'nullptr' was not declared in this scope 217 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'virtual void* Rosegarden::MatrixScene::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:228:26: error: 'nullptr' was not declared in this scope 228 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::mousePressed(const Rosegarden::MatrixMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:258:20: error: 'nullptr' was not declared in this scope 258 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::mouseMoved(const Rosegarden::MatrixMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:265:20: error: 'nullptr' was not declared in this scope 265 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::mouseReleased(const Rosegarden::MatrixMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:272:20: error: 'nullptr' was not declared in this scope 272 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::mouseDoubleClicked(const Rosegarden::MatrixMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:279:20: error: 'nullptr' was not declared in this scope 279 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::eventRemoved(Rosegarden::Event*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:286:20: error: 'nullptr' was not declared in this scope 286 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::currentViewSegmentChanged(Rosegarden::ViewSegment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:293:20: error: 'nullptr' was not declared in this scope 293 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::selectionChanged(Rosegarden::EventSelection*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:300:20: error: 'nullptr' was not declared in this scope 300 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::segmentDeleted(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:307:20: error: 'nullptr' was not declared in this scope 307 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp: In member function 'void Rosegarden::MatrixScene::sceneDeleted()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixScene.cpp:314:55: error: 'nullptr' was not declared in this scope 314 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixSelector.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixSelector.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixSelector.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:94: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp: In static member function 'static void Rosegarden::MatrixSelector::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:94:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 94 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:94:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 94 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:94:20: error: cannot convert 'Rosegarden::MatrixSelector*' to 'int*' in initialization 94 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixSelector* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:97:21: error: request for member 'gotSelection' in '* _t', which is of non-class type 'int' 97 | case 0: _t->gotSelection(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:98:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 98 | case 1: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:99:21: error: request for member 'slotHideSelection' in '* _t', which is of non-class type 'int' 99 | case 2: _t->slotHideSelection(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:100:21: error: request for member 'slotClickTimeout' in '* _t', which is of non-class type 'int' 100 | case 3: _t->slotClickTimeout(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:101:21: error: request for member 'handleEventRemoved' in '* _t', which is of non-class type 'int' 101 | case 4: _t->handleEventRemoved((*reinterpret_cast< Event*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:102:21: error: request for member 'slotMatrixScrolled' in '* _t', which is of non-class type 'int' 102 | case 5: _t->slotMatrixScrolled((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:108:19: error: expected nested-name-specifier before '_t' 108 | using _t = void (MatrixSelector::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:35: error: '_t' does not name a type; did you mean 'Qt'? 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:38: error: expected '>' before '*' token 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:38: error: expected '(' before '*' token 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:39: error: expected primary-expression before '>' token 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:63: error: '_t' does not name a type; did you mean 'Qt'? 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:109:98: error: expected ')' before '{' token 109 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::gotSelection)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:113:9: error: expected primary-expression before '}' token 113 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:115:19: error: expected nested-name-specifier before '_t' 115 | using _t = void (MatrixSelector::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:35: error: '_t' does not name a type; did you mean 'Qt'? 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:38: error: expected '>' before '*' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:38: error: expected '(' before '*' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:39: error: expected primary-expression before '>' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:63: error: '_t' does not name a type; did you mean 'Qt'? 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:116:104: error: expected ')' before '{' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixSelector::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:120:9: error: expected primary-expression before '}' token 120 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:106:14: warning: unused variable 'result' [-Wunused-variable] 106 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:129:5: error: 'nullptr' was not declared in this scope 129 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:130:5: error: 'nullptr' was not declared in this scope 130 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp: In member function 'virtual void* Rosegarden::MatrixSelector::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:141:26: error: 'nullptr' was not declared in this scope 141 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp: In member function 'void Rosegarden::MatrixSelector::gotSelection()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:167:55: error: 'nullptr' was not declared in this scope 167 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp: In member function 'void Rosegarden::MatrixSelector::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixSelector.cpp:173:20: error: 'nullptr' was not declared in this scope 173 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:95: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp: In static member function 'static void Rosegarden::MatrixTool::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:92:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 92 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:92:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 92 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:92:20: error: cannot convert 'Rosegarden::MatrixTool*' to 'int*' in initialization 92 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixTool* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:95:21: error: request for member 'handleEventRemoved' in '* _t', which is of non-class type 'int' 95 | case 0: _t->handleEventRemoved((*reinterpret_cast< Event*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:96:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 96 | case 1: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:97:21: error: request for member 'slotMoveSelected' in '* _t', which is of non-class type 'int' 97 | case 2: _t->slotMoveSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:98:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 98 | case 3: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:99:21: error: request for member 'slotResizeSelected' in '* _t', which is of non-class type 'int' 99 | case 4: _t->slotResizeSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:100:21: error: request for member 'slotVelocityChangeSelected' in '* _t', which is of non-class type 'int' 100 | case 5: _t->slotVelocityChangeSelected(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:101:21: error: request for member 'slotDrawSelected' in '* _t', which is of non-class type 'int' 101 | case 6: _t->slotDrawSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:113:5: error: 'nullptr' was not declared in this scope 113 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp: In member function 'virtual void* Rosegarden::MatrixTool::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixTool.cpp:124:26: error: 'nullptr' was not declared in this scope 124 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseToolBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseToolBox.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/BaseToolBox.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixToolBox.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixToolBox.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:96: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixToolBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixToolBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixToolBox.cpp: In member function 'virtual void* Rosegarden::MatrixToolBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixToolBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixVelocity.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixVelocity.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixVelocity.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:97: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixVelocity.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixVelocity.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixVelocity.cpp: In member function 'virtual void* Rosegarden::MatrixVelocity::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixVelocity.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DeferScrollArea.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DeferScrollArea.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/DeferScrollArea.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixView.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixView.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:98: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In static member function 'static void Rosegarden::MatrixView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:452:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 452 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:452:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 452 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:452:20: error: cannot convert 'Rosegarden::MatrixView*' to 'int*' in initialization 452 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:455:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 455 | case 0: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:456:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 456 | case 1: _t->play(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:457:21: error: request for member 'stop' in '* _t', which is of non-class type 'int' 457 | case 2: _t->stop(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:458:21: error: request for member 'rewindPlayback' in '* _t', which is of non-class type 'int' 458 | case 3: _t->rewindPlayback(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:459:21: error: request for member 'fastForwardPlayback' in '* _t', which is of non-class type 'int' 459 | case 4: _t->fastForwardPlayback(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:460:21: error: request for member 'rewindPlaybackToBeginning' in '* _t', which is of non-class type 'int' 460 | case 5: _t->rewindPlaybackToBeginning(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:461:21: error: request for member 'fastForwardPlaybackToEnd' in '* _t', which is of non-class type 'int' 461 | case 6: _t->fastForwardPlaybackToEnd(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:462:21: error: request for member 'panic' in '* _t', which is of non-class type 'int' 462 | case 7: _t->panic(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:463:21: error: request for member 'stepByStepTargetRequested' in '* _t', which is of non-class type 'int' 463 | case 8: _t->stepByStepTargetRequested((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:464:21: error: request for member 'changeTempo' in '* _t', which is of non-class type 'int' 464 | case 9: _t->changeTempo((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< tempoT(*)>(_a[2])),(*reinterpret_cast< tempoT(*)>(_a[3])),(*reinterpret_cast< TempoDialog::TempoDialogAction(*)>(_a[4]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:98: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:465:22: error: request for member 'noteInsertedFromKeyboard' in '* _t', which is of non-class type 'int' 465 | case 10: _t->noteInsertedFromKeyboard((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:466:22: error: request for member 'slotSegmentDeleted' in '* _t', which is of non-class type 'int' 466 | case 11: _t->slotSegmentDeleted((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:467:22: error: request for member 'slotSceneDeleted' in '* _t', which is of non-class type 'int' 467 | case 12: _t->slotSceneDeleted(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:468:22: error: request for member 'slotQuantize' in '* _t', which is of non-class type 'int' 468 | case 13: _t->slotQuantize(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:469:22: error: request for member 'slotRepeatQuantize' in '* _t', which is of non-class type 'int' 469 | case 14: _t->slotRepeatQuantize(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:470:22: error: request for member 'slotCollapseNotes' in '* _t', which is of non-class type 'int' 470 | case 15: _t->slotCollapseNotes(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:471:22: error: request for member 'slotLegato' in '* _t', which is of non-class type 'int' 471 | case 16: _t->slotLegato(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:472:22: error: request for member 'slotVelocityUp' in '* _t', which is of non-class type 'int' 472 | case 17: _t->slotVelocityUp(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:473:22: error: request for member 'slotVelocityDown' in '* _t', which is of non-class type 'int' 473 | case 18: _t->slotVelocityDown(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:474:22: error: request for member 'slotSetVelocities' in '* _t', which is of non-class type 'int' 474 | case 19: _t->slotSetVelocities(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:475:22: error: request for member 'slotSetVelocitiesToCurrent' in '* _t', which is of non-class type 'int' 475 | case 20: _t->slotSetVelocitiesToCurrent(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:476:22: error: request for member 'slotEditCutControllers' in '* _t', which is of non-class type 'int' 476 | case 21: _t->slotEditCutControllers(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:477:22: error: request for member 'slotEditCopyControllers' in '* _t', which is of non-class type 'int' 477 | case 22: _t->slotEditCopyControllers(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:478:22: error: request for member 'slotSetControllers' in '* _t', which is of non-class type 'int' 478 | case 23: _t->slotSetControllers(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:479:22: error: request for member 'slotPlaceControllers' in '* _t', which is of non-class type 'int' 479 | case 24: _t->slotPlaceControllers(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:480:22: error: request for member 'slotTriggerSegment' in '* _t', which is of non-class type 'int' 480 | case 25: _t->slotTriggerSegment(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:481:22: error: request for member 'slotRemoveTriggers' in '* _t', which is of non-class type 'int' 481 | case 26: _t->slotRemoveTriggers(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:482:22: error: request for member 'slotSelectAll' in '* _t', which is of non-class type 'int' 482 | case 27: _t->slotSelectAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:483:22: error: request for member 'slotPreviewSelection' in '* _t', which is of non-class type 'int' 483 | case 28: _t->slotPreviewSelection(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:484:22: error: request for member 'slotClearLoop' in '* _t', which is of non-class type 'int' 484 | case 29: _t->slotClearLoop(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:485:22: error: request for member 'slotClearSelection' in '* _t', which is of non-class type 'int' 485 | case 30: _t->slotClearSelection(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:486:22: error: request for member 'slotFilterSelection' in '* _t', which is of non-class type 'int' 486 | case 31: _t->slotFilterSelection(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:487:22: error: request for member 'slotEditAddKeySignature' in '* _t', which is of non-class type 'int' 487 | case 32: _t->slotEditAddKeySignature(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:488:22: error: request for member 'slotCurrentSegmentPrior' in '* _t', which is of non-class type 'int' 488 | case 33: _t->slotCurrentSegmentPrior(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:489:22: error: request for member 'slotCurrentSegmentNext' in '* _t', which is of non-class type 'int' 489 | case 34: _t->slotCurrentSegmentNext(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:490:22: error: request for member 'slotSetPaintTool' in '* _t', which is of non-class type 'int' 490 | case 35: _t->slotSetPaintTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:491:22: error: request for member 'slotSetEraseTool' in '* _t', which is of non-class type 'int' 491 | case 36: _t->slotSetEraseTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:492:22: error: request for member 'slotSetSelectTool' in '* _t', which is of non-class type 'int' 492 | case 37: _t->slotSetSelectTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:493:22: error: request for member 'slotSetMoveTool' in '* _t', which is of non-class type 'int' 493 | case 38: _t->slotSetMoveTool(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:494:22: error: request for member 'slotSetResizeTool' in '* _t', which is of non-class type 'int' 494 | case 39: _t->slotSetResizeTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:495:22: error: request for member 'slotSetVelocityTool' in '* _t', which is of non-class type 'int' 495 | case 40: _t->slotSetVelocityTool(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:496:22: error: request for member 'slotSetSnapFromIndex' in '* _t', which is of non-class type 'int' 496 | case 41: _t->slotSetSnapFromIndex((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:497:22: error: request for member 'slotSetSnapFromAction' in '* _t', which is of non-class type 'int' 497 | case 42: _t->slotSetSnapFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:498:22: error: request for member 'slotSetSnap' in '* _t', which is of non-class type 'int' 498 | case 43: _t->slotSetSnap((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:499:22: error: request for member 'slotQuantizeSelection' in '* _t', which is of non-class type 'int' 499 | case 44: _t->slotQuantizeSelection((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:500:22: error: request for member 'slotSetCurrentVelocity' in '* _t', which is of non-class type 'int' 500 | case 45: _t->slotSetCurrentVelocity((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:501:22: error: request for member 'slotSetCurrentVelocityFromSelection' in '* _t', which is of non-class type 'int' 501 | case 46: _t->slotSetCurrentVelocityFromSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:502:22: error: request for member 'slotToggleTracking' in '* _t', which is of non-class type 'int' 502 | case 47: _t->slotToggleTracking(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:503:22: error: request for member 'slotUpdateMenuStates' in '* _t', which is of non-class type 'int' 503 | case 48: _t->slotUpdateMenuStates(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:504:22: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 504 | case 49: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:505:22: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 505 | case 50: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:506:22: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 506 | case 51: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:507:22: error: request for member 'slotEditDelete' in '* _t', which is of non-class type 'int' 507 | case 52: _t->slotEditDelete(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:508:22: error: request for member 'slotToggleChordsRuler' in '* _t', which is of non-class type 'int' 508 | case 53: _t->slotToggleChordsRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:509:22: error: request for member 'slotToggleTempoRuler' in '* _t', which is of non-class type 'int' 509 | case 54: _t->slotToggleTempoRuler(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:510:22: error: request for member 'slotToggleVelocityRuler' in '* _t', which is of non-class type 'int' 510 | case 55: _t->slotToggleVelocityRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:511:22: error: request for member 'slotTogglePitchbendRuler' in '* _t', which is of non-class type 'int' 511 | case 56: _t->slotTogglePitchbendRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:512:22: error: request for member 'slotAddControlRuler' in '* _t', which is of non-class type 'int' 512 | case 57: _t->slotAddControlRuler((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:513:22: error: request for member 'slotHelp' in '* _t', which is of non-class type 'int' 513 | case 58: _t->slotHelp(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:514:22: error: request for member 'slotTutorial' in '* _t', which is of non-class type 'int' 514 | case 59: _t->slotTutorial(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:515:22: error: request for member 'slotBugGuidelines' in '* _t', which is of non-class type 'int' 515 | case 60: _t->slotBugGuidelines(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:516:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 516 | case 61: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:517:22: error: request for member 'slotHelpAboutQt' in '* _t', which is of non-class type 'int' 517 | case 62: _t->slotHelpAboutQt(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:518:22: error: request for member 'slotDonate' in '* _t', which is of non-class type 'int' 518 | case 63: _t->slotDonate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:519:22: error: request for member 'slotShowContextHelp' in '* _t', which is of non-class type 'int' 519 | case 64: _t->slotShowContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:520:22: error: request for member 'slotAddTempo' in '* _t', which is of non-class type 'int' 520 | case 65: _t->slotAddTempo(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:521:22: error: request for member 'slotAddTimeSignature' in '* _t', which is of non-class type 'int' 521 | case 66: _t->slotAddTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:522:22: error: request for member 'slotHalveDurations' in '* _t', which is of non-class type 'int' 522 | case 67: _t->slotHalveDurations(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:523:22: error: request for member 'slotDoubleDurations' in '* _t', which is of non-class type 'int' 523 | case 68: _t->slotDoubleDurations(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:524:22: error: request for member 'slotRescale' in '* _t', which is of non-class type 'int' 524 | case 69: _t->slotRescale(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:525:22: error: request for member 'slotTransposeUp' in '* _t', which is of non-class type 'int' 525 | case 70: _t->slotTransposeUp(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:526:22: error: request for member 'slotTransposeUpOctave' in '* _t', which is of non-class type 'int' 526 | case 71: _t->slotTransposeUpOctave(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:527:22: error: request for member 'slotTransposeDown' in '* _t', which is of non-class type 'int' 527 | case 72: _t->slotTransposeDown(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:528:22: error: request for member 'slotTransposeDownOctave' in '* _t', which is of non-class type 'int' 528 | case 73: _t->slotTransposeDownOctave(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:529:22: error: request for member 'slotTranspose' in '* _t', which is of non-class type 'int' 529 | case 74: _t->slotTranspose(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:530:22: error: request for member 'slotDiatonicTranspose' in '* _t', which is of non-class type 'int' 530 | case 75: _t->slotDiatonicTranspose(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:531:22: error: request for member 'slotInvert' in '* _t', which is of non-class type 'int' 531 | case 76: _t->slotInvert(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:532:22: error: request for member 'slotRetrograde' in '* _t', which is of non-class type 'int' 532 | case 77: _t->slotRetrograde(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:533:22: error: request for member 'slotRetrogradeInvert' in '* _t', which is of non-class type 'int' 533 | case 78: _t->slotRetrogradeInvert(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:534:22: error: request for member 'slotJogLeft' in '* _t', which is of non-class type 'int' 534 | case 79: _t->slotJogLeft(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:535:22: error: request for member 'slotJogRight' in '* _t', which is of non-class type 'int' 535 | case 80: _t->slotJogRight(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:536:22: error: request for member 'slotStepBackward' in '* _t', which is of non-class type 'int' 536 | case 81: _t->slotStepBackward(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:537:22: error: request for member 'slotStepForward' in '* _t', which is of non-class type 'int' 537 | case 82: _t->slotStepForward((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:538:22: error: request for member 'slotStepForward' in '* _t', which is of non-class type 'int' 538 | case 83: _t->slotStepForward(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:539:22: error: request for member 'slotExtendSelectionBackward' in '* _t', which is of non-class type 'int' 539 | case 84: _t->slotExtendSelectionBackward(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:540:22: error: request for member 'slotExtendSelectionForward' in '* _t', which is of non-class type 'int' 540 | case 85: _t->slotExtendSelectionForward(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:541:22: error: request for member 'slotExtendSelectionBackwardBar' in '* _t', which is of non-class type 'int' 541 | case 86: _t->slotExtendSelectionBackwardBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:542:22: error: request for member 'slotExtendSelectionForwardBar' in '* _t', which is of non-class type 'int' 542 | case 87: _t->slotExtendSelectionForwardBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:543:22: error: request for member 'slotExtendSelectionBackward' in '* _t', which is of non-class type 'int' 543 | case 88: _t->slotExtendSelectionBackward((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:544:22: error: request for member 'slotExtendSelectionForward' in '* _t', which is of non-class type 'int' 544 | case 89: _t->slotExtendSelectionForward((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:545:22: error: request for member 'slotInsertNoteFromAction' in '* _t', which is of non-class type 'int' 545 | case 90: _t->slotInsertNoteFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:546:22: error: request for member 'slotInsertableNoteOnReceived' in '* _t', which is of non-class type 'int' 546 | case 91: _t->slotInsertableNoteOnReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:547:22: error: request for member 'slotInsertableNoteOffReceived' in '* _t', which is of non-class type 'int' 547 | case 92: _t->slotInsertableNoteOffReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:548:22: error: request for member 'slotInsertableNoteEventReceived' in '* _t', which is of non-class type 'int' 548 | case 93: _t->slotInsertableNoteEventReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:549:22: error: request for member 'slotPitchBendSequence' in '* _t', which is of non-class type 'int' 549 | case 94: _t->slotPitchBendSequence(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:550:22: error: request for member 'slotControllerSequence' in '* _t', which is of non-class type 'int' 550 | case 95: _t->slotControllerSequence(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:551:22: error: request for member 'slotToggleStepByStep' in '* _t', which is of non-class type 'int' 551 | case 96: _t->slotToggleStepByStep(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:552:22: error: request for member 'slotStepByStepTargetRequested' in '* _t', which is of non-class type 'int' 552 | case 97: _t->slotStepByStepTargetRequested((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:553:22: error: request for member 'slotUpdateWindowTitle' in '* _t', which is of non-class type 'int' 553 | case 98: _t->slotUpdateWindowTitle((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:554:22: error: request for member 'slotUpdateWindowTitle' in '* _t', which is of non-class type 'int' 554 | case 99: _t->slotUpdateWindowTitle(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:555:23: error: request for member 'slotToggleChordMode' in '* _t', which is of non-class type 'int' 555 | case 100: _t->slotToggleChordMode(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:556:23: error: request for member 'slotToggleGeneralToolBar' in '* _t', which is of non-class type 'int' 556 | case 101: _t->slotToggleGeneralToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:557:23: error: request for member 'slotToggleToolsToolBar' in '* _t', which is of non-class type 'int' 557 | case 102: _t->slotToggleToolsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:558:23: error: request for member 'slotToggleActionsToolBar' in '* _t', which is of non-class type 'int' 558 | case 103: _t->slotToggleActionsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:559:23: error: request for member 'slotToggleRulersToolBar' in '* _t', which is of non-class type 'int' 559 | case 104: _t->slotToggleRulersToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:560:23: error: request for member 'slotToggleTransportToolBar' in '* _t', which is of non-class type 'int' 560 | case 105: _t->slotToggleTransportToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:584:19: error: expected nested-name-specifier before '_t' 584 | using _t = void (MatrixView::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:35: error: '_t' does not name a type; did you mean 'Qt'? 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:38: error: expected '>' before '*' token 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:38: error: expected '(' before '*' token 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:39: error: expected primary-expression before '>' token 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:63: error: '_t' does not name a type; did you mean 'Qt'? 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:585:100: error: expected ')' before '{' token 585 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:589:9: error: expected primary-expression before '}' token 589 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:591:19: error: expected nested-name-specifier before '_t' 591 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:35: error: '_t' does not name a type; did you mean 'Qt'? 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:38: error: expected '>' before '*' token 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:38: error: expected '(' before '*' token 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:39: error: expected primary-expression before '>' token 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:63: error: '_t' does not name a type; did you mean 'Qt'? 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:592:86: error: expected ')' before '{' token 592 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:596:9: error: expected primary-expression before '}' token 596 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:598:19: error: expected nested-name-specifier before '_t' 598 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:35: error: '_t' does not name a type; did you mean 'Qt'? 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:38: error: expected '>' before '*' token 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:38: error: expected '(' before '*' token 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:39: error: expected primary-expression before '>' token 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:63: error: '_t' does not name a type; did you mean 'Qt'? 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:599:86: error: expected ')' before '{' token 599 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:603:9: error: expected primary-expression before '}' token 603 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:605:19: error: expected nested-name-specifier before '_t' 605 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:35: error: '_t' does not name a type; did you mean 'Qt'? 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:38: error: expected '>' before '*' token 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:38: error: expected '(' before '*' token 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:39: error: expected primary-expression before '>' token 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:63: error: '_t' does not name a type; did you mean 'Qt'? 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:606:96: error: expected ')' before '{' token 606 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:610:9: error: expected primary-expression before '}' token 610 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:612:19: error: expected nested-name-specifier before '_t' 612 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:35: error: '_t' does not name a type; did you mean 'Qt'? 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:38: error: expected '>' before '*' token 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:38: error: expected '(' before '*' token 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:39: error: expected primary-expression before '>' token 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:63: error: '_t' does not name a type; did you mean 'Qt'? 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:613:101: error: expected ')' before '{' token 613 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:617:9: error: expected primary-expression before '}' token 617 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:619:19: error: expected nested-name-specifier before '_t' 619 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:35: error: '_t' does not name a type; did you mean 'Qt'? 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:38: error: expected '>' before '*' token 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:38: error: expected '(' before '*' token 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:39: error: expected primary-expression before '>' token 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:63: error: '_t' does not name a type; did you mean 'Qt'? 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:620:107: error: expected ')' before '{' token 620 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::rewindPlaybackToBeginning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:624:9: error: expected primary-expression before '}' token 624 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:626:19: error: expected nested-name-specifier before '_t' 626 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:35: error: '_t' does not name a type; did you mean 'Qt'? 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:38: error: expected '>' before '*' token 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:38: error: expected '(' before '*' token 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:39: error: expected primary-expression before '>' token 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:63: error: '_t' does not name a type; did you mean 'Qt'? 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:627:106: error: expected ')' before '{' token 627 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::fastForwardPlaybackToEnd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:631:9: error: expected primary-expression before '}' token 631 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:633:19: error: expected nested-name-specifier before '_t' 633 | using _t = void (MatrixView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:35: error: '_t' does not name a type; did you mean 'Qt'? 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:38: error: expected '>' before '*' token 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:38: error: expected '(' before '*' token 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:39: error: expected primary-expression before '>' token 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:63: error: '_t' does not name a type; did you mean 'Qt'? 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:634:87: error: expected ')' before '{' token 634 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::panic)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:638:9: error: expected primary-expression before '}' token 638 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:640:19: error: expected nested-name-specifier before '_t' 640 | using _t = void (MatrixView::*)(QObject * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:35: error: '_t' does not name a type; did you mean 'Qt'? 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:38: error: expected '>' before '*' token 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:38: error: expected '(' before '*' token 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:39: error: expected primary-expression before '>' token 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:63: error: '_t' does not name a type; did you mean 'Qt'? 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:641:107: error: expected ')' before '{' token 641 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::stepByStepTargetRequested)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:645:9: error: expected primary-expression before '}' token 645 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:647:19: error: expected nested-name-specifier before '_t' 647 | using _t = void (MatrixView::*)(timeT , tempoT , tempoT , TempoDialog::TempoDialogAction ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:35: error: '_t' does not name a type; did you mean 'Qt'? 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:38: error: expected '>' before '*' token 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:38: error: expected '(' before '*' token 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:39: error: expected primary-expression before '>' token 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:63: error: '_t' does not name a type; did you mean 'Qt'? 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:648:93: error: expected ')' before '{' token 648 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::changeTempo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:652:9: error: expected primary-expression before '}' token 652 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:654:19: error: expected nested-name-specifier before '_t' 654 | using _t = void (MatrixView::*)(Segment * , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:35: error: '_t' does not name a type; did you mean 'Qt'? 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:38: error: expected '>' before '*' token 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:38: error: expected '(' before '*' token 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:39: error: expected primary-expression before '>' token 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:63: error: '_t' does not name a type; did you mean 'Qt'? 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:655:106: error: expected ')' before '{' token 655 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixView::noteInsertedFromKeyboard)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:659:9: error: expected primary-expression before '}' token 659 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:582:14: warning: unused variable 'result' [-Wunused-variable] 582 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:668:5: error: 'nullptr' was not declared in this scope 668 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:669:5: error: 'nullptr' was not declared in this scope 669 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'virtual void* Rosegarden::MatrixView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:680:26: error: 'nullptr' was not declared in this scope 680 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:708:20: error: 'nullptr' was not declared in this scope 708 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::play()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:715:55: error: 'nullptr' was not declared in this scope 715 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::stop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:721:55: error: 'nullptr' was not declared in this scope 721 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::rewindPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:727:55: error: 'nullptr' was not declared in this scope 727 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::fastForwardPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:733:55: error: 'nullptr' was not declared in this scope 733 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::rewindPlaybackToBeginning()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:739:55: error: 'nullptr' was not declared in this scope 739 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::fastForwardPlaybackToEnd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:745:55: error: 'nullptr' was not declared in this scope 745 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::panic()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:751:55: error: 'nullptr' was not declared in this scope 751 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::stepByStepTargetRequested(QObject*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:757:20: error: 'nullptr' was not declared in this scope 757 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::changeTempo(Rosegarden::timeT, Rosegarden::tempoT, Rosegarden::tempoT, Rosegarden::TempoDialog::TempoDialogAction)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:764:20: error: 'nullptr' was not declared in this scope 764 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp: In member function 'void Rosegarden::MatrixView::noteInsertedFromKeyboard(Rosegarden::Segment*, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixView.cpp:771:20: error: 'nullptr' was not declared in this scope 771 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Thumbwheel.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Thumbwheel.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Thumbwheel.h:31:5: error: 'nullptr' was not declared in this scope 31 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixWidget.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/MatrixWidget.h:70:5: error: 'nullptr' was not declared in this scope 70 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:99: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In static member function 'static void Rosegarden::MatrixWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:274:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 274 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:274:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 274 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:274:20: error: cannot convert 'Rosegarden::MatrixWidget*' to 'int*' in initialization 274 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MatrixWidget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:277:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 277 | case 0: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:278:21: error: request for member 'toolChanged' in '* _t', which is of non-class type 'int' 278 | case 1: _t->toolChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:279:21: error: request for member 'segmentDeleted' in '* _t', which is of non-class type 'int' 279 | case 2: _t->segmentDeleted((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:280:21: error: request for member 'sceneDeleted' in '* _t', which is of non-class type 'int' 280 | case 3: _t->sceneDeleted(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:281:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 281 | case 4: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:282:21: error: request for member 'selectionChanged' in '* _t', which is of non-class type 'int' 282 | case 5: _t->selectionChanged(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:283:21: error: request for member 'slotSelectAll' in '* _t', which is of non-class type 'int' 283 | case 6: _t->slotSelectAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:284:21: error: request for member 'slotClearSelection' in '* _t', which is of non-class type 'int' 284 | case 7: _t->slotClearSelection(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:285:21: error: request for member 'slotCurrentSegmentPrior' in '* _t', which is of non-class type 'int' 285 | case 8: _t->slotCurrentSegmentPrior(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:286:21: error: request for member 'slotCurrentSegmentNext' in '* _t', which is of non-class type 'int' 286 | case 9: _t->slotCurrentSegmentNext(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:287:22: error: request for member 'slotSetTool' in '* _t', which is of non-class type 'int' 287 | case 10: _t->slotSetTool((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:288:22: error: request for member 'slotSetPaintTool' in '* _t', which is of non-class type 'int' 288 | case 11: _t->slotSetPaintTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:289:22: error: request for member 'slotSetEraseTool' in '* _t', which is of non-class type 'int' 289 | case 12: _t->slotSetEraseTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:290:22: error: request for member 'slotSetSelectTool' in '* _t', which is of non-class type 'int' 290 | case 13: _t->slotSetSelectTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:291:22: error: request for member 'slotSetMoveTool' in '* _t', which is of non-class type 'int' 291 | case 14: _t->slotSetMoveTool(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:292:22: error: request for member 'slotSetResizeTool' in '* _t', which is of non-class type 'int' 292 | case 15: _t->slotSetResizeTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:293:22: error: request for member 'slotSetVelocityTool' in '* _t', which is of non-class type 'int' 293 | case 16: _t->slotSetVelocityTool(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:294:22: error: request for member 'slotSetPlayTracking' in '* _t', which is of non-class type 'int' 294 | case 17: _t->slotSetPlayTracking((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:295:22: error: request for member 'slotSetCurrentVelocity' in '* _t', which is of non-class type 'int' 295 | case 18: _t->slotSetCurrentVelocity((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:296:22: error: request for member 'slotSetSnap' in '* _t', which is of non-class type 'int' 296 | case 19: _t->slotSetSnap((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:297:22: error: request for member 'slotZoomInFromPanner' in '* _t', which is of non-class type 'int' 297 | case 20: _t->slotZoomInFromPanner(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:298:22: error: request for member 'slotZoomOutFromPanner' in '* _t', which is of non-class type 'int' 298 | case 21: _t->slotZoomOutFromPanner(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:299:22: error: request for member 'slotToggleVelocityRuler' in '* _t', which is of non-class type 'int' 299 | case 22: _t->slotToggleVelocityRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:300:22: error: request for member 'slotTogglePitchbendRuler' in '* _t', which is of non-class type 'int' 300 | case 23: _t->slotTogglePitchbendRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:301:22: error: request for member 'slotAddControlRuler' in '* _t', which is of non-class type 'int' 301 | case 24: _t->slotAddControlRuler((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:302:22: error: request for member 'slotHScroll' in '* _t', which is of non-class type 'int' 302 | case 25: _t->slotHScroll(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:303:22: error: request for member 'slotEnsureTimeVisible' in '* _t', which is of non-class type 'int' 303 | case 26: _t->slotEnsureTimeVisible((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:304:22: error: request for member 'showInitialPointer' in '* _t', which is of non-class type 'int' 304 | case 27: _t->showInitialPointer(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:305:22: error: request for member 'slotPlayPreviewNote' in '* _t', which is of non-class type 'int' 305 | case 28: _t->slotPlayPreviewNote((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:306:22: error: request for member 'slotDispatchMousePress' in '* _t', which is of non-class type 'int' 306 | case 29: _t->slotDispatchMousePress((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:307:22: error: request for member 'slotDispatchMouseRelease' in '* _t', which is of non-class type 'int' 307 | case 30: _t->slotDispatchMouseRelease((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:308:22: error: request for member 'slotDispatchMouseMove' in '* _t', which is of non-class type 'int' 308 | case 31: _t->slotDispatchMouseMove((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:309:22: error: request for member 'slotDispatchMouseDoubleClick' in '* _t', which is of non-class type 'int' 309 | case 32: _t->slotDispatchMouseDoubleClick((*reinterpret_cast< const MatrixMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:310:22: error: request for member 'slotPointerPositionChanged' in '* _t', which is of non-class type 'int' 310 | case 33: _t->slotPointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:99: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:311:22: error: request for member 'slotPointerPositionChanged' in '* _t', which is of non-class type 'int' 311 | case 34: _t->slotPointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:312:22: error: request for member 'slotEnsureLastMouseMoveVisible' in '* _t', which is of non-class type 'int' 312 | case 35: _t->slotEnsureLastMouseMoveVisible(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:313:22: error: request for member 'slotHScrollBarRangeChanged' in '* _t', which is of non-class type 'int' 313 | case 36: _t->slotHScrollBarRangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:314:22: error: request for member 'slotHoveredOverKeyChanged' in '* _t', which is of non-class type 'int' 314 | case 37: _t->slotHoveredOverKeyChanged((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:315:22: error: request for member 'slotKeyPressed' in '* _t', which is of non-class type 'int' 315 | case 38: _t->slotKeyPressed((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:316:22: error: request for member 'slotKeySelected' in '* _t', which is of non-class type 'int' 316 | case 39: _t->slotKeySelected((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:317:22: error: request for member 'slotKeyReleased' in '* _t', which is of non-class type 'int' 317 | case 40: _t->slotKeyReleased((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:318:22: error: request for member 'slotHorizontalThumbwheelMoved' in '* _t', which is of non-class type 'int' 318 | case 41: _t->slotHorizontalThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:319:22: error: request for member 'slotVerticalThumbwheelMoved' in '* _t', which is of non-class type 'int' 319 | case 42: _t->slotVerticalThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:320:22: error: request for member 'slotPrimaryThumbwheelMoved' in '* _t', which is of non-class type 'int' 320 | case 43: _t->slotPrimaryThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:321:22: error: request for member 'slotResetZoomClicked' in '* _t', which is of non-class type 'int' 321 | case 44: _t->slotResetZoomClicked(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:322:22: error: request for member 'slotSyncPannerZoomIn' in '* _t', which is of non-class type 'int' 322 | case 45: _t->slotSyncPannerZoomIn(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:323:22: error: request for member 'slotSyncPannerZoomOut' in '* _t', which is of non-class type 'int' 323 | case 46: _t->slotSyncPannerZoomOut(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:324:22: error: request for member 'slotSegmentChangerMoved' in '* _t', which is of non-class type 'int' 324 | case 47: _t->slotSegmentChangerMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:325:22: error: request for member 'slotInitialHSliderHack' in '* _t', which is of non-class type 'int' 325 | case 48: _t->slotInitialHSliderHack((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:326:22: error: request for member 'slotMouseLeavesView' in '* _t', which is of non-class type 'int' 326 | case 49: _t->slotMouseLeavesView(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:327:22: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 327 | case 50: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:328:22: error: request for member 'slotPercussionSetChanged' in '* _t', which is of non-class type 'int' 328 | case 51: _t->slotPercussionSetChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:329:22: error: request for member 'slotInstrumentGone' in '* _t', which is of non-class type 'int' 329 | case 52: _t->slotInstrumentGone(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:353:19: error: expected nested-name-specifier before '_t' 353 | using _t = void (MatrixWidget::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:35: error: '_t' does not name a type; did you mean 'Qt'? 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:38: error: expected '>' before '*' token 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:38: error: expected '(' before '*' token 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:39: error: expected primary-expression before '>' token 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:63: error: '_t' does not name a type; did you mean 'Qt'? 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:354:102: error: expected ')' before '{' token 354 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:358:9: error: expected primary-expression before '}' token 358 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:360:19: error: expected nested-name-specifier before '_t' 360 | using _t = void (MatrixWidget::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:35: error: '_t' does not name a type; did you mean 'Qt'? 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:38: error: expected '>' before '*' token 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:38: error: expected '(' before '*' token 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:39: error: expected primary-expression before '>' token 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:63: error: '_t' does not name a type; did you mean 'Qt'? 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:361:95: error: expected ')' before '{' token 361 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::toolChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:365:9: error: expected primary-expression before '}' token 365 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:367:19: error: expected nested-name-specifier before '_t' 367 | using _t = void (MatrixWidget::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:35: error: '_t' does not name a type; did you mean 'Qt'? 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:38: error: expected '>' before '*' token 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:38: error: expected '(' before '*' token 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:39: error: expected primary-expression before '>' token 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:63: error: '_t' does not name a type; did you mean 'Qt'? 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:368:98: error: expected ')' before '{' token 368 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::segmentDeleted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:372:9: error: expected primary-expression before '}' token 372 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:374:19: error: expected nested-name-specifier before '_t' 374 | using _t = void (MatrixWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:35: error: '_t' does not name a type; did you mean 'Qt'? 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:38: error: expected '>' before '*' token 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:38: error: expected '(' before '*' token 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:39: error: expected primary-expression before '>' token 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:63: error: '_t' does not name a type; did you mean 'Qt'? 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:375:96: error: expected ')' before '{' token 375 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::sceneDeleted)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:379:9: error: expected primary-expression before '}' token 379 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:381:19: error: expected nested-name-specifier before '_t' 381 | using _t = void (MatrixWidget::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:35: error: '_t' does not name a type; did you mean 'Qt'? 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:38: error: expected '>' before '*' token 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:38: error: expected '(' before '*' token 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:39: error: expected primary-expression before '>' token 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:63: error: '_t' does not name a type; did you mean 'Qt'? 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:382:99: error: expected ')' before '{' token 382 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:386:9: error: expected primary-expression before '}' token 386 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:388:19: error: expected nested-name-specifier before '_t' 388 | using _t = void (MatrixWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:35: error: '_t' does not name a type; did you mean 'Qt'? 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:38: error: expected '>' before '*' token 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:38: error: expected '(' before '*' token 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:39: error: expected primary-expression before '>' token 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:63: error: '_t' does not name a type; did you mean 'Qt'? 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:389:100: error: expected ')' before '{' token 389 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MatrixWidget::selectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:393:9: error: expected primary-expression before '}' token 393 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:351:14: warning: unused variable 'result' [-Wunused-variable] 351 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:402:5: error: 'nullptr' was not declared in this scope 402 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:403:5: error: 'nullptr' was not declared in this scope 403 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'virtual void* Rosegarden::MatrixWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:414:26: error: 'nullptr' was not declared in this scope 414 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:442:20: error: 'nullptr' was not declared in this scope 442 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::toolChanged(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:449:20: error: 'nullptr' was not declared in this scope 449 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::segmentDeleted(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:456:20: error: 'nullptr' was not declared in this scope 456 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::sceneDeleted()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:463:55: error: 'nullptr' was not declared in this scope 463 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:469:20: error: 'nullptr' was not declared in this scope 469 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp: In member function 'void Rosegarden::MatrixWidget::selectionChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_MatrixWidget.cpp:476:55: error: 'nullptr' was not declared in this scope 476 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PitchRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PitchRuler.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PitchRuler.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/PianoKeyboard.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/matrix/PianoKeyboard.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:100: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_PianoKeyboard.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_PianoKeyboard.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_PianoKeyboard.cpp: In member function 'virtual void* Rosegarden::PianoKeyboard::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/IQKBEBYK4N/moc_PianoKeyboard.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationTool.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationTool.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationTool.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/ClefInserter.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/ClefInserter.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:101: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp: In static member function 'static void Rosegarden::ClefInserter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:81:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 81 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:81:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 81 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:81:20: error: cannot convert 'Rosegarden::ClefInserter*' to 'int*' in initialization 81 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ClefInserter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:84:21: error: request for member 'slotSetClef' in '* _t', which is of non-class type 'int' 84 | case 0: _t->slotSetClef((*reinterpret_cast< Clef(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:85:21: error: request for member 'slotNotesSelected' in '* _t', which is of non-class type 'int' 85 | case 1: _t->slotNotesSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:86:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 86 | case 2: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:87:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 87 | case 3: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:98:5: error: 'nullptr' was not declared in this scope 98 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:99:5: error: 'nullptr' was not declared in this scope 99 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp: In member function 'virtual void* Rosegarden::ClefInserter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_ClefInserter.cpp:110:26: error: 'nullptr' was not declared in this scope 110 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/FontViewFrame.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/FontViewFrame.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/FontViewFrame.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:102: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp: In static member function 'static void Rosegarden::FontViewFrame::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:77:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 77 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:77:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 77 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:77:20: error: cannot convert 'Rosegarden::FontViewFrame*' to 'int*' in initialization 77 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::FontViewFrame* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:80:21: error: request for member 'setFont' in '* _t', which is of non-class type 'int' 80 | case 0: _t->setFont((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:81:21: error: request for member 'setRow' in '* _t', which is of non-class type 'int' 81 | case 1: _t->setRow((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:82:21: error: request for member 'setGlyphs' in '* _t', which is of non-class type 'int' 82 | case 2: _t->setGlyphs((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp: In member function 'virtual void* Rosegarden::FontViewFrame::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_FontViewFrame.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/GuitarChordInserter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/GuitarChordInserter.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/GuitarChordInserter.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:103: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp: In static member function 'static void Rosegarden::GuitarChordInserter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:79:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 79 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:79:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 79 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:79:20: error: cannot convert 'Rosegarden::GuitarChordInserter*' to 'int*' in initialization 79 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::GuitarChordInserter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:82:21: error: request for member 'slotGuitarChordSelected' in '* _t', which is of non-class type 'int' 82 | case 0: _t->slotGuitarChordSelected(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:83:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 83 | case 1: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:84:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 84 | case 2: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:85:21: error: request for member 'slotNotesSelected' in '* _t', which is of non-class type 'int' 85 | case 3: _t->slotNotesSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:97:5: error: 'nullptr' was not declared in this scope 97 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:98:5: error: 'nullptr' was not declared in this scope 98 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp: In member function 'virtual void* Rosegarden::GuitarChordInserter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_GuitarChordInserter.cpp:109:26: error: 'nullptr' was not declared in this scope 109 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/HeadersGroup.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/HeadersGroup.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/HeadersGroup.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:104: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp: In static member function 'static void Rosegarden::HeadersGroup::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:89:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 89 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:89:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 89 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:89:20: error: cannot convert 'Rosegarden::HeadersGroup*' to 'int*' in initialization 89 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::HeadersGroup* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:92:21: error: request for member 'headersResized' in '* _t', which is of non-class type 'int' 92 | case 0: _t->headersResized((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:93:21: error: request for member 'currentSegmentChanged' in '* _t', which is of non-class type 'int' 93 | case 1: _t->currentSegmentChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:94:21: error: request for member 'slotUpdateAllHeaders' in '* _t', which is of non-class type 'int' 94 | case 2: _t->slotUpdateAllHeaders((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:95:21: error: request for member 'slotUpdateAllHeaders' in '* _t', which is of non-class type 'int' 95 | case 3: _t->slotUpdateAllHeaders((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:96:21: error: request for member 'slotSetCurrentSegment' in '* _t', which is of non-class type 'int' 96 | case 4: _t->slotSetCurrentSegment(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:102:19: error: expected nested-name-specifier before '_t' 102 | using _t = void (HeadersGroup::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:35: error: '_t' does not name a type; did you mean 'Qt'? 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:38: error: expected '>' before '*' token 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:38: error: expected '(' before '*' token 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:39: error: expected primary-expression before '>' token 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:63: error: '_t' does not name a type; did you mean 'Qt'? 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:103:98: error: expected ')' before '{' token 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::headersResized)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:107:9: error: expected primary-expression before '}' token 107 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:109:19: error: expected nested-name-specifier before '_t' 109 | using _t = void (HeadersGroup::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:35: error: '_t' does not name a type; did you mean 'Qt'? 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:38: error: expected '>' before '*' token 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:38: error: expected '(' before '*' token 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:39: error: expected primary-expression before '>' token 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:63: error: '_t' does not name a type; did you mean 'Qt'? 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:110:105: error: expected ')' before '{' token 110 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HeadersGroup::currentSegmentChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:114:9: error: expected primary-expression before '}' token 114 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:100:14: warning: unused variable 'result' [-Wunused-variable] 100 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:123:5: error: 'nullptr' was not declared in this scope 123 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:124:5: error: 'nullptr' was not declared in this scope 124 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp: In member function 'virtual void* Rosegarden::HeadersGroup::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:135:26: error: 'nullptr' was not declared in this scope 135 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp: In member function 'void Rosegarden::HeadersGroup::headersResized(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:161:20: error: 'nullptr' was not declared in this scope 161 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp: In member function 'void Rosegarden::HeadersGroup::currentSegmentChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_HeadersGroup.cpp:168:55: error: 'nullptr' was not declared in this scope 168 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationEraser.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationEraser.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationEraser.h:32:5: error: 'nullptr' was not declared in this scope 32 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:105: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp: In static member function 'static void Rosegarden::NotationEraser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:76:20: error: cannot convert 'Rosegarden::NotationEraser*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationEraser* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:79:21: error: request for member 'slotToggleRestCollapse' in '* _t', which is of non-class type 'int' 79 | case 0: _t->slotToggleRestCollapse(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:80:21: error: request for member 'slotInsertSelected' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotInsertSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:81:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 81 | case 2: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp: In member function 'virtual void* Rosegarden::NotationEraser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationEraser.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:106: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In static member function 'static void Rosegarden::NotationScene::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:132:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 132 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:132:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 132 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:132:20: error: cannot convert 'Rosegarden::NotationScene*' to 'int*' in initialization 132 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationScene* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:135:21: error: request for member 'mousePressed' in '* _t', which is of non-class type 'int' 135 | case 0: _t->mousePressed((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:136:21: error: request for member 'mouseMoved' in '* _t', which is of non-class type 'int' 136 | case 1: _t->mouseMoved((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:137:21: error: request for member 'mouseReleased' in '* _t', which is of non-class type 'int' 137 | case 2: _t->mouseReleased((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:138:21: error: request for member 'mouseDoubleClicked' in '* _t', which is of non-class type 'int' 138 | case 3: _t->mouseDoubleClicked((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:139:21: error: request for member 'wheelTurned' in '* _t', which is of non-class type 'int' 139 | case 4: _t->wheelTurned((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const NotationMouseEvent*(*)>(_a[2]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:106: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:140:21: error: request for member 'sceneNeedsRebuilding' in '* _t', which is of non-class type 'int' 140 | case 5: _t->sceneNeedsRebuilding(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:141:21: error: request for member 'eventRemoved' in '* _t', which is of non-class type 'int' 141 | case 6: _t->eventRemoved((*reinterpret_cast< Event*(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:142:21: error: request for member 'selectionChanged' in '* _t', which is of non-class type 'int' 142 | case 7: _t->selectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:143:21: error: request for member 'layoutUpdated' in '* _t', which is of non-class type 'int' 143 | case 8: _t->layoutUpdated((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:144:21: error: request for member 'staffsPositionned' in '* _t', which is of non-class type 'int' 144 | case 9: _t->staffsPositionned(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:145:22: error: request for member 'currentStaffChanged' in '* _t', which is of non-class type 'int' 145 | case 10: _t->currentStaffChanged(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:146:22: error: request for member 'currentViewSegmentChanged' in '* _t', which is of non-class type 'int' 146 | case 11: _t->currentViewSegmentChanged((*reinterpret_cast< ViewSegment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:147:22: error: request for member 'hoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 147 | case 12: _t->hoveredOverNoteChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:148:22: error: request for member 'hoveredOverAbsoluteTimeChanged' in '* _t', which is of non-class type 'int' 148 | case 13: _t->hoveredOverAbsoluteTimeChanged((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:149:22: error: request for member 'slotCommandExecuted' in '* _t', which is of non-class type 'int' 149 | case 14: _t->slotCommandExecuted(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:155:19: error: expected nested-name-specifier before '_t' 155 | using _t = void (NotationScene::*)(const NotationMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:35: error: '_t' does not name a type; did you mean 'Qt'? 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:38: error: expected '>' before '*' token 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:38: error: expected '(' before '*' token 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:39: error: expected primary-expression before '>' token 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:63: error: '_t' does not name a type; did you mean 'Qt'? 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:156:97: error: expected ')' before '{' token 156 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mousePressed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:160:9: error: expected primary-expression before '}' token 160 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:162:19: error: expected nested-name-specifier before '_t' 162 | using _t = void (NotationScene::*)(const NotationMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:35: error: '_t' does not name a type; did you mean 'Qt'? 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:38: error: expected '>' before '*' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:38: error: expected '(' before '*' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:39: error: expected primary-expression before '>' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:63: error: '_t' does not name a type; did you mean 'Qt'? 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:163:95: error: expected ')' before '{' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseMoved)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:167:9: error: expected primary-expression before '}' token 167 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:169:19: error: expected nested-name-specifier before '_t' 169 | using _t = void (NotationScene::*)(const NotationMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:35: error: '_t' does not name a type; did you mean 'Qt'? 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:38: error: expected '>' before '*' token 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:38: error: expected '(' before '*' token 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:39: error: expected primary-expression before '>' token 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:63: error: '_t' does not name a type; did you mean 'Qt'? 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:170:98: error: expected ')' before '{' token 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseReleased)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:174:9: error: expected primary-expression before '}' token 174 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:176:19: error: expected nested-name-specifier before '_t' 176 | using _t = void (NotationScene::*)(const NotationMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:35: error: '_t' does not name a type; did you mean 'Qt'? 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:38: error: expected '>' before '*' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:38: error: expected '(' before '*' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:39: error: expected primary-expression before '>' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:63: error: '_t' does not name a type; did you mean 'Qt'? 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:177:103: error: expected ')' before '{' token 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::mouseDoubleClicked)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:181:9: error: expected primary-expression before '}' token 181 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:183:19: error: expected nested-name-specifier before '_t' 183 | using _t = void (NotationScene::*)(int , const NotationMouseEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:35: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:38: error: expected '>' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:38: error: expected '(' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:39: error: expected primary-expression before '>' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:63: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:184:96: error: expected ')' before '{' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::wheelTurned)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:188:9: error: expected primary-expression before '}' token 188 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:190:19: error: expected nested-name-specifier before '_t' 190 | using _t = void (NotationScene::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:35: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:38: error: expected '>' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:38: error: expected '(' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:39: error: expected primary-expression before '>' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:63: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:191:105: error: expected ')' before '{' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::sceneNeedsRebuilding)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:195:9: error: expected primary-expression before '}' token 195 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:197:19: error: expected nested-name-specifier before '_t' 197 | using _t = void (NotationScene::*)(Event * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:35: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:38: error: expected '>' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:38: error: expected '(' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:39: error: expected primary-expression before '>' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:63: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:198:97: error: expected ')' before '{' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::eventRemoved)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:202:9: error: expected primary-expression before '}' token 202 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:204:19: error: expected nested-name-specifier before '_t' 204 | using _t = void (NotationScene::*)(EventSelection * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:35: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:38: error: expected '>' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:38: error: expected '(' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:39: error: expected primary-expression before '>' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:63: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:205:101: error: expected ')' before '{' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::selectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:209:9: error: expected primary-expression before '}' token 209 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:211:19: error: expected nested-name-specifier before '_t' 211 | using _t = void (NotationScene::*)(timeT , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:35: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:38: error: expected '>' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:38: error: expected '(' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:39: error: expected primary-expression before '>' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:63: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:212:98: error: expected ')' before '{' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::layoutUpdated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:216:9: error: expected primary-expression before '}' token 216 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:218:19: error: expected nested-name-specifier before '_t' 218 | using _t = void (NotationScene::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:35: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:38: error: expected '>' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:38: error: expected '(' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:39: error: expected primary-expression before '>' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:63: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:219:102: error: expected ')' before '{' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::staffsPositionned)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:223:9: error: expected primary-expression before '}' token 223 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:225:19: error: expected nested-name-specifier before '_t' 225 | using _t = void (NotationScene::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:35: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:38: error: expected '>' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:38: error: expected '(' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:39: error: expected primary-expression before '>' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:63: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:226:104: error: expected ')' before '{' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentStaffChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:230:9: error: expected primary-expression before '}' token 230 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:232:19: error: expected nested-name-specifier before '_t' 232 | using _t = void (NotationScene::*)(ViewSegment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:35: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:38: error: expected '>' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:38: error: expected '(' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:39: error: expected primary-expression before '>' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:63: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:233:110: error: expected ')' before '{' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::currentViewSegmentChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:237:9: error: expected primary-expression before '}' token 237 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:239:19: error: expected nested-name-specifier before '_t' 239 | using _t = void (NotationScene::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:35: error: '_t' does not name a type; did you mean 'Qt'? 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:38: error: expected '>' before '*' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:38: error: expected '(' before '*' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:39: error: expected primary-expression before '>' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:63: error: '_t' does not name a type; did you mean 'Qt'? 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:240:107: error: expected ')' before '{' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverNoteChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:244:9: error: expected primary-expression before '}' token 244 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:246:19: error: expected nested-name-specifier before '_t' 246 | using _t = void (NotationScene::*)(unsigned int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:35: error: '_t' does not name a type; did you mean 'Qt'? 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:38: error: expected '>' before '*' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:38: error: expected '(' before '*' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:39: error: expected primary-expression before '>' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:63: error: '_t' does not name a type; did you mean 'Qt'? 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:247:115: error: expected ')' before '{' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationScene::hoveredOverAbsoluteTimeChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:251:9: error: expected primary-expression before '}' token 251 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:153:14: warning: unused variable 'result' [-Wunused-variable] 153 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:260:5: error: 'nullptr' was not declared in this scope 260 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:261:5: error: 'nullptr' was not declared in this scope 261 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'virtual void* Rosegarden::NotationScene::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:272:26: error: 'nullptr' was not declared in this scope 272 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::mousePressed(const Rosegarden::NotationMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:302:20: error: 'nullptr' was not declared in this scope 302 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::mouseMoved(const Rosegarden::NotationMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:309:20: error: 'nullptr' was not declared in this scope 309 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::mouseReleased(const Rosegarden::NotationMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:316:20: error: 'nullptr' was not declared in this scope 316 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::mouseDoubleClicked(const Rosegarden::NotationMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:323:20: error: 'nullptr' was not declared in this scope 323 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::wheelTurned(int, const Rosegarden::NotationMouseEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:330:20: error: 'nullptr' was not declared in this scope 330 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::sceneNeedsRebuilding()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:337:55: error: 'nullptr' was not declared in this scope 337 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::eventRemoved(Rosegarden::Event*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:343:20: error: 'nullptr' was not declared in this scope 343 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::selectionChanged(Rosegarden::EventSelection*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:350:20: error: 'nullptr' was not declared in this scope 350 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::layoutUpdated(Rosegarden::timeT, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:357:20: error: 'nullptr' was not declared in this scope 357 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::staffsPositionned()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:364:55: error: 'nullptr' was not declared in this scope 364 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::currentStaffChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:370:56: error: 'nullptr' was not declared in this scope 370 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::currentViewSegmentChanged(Rosegarden::ViewSegment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:376:20: error: 'nullptr' was not declared in this scope 376 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::hoveredOverNoteChanged(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:383:20: error: 'nullptr' was not declared in this scope 383 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp: In member function 'void Rosegarden::NotationScene::hoveredOverAbsoluteTimeChanged(unsigned int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationScene.cpp:390:20: error: 'nullptr' was not declared in this scope 390 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationSelector.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationSelector.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationSelector.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:107: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp: In static member function 'static void Rosegarden::NotationSelector::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:126:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 126 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:126:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 126 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:126:20: error: cannot convert 'Rosegarden::NotationSelector*' to 'int*' in initialization 126 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationSelector* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:129:21: error: request for member 'editElement' in '* _t', which is of non-class type 'int' 129 | case 0: _t->editElement((*reinterpret_cast< NotationStaff*(*)>(_a[1])),(*reinterpret_cast< NotationElement*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:107: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:130:21: error: request for member 'slotHideSelection' in '* _t', which is of non-class type 'int' 130 | case 1: _t->slotHideSelection(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:131:21: error: request for member 'slotInsertSelected' in '* _t', which is of non-class type 'int' 131 | case 2: _t->slotInsertSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:132:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 132 | case 3: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:133:21: error: request for member 'slotCollapseRestsHard' in '* _t', which is of non-class type 'int' 133 | case 4: _t->slotCollapseRestsHard(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:134:21: error: request for member 'slotRespellFlat' in '* _t', which is of non-class type 'int' 134 | case 5: _t->slotRespellFlat(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:135:21: error: request for member 'slotRespellSharp' in '* _t', which is of non-class type 'int' 135 | case 6: _t->slotRespellSharp(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:136:21: error: request for member 'slotRespellNatural' in '* _t', which is of non-class type 'int' 136 | case 7: _t->slotRespellNatural(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:137:21: error: request for member 'slotCollapseNotes' in '* _t', which is of non-class type 'int' 137 | case 8: _t->slotCollapseNotes(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:138:21: error: request for member 'slotInterpret' in '* _t', which is of non-class type 'int' 138 | case 9: _t->slotInterpret(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:139:22: error: request for member 'slotStaffAbove' in '* _t', which is of non-class type 'int' 139 | case 10: _t->slotStaffAbove(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:140:22: error: request for member 'slotStaffBelow' in '* _t', which is of non-class type 'int' 140 | case 11: _t->slotStaffBelow(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:141:22: error: request for member 'slotMakeInvisible' in '* _t', which is of non-class type 'int' 141 | case 12: _t->slotMakeInvisible(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:142:22: error: request for member 'slotMakeVisible' in '* _t', which is of non-class type 'int' 142 | case 13: _t->slotMakeVisible(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:143:22: error: request for member 'slotClickTimeout' in '* _t', which is of non-class type 'int' 143 | case 14: _t->slotClickTimeout(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:149:19: error: expected nested-name-specifier before '_t' 149 | using _t = void (NotationSelector::*)(NotationStaff * , NotationElement * , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:35: error: '_t' does not name a type; did you mean 'Qt'? 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:38: error: expected '>' before '*' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:38: error: expected '(' before '*' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:39: error: expected primary-expression before '>' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:63: error: '_t' does not name a type; did you mean 'Qt'? 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:150:99: error: expected ')' before '{' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationSelector::editElement)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:154:9: error: expected primary-expression before '}' token 154 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:147:14: warning: unused variable 'result' [-Wunused-variable] 147 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:163:5: error: 'nullptr' was not declared in this scope 163 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:164:5: error: 'nullptr' was not declared in this scope 164 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp: In member function 'virtual void* Rosegarden::NotationSelector::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:175:26: error: 'nullptr' was not declared in this scope 175 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp: In member function 'void Rosegarden::NotationSelector::editElement(Rosegarden::NotationStaff*, Rosegarden::NotationElement*, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationSelector.cpp:201:20: error: 'nullptr' was not declared in this scope 201 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:108: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationTool.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationTool.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationTool.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationTool.cpp: In member function 'virtual void* Rosegarden::NotationTool::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationTool.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationToolBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationToolBox.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationToolBox.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:109: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationToolBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationToolBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationToolBox.cpp: In member function 'virtual void* Rosegarden::NotationToolBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationToolBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:110: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In static member function 'static void Rosegarden::NotationView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:718:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 718 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:718:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 718 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:718:20: error: cannot convert 'Rosegarden::NotationView*' to 'int*' in initialization 718 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:721:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 721 | case 0: _t->play(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:722:21: error: request for member 'stop' in '* _t', which is of non-class type 'int' 722 | case 1: _t->stop(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:723:21: error: request for member 'stepBackward' in '* _t', which is of non-class type 'int' 723 | case 2: _t->stepBackward(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:724:21: error: request for member 'stepForward' in '* _t', which is of non-class type 'int' 724 | case 3: _t->stepForward(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:725:21: error: request for member 'rewindPlayback' in '* _t', which is of non-class type 'int' 725 | case 4: _t->rewindPlayback(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:726:21: error: request for member 'fastForwardPlayback' in '* _t', which is of non-class type 'int' 726 | case 5: _t->fastForwardPlayback(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:727:21: error: request for member 'rewindPlaybackToBeginning' in '* _t', which is of non-class type 'int' 727 | case 6: _t->rewindPlaybackToBeginning(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:728:21: error: request for member 'fastForwardPlaybackToEnd' in '* _t', which is of non-class type 'int' 728 | case 7: _t->fastForwardPlaybackToEnd(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:729:21: error: request for member 'panic' in '* _t', which is of non-class type 'int' 729 | case 8: _t->panic(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:730:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 730 | case 9: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:731:22: error: request for member 'stepByStepTargetRequested' in '* _t', which is of non-class type 'int' 731 | case 10: _t->stepByStepTargetRequested((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:732:22: error: request for member 'slotRegenerateScene' in '* _t', which is of non-class type 'int' 732 | case 11: _t->slotRegenerateScene(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:733:22: error: request for member 'slotUpdateWindowTitle' in '* _t', which is of non-class type 'int' 733 | case 12: _t->slotUpdateWindowTitle((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:734:22: error: request for member 'slotUpdateWindowTitle' in '* _t', which is of non-class type 'int' 734 | case 13: _t->slotUpdateWindowTitle(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:735:22: error: request for member 'slotPrintLilyPond' in '* _t', which is of non-class type 'int' 735 | case 14: _t->slotPrintLilyPond(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:736:22: error: request for member 'slotPreviewLilyPond' in '* _t', which is of non-class type 'int' 736 | case 15: _t->slotPreviewLilyPond(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:737:22: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 737 | case 16: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:738:22: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 738 | case 17: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:739:22: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 739 | case 18: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:740:22: error: request for member 'slotEditDelete' in '* _t', which is of non-class type 'int' 740 | case 19: _t->slotEditDelete(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:741:22: error: request for member 'slotEditCutAndClose' in '* _t', which is of non-class type 'int' 741 | case 20: _t->slotEditCutAndClose(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:742:22: error: request for member 'slotEditGeneralPaste' in '* _t', which is of non-class type 'int' 742 | case 21: _t->slotEditGeneralPaste(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:743:22: error: request for member 'slotEditAddClef' in '* _t', which is of non-class type 'int' 743 | case 22: _t->slotEditAddClef(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:744:22: error: request for member 'slotEditAddClefLinkOnly' in '* _t', which is of non-class type 'int' 744 | case 23: _t->slotEditAddClefLinkOnly(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:745:22: error: request for member 'slotEditAddKeySignature' in '* _t', which is of non-class type 'int' 745 | case 24: _t->slotEditAddKeySignature(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:746:22: error: request for member 'slotEditAddSustainDown' in '* _t', which is of non-class type 'int' 746 | case 25: _t->slotEditAddSustainDown(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:747:22: error: request for member 'slotEditAddSustainUp' in '* _t', which is of non-class type 'int' 747 | case 26: _t->slotEditAddSustainUp(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:748:22: error: request for member 'slotEditAddSustain' in '* _t', which is of non-class type 'int' 748 | case 27: _t->slotEditAddSustain((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:749:22: error: request for member 'slotEditTranspose' in '* _t', which is of non-class type 'int' 749 | case 28: _t->slotEditTranspose(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:750:22: error: request for member 'slotEditSwitchPreset' in '* _t', which is of non-class type 'int' 750 | case 29: _t->slotEditSwitchPreset(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:751:22: error: request for member 'slotPreviewSelection' in '* _t', which is of non-class type 'int' 751 | case 30: _t->slotPreviewSelection(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:752:22: error: request for member 'slotClearLoop' in '* _t', which is of non-class type 'int' 752 | case 31: _t->slotClearLoop(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:753:22: error: request for member 'slotClearSelection' in '* _t', which is of non-class type 'int' 753 | case 32: _t->slotClearSelection(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:754:22: error: request for member 'slotEditSelectFromStart' in '* _t', which is of non-class type 'int' 754 | case 33: _t->slotEditSelectFromStart(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:755:22: error: request for member 'slotEditSelectToEnd' in '* _t', which is of non-class type 'int' 755 | case 34: _t->slotEditSelectToEnd(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:756:22: error: request for member 'slotEditSelectWholeStaff' in '* _t', which is of non-class type 'int' 756 | case 35: _t->slotEditSelectWholeStaff(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:757:22: error: request for member 'slotSearchSelect' in '* _t', which is of non-class type 'int' 757 | case 36: _t->slotSearchSelect(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:758:22: error: request for member 'slotFilterSelection' in '* _t', which is of non-class type 'int' 758 | case 37: _t->slotFilterSelection(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:759:22: error: request for member 'slotSelectEvenlySpacedNotes' in '* _t', which is of non-class type 'int' 759 | case 38: _t->slotSelectEvenlySpacedNotes(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:760:22: error: request for member 'slotVelocityUp' in '* _t', which is of non-class type 'int' 760 | case 39: _t->slotVelocityUp(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:761:22: error: request for member 'slotVelocityDown' in '* _t', which is of non-class type 'int' 761 | case 40: _t->slotVelocityDown(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:762:22: error: request for member 'slotSetVelocities' in '* _t', which is of non-class type 'int' 762 | case 41: _t->slotSetVelocities(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:763:22: error: request for member 'slotEditCutControllers' in '* _t', which is of non-class type 'int' 763 | case 42: _t->slotEditCutControllers(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:764:22: error: request for member 'slotEditCopyControllers' in '* _t', which is of non-class type 'int' 764 | case 43: _t->slotEditCopyControllers(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:765:22: error: request for member 'slotSetControllers' in '* _t', which is of non-class type 'int' 765 | case 44: _t->slotSetControllers(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:766:22: error: request for member 'slotPlaceControllers' in '* _t', which is of non-class type 'int' 766 | case 45: _t->slotPlaceControllers(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:767:22: error: request for member 'slotSetSelectTool' in '* _t', which is of non-class type 'int' 767 | case 46: _t->slotSetSelectTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:768:22: error: request for member 'slotSetSelectNoTiesTool' in '* _t', which is of non-class type 'int' 768 | case 47: _t->slotSetSelectNoTiesTool(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:769:22: error: request for member 'slotSetEraseTool' in '* _t', which is of non-class type 'int' 769 | case 48: _t->slotSetEraseTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:770:22: error: request for member 'slotSetNoteRestInserter' in '* _t', which is of non-class type 'int' 770 | case 49: _t->slotSetNoteRestInserter(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:771:22: error: request for member 'slotInsertNoteFromAction' in '* _t', which is of non-class type 'int' 771 | case 50: _t->slotInsertNoteFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:772:22: error: request for member 'slotInsertRestFromAction' in '* _t', which is of non-class type 'int' 772 | case 51: _t->slotInsertRestFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:773:22: error: request for member 'slotSwitchToNotes' in '* _t', which is of non-class type 'int' 773 | case 52: _t->slotSwitchToNotes(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:774:22: error: request for member 'slotSwitchToRests' in '* _t', which is of non-class type 'int' 774 | case 53: _t->slotSwitchToRests(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:775:22: error: request for member 'slotToggleDot' in '* _t', which is of non-class type 'int' 775 | case 54: _t->slotToggleDot(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:776:22: error: request for member 'slotAddDot' in '* _t', which is of non-class type 'int' 776 | case 55: _t->slotAddDot(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:777:22: error: request for member 'slotAddDotNotationOnly' in '* _t', which is of non-class type 'int' 777 | case 56: _t->slotAddDotNotationOnly(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:778:22: error: request for member 'slotSetNoteType' in '* _t', which is of non-class type 'int' 778 | case 57: _t->slotSetNoteType(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:779:22: error: request for member 'slotSetNoteTypeNotationOnly' in '* _t', which is of non-class type 'int' 779 | case 58: _t->slotSetNoteTypeNotationOnly(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:780:22: error: request for member 'slotNoteAction' in '* _t', which is of non-class type 'int' 780 | case 59: _t->slotNoteAction(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:781:22: error: request for member 'slotDummy1' in '* _t', which is of non-class type 'int' 781 | case 60: _t->slotDummy1(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:782:22: error: request for member 'slotNoAccidental' in '* _t', which is of non-class type 'int' 782 | case 61: _t->slotNoAccidental(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:783:22: error: request for member 'slotFollowAccidental' in '* _t', which is of non-class type 'int' 783 | case 62: _t->slotFollowAccidental(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:784:22: error: request for member 'slotSharp' in '* _t', which is of non-class type 'int' 784 | case 63: _t->slotSharp(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:785:22: error: request for member 'slotFlat' in '* _t', which is of non-class type 'int' 785 | case 64: _t->slotFlat(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:786:22: error: request for member 'slotNatural' in '* _t', which is of non-class type 'int' 786 | case 65: _t->slotNatural(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:787:22: error: request for member 'slotDoubleSharp' in '* _t', which is of non-class type 'int' 787 | case 66: _t->slotDoubleSharp(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:788:22: error: request for member 'slotDoubleFlat' in '* _t', which is of non-class type 'int' 788 | case 67: _t->slotDoubleFlat(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:789:22: error: request for member 'slotClefAction' in '* _t', which is of non-class type 'int' 789 | case 68: _t->slotClefAction(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:790:22: error: request for member 'slotText' in '* _t', which is of non-class type 'int' 790 | case 69: _t->slotText(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:791:22: error: request for member 'slotGuitarChord' in '* _t', which is of non-class type 'int' 791 | case 70: _t->slotGuitarChord(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:792:22: error: request for member 'slotLinearMode' in '* _t', which is of non-class type 'int' 792 | case 71: _t->slotLinearMode(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:793:22: error: request for member 'slotContinuousPageMode' in '* _t', which is of non-class type 'int' 793 | case 72: _t->slotContinuousPageMode(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:794:22: error: request for member 'slotMultiPageMode' in '* _t', which is of non-class type 'int' 794 | case 73: _t->slotMultiPageMode(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:795:22: error: request for member 'slotShowHeadersGroup' in '* _t', which is of non-class type 'int' 795 | case 74: _t->slotShowHeadersGroup(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:796:22: error: request for member 'slotChangeFontFromAction' in '* _t', which is of non-class type 'int' 796 | case 75: _t->slotChangeFontFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:797:22: error: request for member 'slotChangeFontSizeFromAction' in '* _t', which is of non-class type 'int' 797 | case 76: _t->slotChangeFontSizeFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:798:22: error: request for member 'slotChangeSpacingFromAction' in '* _t', which is of non-class type 'int' 798 | case 77: _t->slotChangeSpacingFromAction(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:799:22: error: request for member 'slotUpdateMenuStates' in '* _t', which is of non-class type 'int' 799 | case 78: _t->slotUpdateMenuStates(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:800:22: error: request for member 'slotTransformsNormalizeRests' in '* _t', which is of non-class type 'int' 800 | case 79: _t->slotTransformsNormalizeRests(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:801:22: error: request for member 'slotTransformsCollapseNotes' in '* _t', which is of non-class type 'int' 801 | case 80: _t->slotTransformsCollapseNotes(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:802:22: error: request for member 'slotTransformsQuantize' in '* _t', which is of non-class type 'int' 802 | case 81: _t->slotTransformsQuantize(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:803:22: error: request for member 'slotTransformsInterpret' in '* _t', which is of non-class type 'int' 803 | case 82: _t->slotTransformsInterpret(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:804:22: error: request for member 'slotMakeOrnament' in '* _t', which is of non-class type 'int' 804 | case 83: _t->slotMakeOrnament(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:805:22: error: request for member 'slotUseOrnament' in '* _t', which is of non-class type 'int' 805 | case 84: _t->slotUseOrnament(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:806:22: error: request for member 'slotRemoveOrnament' in '* _t', which is of non-class type 'int' 806 | case 85: _t->slotRemoveOrnament(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:807:22: error: request for member 'slotEditOrnamentInline' in '* _t', which is of non-class type 'int' 807 | case 86: _t->slotEditOrnamentInline(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:808:22: error: request for member 'slotShowOrnamentExpansion' in '* _t', which is of non-class type 'int' 808 | case 87: _t->slotShowOrnamentExpansion(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:809:22: error: request for member 'slotMaskOrnament' in '* _t', which is of non-class type 'int' 809 | case 88: _t->slotMaskOrnament(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:810:22: error: request for member 'slotUnmaskOrnament' in '* _t', which is of non-class type 'int' 810 | case 89: _t->slotUnmaskOrnament(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:811:22: error: request for member 'slotUnadoptSegment' in '* _t', which is of non-class type 'int' 811 | case 90: _t->slotUnadoptSegment(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:812:22: error: request for member 'slotGroupSimpleTuplet' in '* _t', which is of non-class type 'int' 812 | case 91: _t->slotGroupSimpleTuplet(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:813:22: error: request for member 'slotGroupGeneralTuplet' in '* _t', which is of non-class type 'int' 813 | case 92: _t->slotGroupGeneralTuplet(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:814:22: error: request for member 'slotGroupTuplet' in '* _t', which is of non-class type 'int' 814 | case 93: _t->slotGroupTuplet((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:815:22: error: request for member 'slotUpdateInsertModeStatus' in '* _t', which is of non-class type 'int' 815 | case 94: _t->slotUpdateInsertModeStatus(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:816:22: error: request for member 'slotUpdateInsertModeStatusTriplet' in '* _t', which is of non-class type 'int' 816 | case 95: _t->slotUpdateInsertModeStatusTriplet(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:817:22: error: request for member 'slotUpdateInsertModeStatusTuplet' in '* _t', which is of non-class type 'int' 817 | case 96: _t->slotUpdateInsertModeStatusTuplet(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:818:22: error: request for member 'slotHalveDurations' in '* _t', which is of non-class type 'int' 818 | case 97: _t->slotHalveDurations(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:819:22: error: request for member 'slotDoubleDurations' in '* _t', which is of non-class type 'int' 819 | case 98: _t->slotDoubleDurations(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:820:22: error: request for member 'slotRescale' in '* _t', which is of non-class type 'int' 820 | case 99: _t->slotRescale(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:821:23: error: request for member 'slotTransposeUp' in '* _t', which is of non-class type 'int' 821 | case 100: _t->slotTransposeUp(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:822:23: error: request for member 'slotTransposeDown' in '* _t', which is of non-class type 'int' 822 | case 101: _t->slotTransposeDown(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:823:23: error: request for member 'slotTransposeUpOctave' in '* _t', which is of non-class type 'int' 823 | case 102: _t->slotTransposeUpOctave(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:824:23: error: request for member 'slotTransposeDownOctave' in '* _t', which is of non-class type 'int' 824 | case 103: _t->slotTransposeDownOctave(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:825:23: error: request for member 'slotTranspose' in '* _t', which is of non-class type 'int' 825 | case 104: _t->slotTranspose(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:826:23: error: request for member 'slotDiatonicTranspose' in '* _t', which is of non-class type 'int' 826 | case 105: _t->slotDiatonicTranspose(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:827:23: error: request for member 'slotInvert' in '* _t', which is of non-class type 'int' 827 | case 106: _t->slotInvert(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:828:23: error: request for member 'slotRetrograde' in '* _t', which is of non-class type 'int' 828 | case 107: _t->slotRetrograde(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:829:23: error: request for member 'slotRetrogradeInvert' in '* _t', which is of non-class type 'int' 829 | case 108: _t->slotRetrogradeInvert(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:830:23: error: request for member 'slotJogLeft' in '* _t', which is of non-class type 'int' 830 | case 109: _t->slotJogLeft(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:831:23: error: request for member 'slotJogRight' in '* _t', which is of non-class type 'int' 831 | case 110: _t->slotJogRight(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:832:23: error: request for member 'slotEditLyrics' in '* _t', which is of non-class type 'int' 832 | case 111: _t->slotEditLyrics(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:833:23: error: request for member 'slotStepBackward' in '* _t', which is of non-class type 'int' 833 | case 112: _t->slotStepBackward(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:834:23: error: request for member 'slotStepForward' in '* _t', which is of non-class type 'int' 834 | case 113: _t->slotStepForward(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:835:23: error: request for member 'slotCurrentStaffUp' in '* _t', which is of non-class type 'int' 835 | case 114: _t->slotCurrentStaffUp(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:836:23: error: request for member 'slotCurrentStaffDown' in '* _t', which is of non-class type 'int' 836 | case 115: _t->slotCurrentStaffDown(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:837:23: error: request for member 'slotCurrentSegmentPrior' in '* _t', which is of non-class type 'int' 837 | case 116: _t->slotCurrentSegmentPrior(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:838:23: error: request for member 'slotCurrentSegmentNext' in '* _t', which is of non-class type 'int' 838 | case 117: _t->slotCurrentSegmentNext(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:839:23: error: request for member 'slotToggleChordsRuler' in '* _t', which is of non-class type 'int' 839 | case 118: _t->slotToggleChordsRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:840:23: error: request for member 'slotToggleRawNoteRuler' in '* _t', which is of non-class type 'int' 840 | case 119: _t->slotToggleRawNoteRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:841:23: error: request for member 'slotToggleTempoRuler' in '* _t', which is of non-class type 'int' 841 | case 120: _t->slotToggleTempoRuler(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:842:23: error: request for member 'slotToggleVelocityRuler' in '* _t', which is of non-class type 'int' 842 | case 121: _t->slotToggleVelocityRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:843:23: error: request for member 'slotTogglePitchbendRuler' in '* _t', which is of non-class type 'int' 843 | case 122: _t->slotTogglePitchbendRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:844:23: error: request for member 'slotAddControlRuler' in '* _t', which is of non-class type 'int' 844 | case 123: _t->slotAddControlRuler((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:845:23: error: request for member 'slotAddTempo' in '* _t', which is of non-class type 'int' 845 | case 124: _t->slotAddTempo(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:846:23: error: request for member 'slotAddTimeSignature' in '* _t', which is of non-class type 'int' 846 | case 125: _t->slotAddTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:847:23: error: request for member 'slotCheckForParallels' in '* _t', which is of non-class type 'int' 847 | case 126: _t->slotCheckForParallels(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:848:23: error: request for member 'slotToggleGeneralToolBar' in '* _t', which is of non-class type 'int' 848 | case 127: _t->slotToggleGeneralToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:849:23: error: request for member 'slotToggleToolsToolBar' in '* _t', which is of non-class type 'int' 849 | case 128: _t->slotToggleToolsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:850:23: error: request for member 'slotToggleDurationToolBar' in '* _t', which is of non-class type 'int' 850 | case 129: _t->slotToggleDurationToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:851:23: error: request for member 'slotToggleInterpretToolBar' in '* _t', which is of non-class type 'int' 851 | case 130: _t->slotToggleInterpretToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:852:23: error: request for member 'slotToggleAccidentalsToolBar' in '* _t', which is of non-class type 'int' 852 | case 131: _t->slotToggleAccidentalsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:853:23: error: request for member 'slotToggleClefsToolBar' in '* _t', which is of non-class type 'int' 853 | case 132: _t->slotToggleClefsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:854:23: error: request for member 'slotToggleMarksToolBar' in '* _t', which is of non-class type 'int' 854 | case 133: _t->slotToggleMarksToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:855:23: error: request for member 'slotToggleGroupToolBar' in '* _t', which is of non-class type 'int' 855 | case 134: _t->slotToggleGroupToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:856:23: error: request for member 'slotToggleSymbolsToolBar' in '* _t', which is of non-class type 'int' 856 | case 135: _t->slotToggleSymbolsToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:857:23: error: request for member 'slotToggleLayoutToolBar' in '* _t', which is of non-class type 'int' 857 | case 136: _t->slotToggleLayoutToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:858:23: error: request for member 'slotToggleLayerToolBar' in '* _t', which is of non-class type 'int' 858 | case 137: _t->slotToggleLayerToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:859:23: error: request for member 'slotToggleRulersToolBar' in '* _t', which is of non-class type 'int' 859 | case 138: _t->slotToggleRulersToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:860:23: error: request for member 'slotToggleTransportToolBar' in '* _t', which is of non-class type 'int' 860 | case 139: _t->slotToggleTransportToolBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:861:23: error: request for member 'slotToggleTracking' in '* _t', which is of non-class type 'int' 861 | case 140: _t->slotToggleTracking(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:862:23: error: request for member 'slotInsertableNoteOnReceived' in '* _t', which is of non-class type 'int' 862 | case 141: _t->slotInsertableNoteOnReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:110: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:863:23: error: request for member 'slotInsertableNoteOffReceived' in '* _t', which is of non-class type 'int' 863 | case 142: _t->slotInsertableNoteOffReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:864:23: error: request for member 'slotInsertableNoteEventReceived' in '* _t', which is of non-class type 'int' 864 | case 143: _t->slotInsertableNoteEventReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:865:23: error: request for member 'slotToggleStepByStep' in '* _t', which is of non-class type 'int' 865 | case 144: _t->slotToggleStepByStep(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:866:23: error: request for member 'slotStepByStepTargetRequested' in '* _t', which is of non-class type 'int' 866 | case 145: _t->slotStepByStepTargetRequested((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:867:23: error: request for member 'slotDebugDump' in '* _t', which is of non-class type 'int' 867 | case 146: _t->slotDebugDump(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:868:23: error: request for member 'slotBarDataDump' in '* _t', which is of non-class type 'int' 868 | case 147: _t->slotBarDataDump(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:869:23: error: request for member 'slotSymbolAction' in '* _t', which is of non-class type 'int' 869 | case 148: _t->slotSymbolAction(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:870:23: error: request for member 'slotMoveEventsUpStaffInteractive' in '* _t', which is of non-class type 'int' 870 | case 149: _t->slotMoveEventsUpStaffInteractive(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:871:23: error: request for member 'slotMoveEventsDownStaffInteractive' in '* _t', which is of non-class type 'int' 871 | case 150: _t->slotMoveEventsDownStaffInteractive(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:872:23: error: request for member 'slotMoveEventsUpStaff' in '* _t', which is of non-class type 'int' 872 | case 151: _t->slotMoveEventsUpStaff(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:873:23: error: request for member 'slotMoveEventsDownStaff' in '* _t', which is of non-class type 'int' 873 | case 152: _t->slotMoveEventsDownStaff(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:874:23: error: request for member 'slotHoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 874 | case 153: _t->slotHoveredOverNoteChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:875:23: error: request for member 'slotHoveredOverAbsoluteTimeChanged' in '* _t', which is of non-class type 'int' 875 | case 154: _t->slotHoveredOverAbsoluteTimeChanged((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:876:23: error: request for member 'slotShowContextHelp' in '* _t', which is of non-class type 'int' 876 | case 155: _t->slotShowContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:877:23: error: request for member 'slotFontComboChanged' in '* _t', which is of non-class type 'int' 877 | case 156: _t->slotFontComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:878:23: error: request for member 'slotSizeComboChanged' in '* _t', which is of non-class type 'int' 878 | case 157: _t->slotSizeComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:879:23: error: request for member 'slotSpacingComboChanged' in '* _t', which is of non-class type 'int' 879 | case 158: _t->slotSpacingComboChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:880:23: error: request for member 'slotEditElement' in '* _t', which is of non-class type 'int' 880 | case 159: _t->slotEditElement((*reinterpret_cast< NotationStaff*(*)>(_a[1])),(*reinterpret_cast< NotationElement*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:881:23: error: request for member 'slotExtendSelectionBackward' in '* _t', which is of non-class type 'int' 881 | case 160: _t->slotExtendSelectionBackward(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:882:23: error: request for member 'slotExtendSelectionForward' in '* _t', which is of non-class type 'int' 882 | case 161: _t->slotExtendSelectionForward(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:883:23: error: request for member 'slotExtendSelectionBackwardBar' in '* _t', which is of non-class type 'int' 883 | case 162: _t->slotExtendSelectionBackwardBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:884:23: error: request for member 'slotExtendSelectionForwardBar' in '* _t', which is of non-class type 'int' 884 | case 163: _t->slotExtendSelectionForwardBar(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:885:23: error: request for member 'slotExtendSelectionBackward' in '* _t', which is of non-class type 'int' 885 | case 164: _t->slotExtendSelectionBackward((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:886:23: error: request for member 'slotExtendSelectionForward' in '* _t', which is of non-class type 'int' 886 | case 165: _t->slotExtendSelectionForward((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:887:23: error: request for member 'slotHelp' in '* _t', which is of non-class type 'int' 887 | case 166: _t->slotHelp(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:888:23: error: request for member 'slotTutorial' in '* _t', which is of non-class type 'int' 888 | case 167: _t->slotTutorial(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:889:23: error: request for member 'slotBugGuidelines' in '* _t', which is of non-class type 'int' 889 | case 168: _t->slotBugGuidelines(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:890:23: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 890 | case 169: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:891:23: error: request for member 'slotHelpAboutQt' in '* _t', which is of non-class type 'int' 891 | case 170: _t->slotHelpAboutQt(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:892:23: error: request for member 'slotDonate' in '* _t', which is of non-class type 'int' 892 | case 171: _t->slotDonate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:893:23: error: request for member 'slotCycleSlashes' in '* _t', which is of non-class type 'int' 893 | case 172: _t->slotCycleSlashes(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:894:23: error: request for member 'slotAddLayer' in '* _t', which is of non-class type 'int' 894 | case 173: _t->slotAddLayer(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:895:23: error: request for member 'slotMagicLayer' in '* _t', which is of non-class type 'int' 895 | case 174: _t->slotMagicLayer(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:896:23: error: request for member 'slotConfigure' in '* _t', which is of non-class type 'int' 896 | case 175: _t->slotConfigure(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:897:23: error: request for member 'slotExpressionSequence' in '* _t', which is of non-class type 'int' 897 | case 176: _t->slotExpressionSequence(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:898:23: error: request for member 'slotPitchBendSequence' in '* _t', which is of non-class type 'int' 898 | case 177: _t->slotPitchBendSequence(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:899:23: error: request for member 'slotControllerSequence' in '* _t', which is of non-class type 'int' 899 | case 178: _t->slotControllerSequence(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:900:23: error: request for member 'slotCheckShowHeadersMenu' in '* _t', which is of non-class type 'int' 900 | case 179: _t->slotCheckShowHeadersMenu((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:901:23: error: request for member 'slotInterpretActivate' in '* _t', which is of non-class type 'int' 901 | case 180: _t->slotInterpretActivate(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:907:19: error: expected nested-name-specifier before '_t' 907 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:35: error: '_t' does not name a type; did you mean 'Qt'? 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:38: error: expected '>' before '*' token 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:38: error: expected '(' before '*' token 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:39: error: expected primary-expression before '>' token 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:63: error: '_t' does not name a type; did you mean 'Qt'? 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:908:88: error: expected ')' before '{' token 908 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:912:9: error: expected primary-expression before '}' token 912 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:914:19: error: expected nested-name-specifier before '_t' 914 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:35: error: '_t' does not name a type; did you mean 'Qt'? 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:38: error: expected '>' before '*' token 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:38: error: expected '(' before '*' token 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:39: error: expected primary-expression before '>' token 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:63: error: '_t' does not name a type; did you mean 'Qt'? 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:915:88: error: expected ')' before '{' token 915 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:919:9: error: expected primary-expression before '}' token 919 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:921:19: error: expected nested-name-specifier before '_t' 921 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:35: error: '_t' does not name a type; did you mean 'Qt'? 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:38: error: expected '>' before '*' token 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:38: error: expected '(' before '*' token 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:39: error: expected primary-expression before '>' token 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:63: error: '_t' does not name a type; did you mean 'Qt'? 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:922:96: error: expected ')' before '{' token 922 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepBackward)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:926:9: error: expected primary-expression before '}' token 926 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:928:19: error: expected nested-name-specifier before '_t' 928 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:35: error: '_t' does not name a type; did you mean 'Qt'? 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:38: error: expected '>' before '*' token 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:38: error: expected '(' before '*' token 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:39: error: expected primary-expression before '>' token 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:63: error: '_t' does not name a type; did you mean 'Qt'? 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:929:95: error: expected ')' before '{' token 929 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepForward)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:933:9: error: expected primary-expression before '}' token 933 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:935:19: error: expected nested-name-specifier before '_t' 935 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:35: error: '_t' does not name a type; did you mean 'Qt'? 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:38: error: expected '>' before '*' token 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:38: error: expected '(' before '*' token 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:39: error: expected primary-expression before '>' token 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:63: error: '_t' does not name a type; did you mean 'Qt'? 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:936:98: error: expected ')' before '{' token 936 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:940:9: error: expected primary-expression before '}' token 940 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:942:19: error: expected nested-name-specifier before '_t' 942 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:35: error: '_t' does not name a type; did you mean 'Qt'? 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:38: error: expected '>' before '*' token 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:38: error: expected '(' before '*' token 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:39: error: expected primary-expression before '>' token 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:63: error: '_t' does not name a type; did you mean 'Qt'? 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:943:103: error: expected ')' before '{' token 943 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:947:9: error: expected primary-expression before '}' token 947 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:949:19: error: expected nested-name-specifier before '_t' 949 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:35: error: '_t' does not name a type; did you mean 'Qt'? 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:38: error: expected '>' before '*' token 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:38: error: expected '(' before '*' token 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:39: error: expected primary-expression before '>' token 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:63: error: '_t' does not name a type; did you mean 'Qt'? 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:950:109: error: expected ')' before '{' token 950 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::rewindPlaybackToBeginning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:954:9: error: expected primary-expression before '}' token 954 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:956:19: error: expected nested-name-specifier before '_t' 956 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:35: error: '_t' does not name a type; did you mean 'Qt'? 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:38: error: expected '>' before '*' token 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:38: error: expected '(' before '*' token 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:39: error: expected primary-expression before '>' token 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:63: error: '_t' does not name a type; did you mean 'Qt'? 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:957:108: error: expected ')' before '{' token 957 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::fastForwardPlaybackToEnd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:961:9: error: expected primary-expression before '}' token 961 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:963:19: error: expected nested-name-specifier before '_t' 963 | using _t = void (NotationView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:35: error: '_t' does not name a type; did you mean 'Qt'? 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:38: error: expected '>' before '*' token 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:38: error: expected '(' before '*' token 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:39: error: expected primary-expression before '>' token 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:63: error: '_t' does not name a type; did you mean 'Qt'? 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:964:89: error: expected ')' before '{' token 964 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::panic)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:968:9: error: expected primary-expression before '}' token 968 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:970:19: error: expected nested-name-specifier before '_t' 970 | using _t = void (NotationView::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:35: error: '_t' does not name a type; did you mean 'Qt'? 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:38: error: expected '>' before '*' token 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:38: error: expected '(' before '*' token 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:39: error: expected primary-expression before '>' token 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:63: error: '_t' does not name a type; did you mean 'Qt'? 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:971:102: error: expected ')' before '{' token 971 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:975:9: error: expected primary-expression before '}' token 975 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:977:19: error: expected nested-name-specifier before '_t' 977 | using _t = void (NotationView::*)(QObject * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:35: error: '_t' does not name a type; did you mean 'Qt'? 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:38: error: expected '>' before '*' token 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:38: error: expected '(' before '*' token 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:39: error: expected primary-expression before '>' token 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:63: error: '_t' does not name a type; did you mean 'Qt'? 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:978:109: error: expected ')' before '{' token 978 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationView::stepByStepTargetRequested)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:982:9: error: expected primary-expression before '}' token 982 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:905:14: warning: unused variable 'result' [-Wunused-variable] 905 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:991:5: error: 'nullptr' was not declared in this scope 991 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:992:5: error: 'nullptr' was not declared in this scope 992 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'virtual void* Rosegarden::NotationView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1003:26: error: 'nullptr' was not declared in this scope 1003 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::play()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1031:55: error: 'nullptr' was not declared in this scope 1031 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::stop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1037:55: error: 'nullptr' was not declared in this scope 1037 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::stepBackward()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1043:55: error: 'nullptr' was not declared in this scope 1043 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::stepForward()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1049:55: error: 'nullptr' was not declared in this scope 1049 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::rewindPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1055:55: error: 'nullptr' was not declared in this scope 1055 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::fastForwardPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1061:55: error: 'nullptr' was not declared in this scope 1061 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::rewindPlaybackToBeginning()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1067:55: error: 'nullptr' was not declared in this scope 1067 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::fastForwardPlaybackToEnd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1073:55: error: 'nullptr' was not declared in this scope 1073 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::panic()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1079:55: error: 'nullptr' was not declared in this scope 1079 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1085:20: error: 'nullptr' was not declared in this scope 1085 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp: In member function 'void Rosegarden::NotationView::stepByStepTargetRequested(QObject*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationView.cpp:1092:20: error: 'nullptr' was not declared in this scope 1092 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationWidget.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationWidget.h:65:5: error: 'nullptr' was not declared in this scope 65 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NotationWidget.h:65:5: error: 'nullptr' was not declared in this scope 65 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:111: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In static member function 'static void Rosegarden::NotationWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:337:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 337 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:337:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 337 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:337:20: error: cannot convert 'Rosegarden::NotationWidget*' to 'int*' in initialization 337 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NotationWidget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:340:21: error: request for member 'sceneNeedsRebuilding' in '* _t', which is of non-class type 'int' 340 | case 0: _t->sceneNeedsRebuilding(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:341:21: error: request for member 'toolChanged' in '* _t', which is of non-class type 'int' 341 | case 1: _t->toolChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:342:21: error: request for member 'hoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 342 | case 2: _t->hoveredOverNoteChanged((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:343:21: error: request for member 'headersVisibilityChanged' in '* _t', which is of non-class type 'int' 343 | case 3: _t->headersVisibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:344:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 344 | case 4: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:345:21: error: request for member 'adjustNeeded' in '* _t', which is of non-class type 'int' 345 | case 5: _t->adjustNeeded((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:346:21: error: request for member 'editElement' in '* _t', which is of non-class type 'int' 346 | case 6: _t->editElement((*reinterpret_cast< NotationStaff*(*)>(_a[1])),(*reinterpret_cast< NotationElement*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:111: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:347:21: error: request for member 'currentSegmentPrior' in '* _t', which is of non-class type 'int' 347 | case 7: _t->currentSegmentPrior(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:348:21: error: request for member 'currentSegmentNext' in '* _t', which is of non-class type 'int' 348 | case 8: _t->currentSegmentNext(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:349:21: error: request for member 'slotSetTool' in '* _t', which is of non-class type 'int' 349 | case 9: _t->slotSetTool((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:350:22: error: request for member 'slotSetSelectTool' in '* _t', which is of non-class type 'int' 350 | case 10: _t->slotSetSelectTool(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:351:22: error: request for member 'slotSetSelectNoTiesTool' in '* _t', which is of non-class type 'int' 351 | case 11: _t->slotSetSelectNoTiesTool(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:352:22: error: request for member 'slotSetEraseTool' in '* _t', which is of non-class type 'int' 352 | case 12: _t->slotSetEraseTool(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:353:22: error: request for member 'slotSetNoteRestInserter' in '* _t', which is of non-class type 'int' 353 | case 13: _t->slotSetNoteRestInserter(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:354:22: error: request for member 'slotSetNoteInserter' in '* _t', which is of non-class type 'int' 354 | case 14: _t->slotSetNoteInserter(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:355:22: error: request for member 'slotSetRestInserter' in '* _t', which is of non-class type 'int' 355 | case 15: _t->slotSetRestInserter(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:356:22: error: request for member 'slotSetInsertedNote' in '* _t', which is of non-class type 'int' 356 | case 16: _t->slotSetInsertedNote((*reinterpret_cast< Note::Type(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:357:22: error: request for member 'slotSetAccidental' in '* _t', which is of non-class type 'int' 357 | case 17: _t->slotSetAccidental((*reinterpret_cast< Accidental(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:358:22: error: request for member 'slotSetClefInserter' in '* _t', which is of non-class type 'int' 358 | case 18: _t->slotSetClefInserter(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:359:22: error: request for member 'slotSetInsertedClef' in '* _t', which is of non-class type 'int' 359 | case 19: _t->slotSetInsertedClef((*reinterpret_cast< Clef(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:360:22: error: request for member 'slotSetTextInserter' in '* _t', which is of non-class type 'int' 360 | case 20: _t->slotSetTextInserter(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:361:22: error: request for member 'slotSetGuitarChordInserter' in '* _t', which is of non-class type 'int' 361 | case 21: _t->slotSetGuitarChordInserter(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:362:22: error: request for member 'slotSetLinearMode' in '* _t', which is of non-class type 'int' 362 | case 22: _t->slotSetLinearMode(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:363:22: error: request for member 'slotSetContinuousPageMode' in '* _t', which is of non-class type 'int' 363 | case 23: _t->slotSetContinuousPageMode(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:364:22: error: request for member 'slotSetMultiPageMode' in '* _t', which is of non-class type 'int' 364 | case 24: _t->slotSetMultiPageMode(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:365:22: error: request for member 'slotSetFontName' in '* _t', which is of non-class type 'int' 365 | case 25: _t->slotSetFontName((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:366:22: error: request for member 'slotSetFontSize' in '* _t', which is of non-class type 'int' 366 | case 26: _t->slotSetFontSize((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:367:22: error: request for member 'slotSetPlayTracking' in '* _t', which is of non-class type 'int' 367 | case 27: _t->slotSetPlayTracking((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:368:22: error: request for member 'slotTogglePlayTracking' in '* _t', which is of non-class type 'int' 368 | case 28: _t->slotTogglePlayTracking(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:369:22: error: request for member 'slotSetSymbolInserter' in '* _t', which is of non-class type 'int' 369 | case 29: _t->slotSetSymbolInserter(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:370:22: error: request for member 'slotSetInsertedSymbol' in '* _t', which is of non-class type 'int' 370 | case 30: _t->slotSetInsertedSymbol((*reinterpret_cast< Symbol(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:371:22: error: request for member 'slotToggleVelocityRuler' in '* _t', which is of non-class type 'int' 371 | case 31: _t->slotToggleVelocityRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:372:22: error: request for member 'slotTogglePitchbendRuler' in '* _t', which is of non-class type 'int' 372 | case 32: _t->slotTogglePitchbendRuler(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:373:22: error: request for member 'slotAddControlRuler' in '* _t', which is of non-class type 'int' 373 | case 33: _t->slotAddControlRuler((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:374:22: error: request for member 'slotUpdatePointerPosition' in '* _t', which is of non-class type 'int' 374 | case 34: _t->slotUpdatePointerPosition((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:375:22: error: request for member 'slotUpdatePointerPosition' in '* _t', which is of non-class type 'int' 375 | case 35: _t->slotUpdatePointerPosition(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:376:22: error: request for member 'slotRegenerateHeaders' in '* _t', which is of non-class type 'int' 376 | case 36: _t->slotRegenerateHeaders(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:377:22: error: request for member 'slotDispatchMousePress' in '* _t', which is of non-class type 'int' 377 | case 37: _t->slotDispatchMousePress((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:378:22: error: request for member 'slotDispatchMouseRelease' in '* _t', which is of non-class type 'int' 378 | case 38: _t->slotDispatchMouseRelease((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:379:22: error: request for member 'slotDispatchMouseMove' in '* _t', which is of non-class type 'int' 379 | case 39: _t->slotDispatchMouseMove((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:380:22: error: request for member 'slotDispatchMouseDoubleClick' in '* _t', which is of non-class type 'int' 380 | case 40: _t->slotDispatchMouseDoubleClick((*reinterpret_cast< const NotationMouseEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:381:22: error: request for member 'slotDispatchWheelTurned' in '* _t', which is of non-class type 'int' 381 | case 41: _t->slotDispatchWheelTurned((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const NotationMouseEvent*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:382:22: error: request for member 'slotPointerPositionChanged' in '* _t', which is of non-class type 'int' 382 | case 42: _t->slotPointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:383:22: error: request for member 'slotPointerPositionChanged' in '* _t', which is of non-class type 'int' 383 | case 43: _t->slotPointerPositionChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:384:22: error: request for member 'slotEnsureLastMouseMoveVisible' in '* _t', which is of non-class type 'int' 384 | case 44: _t->slotEnsureLastMouseMoveVisible(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:385:22: error: request for member 'slotZoomInFromPanner' in '* _t', which is of non-class type 'int' 385 | case 45: _t->slotZoomInFromPanner(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:386:22: error: request for member 'slotZoomOutFromPanner' in '* _t', which is of non-class type 'int' 386 | case 46: _t->slotZoomOutFromPanner(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:387:22: error: request for member 'slotHScroll' in '* _t', which is of non-class type 'int' 387 | case 47: _t->slotHScroll(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:388:22: error: request for member 'slotHScrollBarRangeChanged' in '* _t', which is of non-class type 'int' 388 | case 48: _t->slotHScrollBarRangeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:389:22: error: request for member 'slotEnsureTimeVisible' in '* _t', which is of non-class type 'int' 389 | case 49: _t->slotEnsureTimeVisible((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:390:22: error: request for member 'slotHorizontalThumbwheelMoved' in '* _t', which is of non-class type 'int' 390 | case 50: _t->slotHorizontalThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:391:22: error: request for member 'slotVerticalThumbwheelMoved' in '* _t', which is of non-class type 'int' 391 | case 51: _t->slotVerticalThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:392:22: error: request for member 'slotPrimaryThumbwheelMoved' in '* _t', which is of non-class type 'int' 392 | case 52: _t->slotPrimaryThumbwheelMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:393:22: error: request for member 'slotResetZoomClicked' in '* _t', which is of non-class type 'int' 393 | case 53: _t->slotResetZoomClicked(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:394:22: error: request for member 'slotSyncPannerZoomIn' in '* _t', which is of non-class type 'int' 394 | case 54: _t->slotSyncPannerZoomIn(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:395:22: error: request for member 'slotSyncPannerZoomOut' in '* _t', which is of non-class type 'int' 395 | case 55: _t->slotSyncPannerZoomOut(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:396:22: error: request for member 'slotGenerateHeaders' in '* _t', which is of non-class type 'int' 396 | case 56: _t->slotGenerateHeaders(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:397:22: error: request for member 'slotShowHeaderToolTip' in '* _t', which is of non-class type 'int' 397 | case 57: _t->slotShowHeaderToolTip((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:398:22: error: request for member 'slotHeadersResized' in '* _t', which is of non-class type 'int' 398 | case 58: _t->slotHeadersResized((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:399:22: error: request for member 'slotAdjustHeadersHorizontalPos' in '* _t', which is of non-class type 'int' 399 | case 59: _t->slotAdjustHeadersHorizontalPos((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:400:22: error: request for member 'slotAdjustHeadersVerticalPos' in '* _t', which is of non-class type 'int' 400 | case 60: _t->slotAdjustHeadersVerticalPos((*reinterpret_cast< QRectF(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:401:22: error: request for member 'slotCloseHeaders' in '* _t', which is of non-class type 'int' 401 | case 61: _t->slotCloseHeaders(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:402:22: error: request for member 'slotSegmentChangerMoved' in '* _t', which is of non-class type 'int' 402 | case 62: _t->slotSegmentChangerMoved((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:403:22: error: request for member 'slotInitialHSliderHack' in '* _t', which is of non-class type 'int' 403 | case 63: _t->slotInitialHSliderHack((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:404:22: error: request for member 'slotInitialVSliderHack' in '* _t', which is of non-class type 'int' 404 | case 64: _t->slotInitialVSliderHack((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:405:22: error: request for member 'slotUpdateRawNoteRuler' in '* _t', which is of non-class type 'int' 405 | case 65: _t->slotUpdateRawNoteRuler((*reinterpret_cast< ViewSegment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:406:22: error: request for member 'slotUpdateSegmentChangerBackground' in '* _t', which is of non-class type 'int' 406 | case 66: _t->slotUpdateSegmentChangerBackground(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:412:19: error: expected nested-name-specifier before '_t' 412 | using _t = void (NotationWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:35: error: '_t' does not name a type; did you mean 'Qt'? 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:38: error: expected '>' before '*' token 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:38: error: expected '(' before '*' token 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:39: error: expected primary-expression before '>' token 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:63: error: '_t' does not name a type; did you mean 'Qt'? 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:413:106: error: expected ')' before '{' token 413 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::sceneNeedsRebuilding)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:417:9: error: expected primary-expression before '}' token 417 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:419:19: error: expected nested-name-specifier before '_t' 419 | using _t = void (NotationWidget::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:35: error: '_t' does not name a type; did you mean 'Qt'? 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:38: error: expected '>' before '*' token 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:38: error: expected '(' before '*' token 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:39: error: expected primary-expression before '>' token 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:63: error: '_t' does not name a type; did you mean 'Qt'? 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:420:97: error: expected ')' before '{' token 420 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::toolChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:424:9: error: expected primary-expression before '}' token 424 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:426:19: error: expected nested-name-specifier before '_t' 426 | using _t = void (NotationWidget::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:35: error: '_t' does not name a type; did you mean 'Qt'? 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:38: error: expected '>' before '*' token 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:38: error: expected '(' before '*' token 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:39: error: expected primary-expression before '>' token 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:63: error: '_t' does not name a type; did you mean 'Qt'? 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:427:108: error: expected ')' before '{' token 427 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::hoveredOverNoteChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:431:9: error: expected primary-expression before '}' token 431 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:433:19: error: expected nested-name-specifier before '_t' 433 | using _t = void (NotationWidget::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:35: error: '_t' does not name a type; did you mean 'Qt'? 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:38: error: expected '>' before '*' token 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:38: error: expected '(' before '*' token 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:39: error: expected primary-expression before '>' token 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:63: error: '_t' does not name a type; did you mean 'Qt'? 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:434:110: error: expected ')' before '{' token 434 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::headersVisibilityChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:438:9: error: expected primary-expression before '}' token 438 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:440:19: error: expected nested-name-specifier before '_t' 440 | using _t = void (NotationWidget::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:35: error: '_t' does not name a type; did you mean 'Qt'? 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:38: error: expected '>' before '*' token 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:38: error: expected '(' before '*' token 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:39: error: expected primary-expression before '>' token 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:63: error: '_t' does not name a type; did you mean 'Qt'? 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:441:101: error: expected ')' before '{' token 441 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:445:9: error: expected primary-expression before '}' token 445 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:447:19: error: expected nested-name-specifier before '_t' 447 | using _t = void (NotationWidget::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:35: error: '_t' does not name a type; did you mean 'Qt'? 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:38: error: expected '>' before '*' token 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:38: error: expected '(' before '*' token 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:39: error: expected primary-expression before '>' token 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:63: error: '_t' does not name a type; did you mean 'Qt'? 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:448:98: error: expected ')' before '{' token 448 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::adjustNeeded)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:452:9: error: expected primary-expression before '}' token 452 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:454:19: error: expected nested-name-specifier before '_t' 454 | using _t = void (NotationWidget::*)(NotationStaff * , NotationElement * , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:35: error: '_t' does not name a type; did you mean 'Qt'? 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:38: error: expected '>' before '*' token 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:38: error: expected '(' before '*' token 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:39: error: expected primary-expression before '>' token 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:63: error: '_t' does not name a type; did you mean 'Qt'? 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:455:97: error: expected ')' before '{' token 455 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::editElement)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:459:9: error: expected primary-expression before '}' token 459 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:461:19: error: expected nested-name-specifier before '_t' 461 | using _t = void (NotationWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:35: error: '_t' does not name a type; did you mean 'Qt'? 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:38: error: expected '>' before '*' token 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:38: error: expected '(' before '*' token 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:39: error: expected primary-expression before '>' token 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:63: error: '_t' does not name a type; did you mean 'Qt'? 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:462:105: error: expected ')' before '{' token 462 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentPrior)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:466:9: error: expected primary-expression before '}' token 466 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:468:19: error: expected nested-name-specifier before '_t' 468 | using _t = void (NotationWidget::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:35: error: '_t' does not name a type; did you mean 'Qt'? 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:38: error: expected '>' before '*' token 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:38: error: expected '(' before '*' token 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:39: error: expected primary-expression before '>' token 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:63: error: '_t' does not name a type; did you mean 'Qt'? 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:469:104: error: expected ')' before '{' token 469 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotationWidget::currentSegmentNext)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:473:9: error: expected primary-expression before '}' token 473 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:410:14: warning: unused variable 'result' [-Wunused-variable] 410 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:482:5: error: 'nullptr' was not declared in this scope 482 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:483:5: error: 'nullptr' was not declared in this scope 483 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'virtual void* Rosegarden::NotationWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:494:26: error: 'nullptr' was not declared in this scope 494 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::sceneNeedsRebuilding()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:522:55: error: 'nullptr' was not declared in this scope 522 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::toolChanged(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:528:20: error: 'nullptr' was not declared in this scope 528 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::hoveredOverNoteChanged(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:535:20: error: 'nullptr' was not declared in this scope 535 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::headersVisibilityChanged(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:542:20: error: 'nullptr' was not declared in this scope 542 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:549:20: error: 'nullptr' was not declared in this scope 549 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::adjustNeeded(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:556:20: error: 'nullptr' was not declared in this scope 556 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::editElement(Rosegarden::NotationStaff*, Rosegarden::NotationElement*, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:563:20: error: 'nullptr' was not declared in this scope 563 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::currentSegmentPrior()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:570:55: error: 'nullptr' was not declared in this scope 570 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp: In member function 'void Rosegarden::NotationWidget::currentSegmentNext()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NotationWidget.cpp:576:55: error: 'nullptr' was not declared in this scope 576 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteFontViewer.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteFontViewer.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteFontViewer.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:112: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp: In static member function 'static void Rosegarden::NoteFontViewer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:75:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 75 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:75:20: error: cannot convert 'Rosegarden::NoteFontViewer*' to 'int*' in initialization 75 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NoteFontViewer* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:78:21: error: request for member 'slotFontChanged' in '* _t', which is of non-class type 'int' 78 | case 0: _t->slotFontChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:79:21: error: request for member 'slotViewChanged' in '* _t', which is of non-class type 'int' 79 | case 1: _t->slotViewChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:80:21: error: request for member 'slotRowChanged' in '* _t', which is of non-class type 'int' 80 | case 2: _t->slotRowChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:91:5: error: 'nullptr' was not declared in this scope 91 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp: In member function 'virtual void* Rosegarden::NoteFontViewer::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteFontViewer.cpp:103:26: error: 'nullptr' was not declared in this scope 103 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteRestInserter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteRestInserter.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/NoteRestInserter.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:113: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp: In static member function 'static void Rosegarden::NoteRestInserter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:102:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 102 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:102:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 102 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:102:20: error: cannot convert 'Rosegarden::NoteRestInserter*' to 'int*' in initialization 102 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NoteRestInserter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:105:21: error: request for member 'slotSetNote' in '* _t', which is of non-class type 'int' 105 | case 0: _t->slotSetNote((*reinterpret_cast< Note::Type(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:106:21: error: request for member 'slotSetDots' in '* _t', which is of non-class type 'int' 106 | case 1: _t->slotSetDots((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:107:21: error: request for member 'slotSetAccidental' in '* _t', which is of non-class type 'int' 107 | case 2: _t->slotSetAccidental((*reinterpret_cast< Accidental(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:108:21: error: request for member 'slotToggleDot' in '* _t', which is of non-class type 'int' 108 | case 3: _t->slotToggleDot(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:109:21: error: request for member 'slotToggleAutoBeam' in '* _t', which is of non-class type 'int' 109 | case 4: _t->slotToggleAutoBeam(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:110:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 110 | case 5: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:111:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 111 | case 6: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:112:21: error: request for member 'slotRestsSelected' in '* _t', which is of non-class type 'int' 112 | case 7: _t->slotRestsSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:113:21: error: request for member 'slotNotesSelected' in '* _t', which is of non-class type 'int' 113 | case 8: _t->slotNotesSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:124:5: error: 'nullptr' was not declared in this scope 124 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:125:5: error: 'nullptr' was not declared in this scope 125 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp: In member function 'virtual void* Rosegarden::NoteRestInserter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_NoteRestInserter.cpp:136:26: error: 'nullptr' was not declared in this scope 136 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/StaffHeader.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/StaffHeader.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/StaffHeader.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:114: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp: In static member function 'static void Rosegarden::StaffHeader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:87:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 87 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:87:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 87 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:87:20: error: cannot convert 'Rosegarden::StaffHeader*' to 'int*' in initialization 87 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::StaffHeader* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:90:21: error: request for member 'showToolTip' in '* _t', which is of non-class type 'int' 90 | case 0: _t->showToolTip((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:91:21: error: request for member 'staffModified' in '* _t', which is of non-class type 'int' 91 | case 1: _t->staffModified(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:92:21: error: request for member 'slotToolTip' in '* _t', which is of non-class type 'int' 92 | case 2: _t->slotToolTip(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:93:21: error: request for member 'slotSetCurrent' in '* _t', which is of non-class type 'int' 93 | case 3: _t->slotSetCurrent(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:94:21: error: request for member 'slotShowInconsistencies' in '* _t', which is of non-class type 'int' 94 | case 4: _t->slotShowInconsistencies(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:100:19: error: expected nested-name-specifier before '_t' 100 | using _t = void (StaffHeader::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:35: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:38: error: expected '>' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:38: error: expected '(' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:39: error: expected primary-expression before '>' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:63: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:101:94: error: expected ')' before '{' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::showToolTip)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:105:9: error: expected primary-expression before '}' token 105 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:107:19: error: expected nested-name-specifier before '_t' 107 | using _t = void (StaffHeader::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:35: error: '_t' does not name a type; did you mean 'Qt'? 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:38: error: expected '>' before '*' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:38: error: expected '(' before '*' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:39: error: expected primary-expression before '>' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:63: error: '_t' does not name a type; did you mean 'Qt'? 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:108:96: error: expected ')' before '{' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StaffHeader::staffModified)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:112:9: error: expected primary-expression before '}' token 112 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:98:14: warning: unused variable 'result' [-Wunused-variable] 98 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:121:5: error: 'nullptr' was not declared in this scope 121 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:122:5: error: 'nullptr' was not declared in this scope 122 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp: In member function 'virtual void* Rosegarden::StaffHeader::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:133:26: error: 'nullptr' was not declared in this scope 133 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp: In member function 'void Rosegarden::StaffHeader::showToolTip(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:161:20: error: 'nullptr' was not declared in this scope 161 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp: In member function 'void Rosegarden::StaffHeader::staffModified()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_StaffHeader.cpp:168:55: error: 'nullptr' was not declared in this scope 168 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/SymbolInserter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/SymbolInserter.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/SymbolInserter.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:115: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp: In static member function 'static void Rosegarden::SymbolInserter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:81:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 81 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:81:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 81 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:81:20: error: cannot convert 'Rosegarden::SymbolInserter*' to 'int*' in initialization 81 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SymbolInserter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:84:21: error: request for member 'slotSetSymbol' in '* _t', which is of non-class type 'int' 84 | case 0: _t->slotSetSymbol((*reinterpret_cast< Symbol(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:85:21: error: request for member 'slotNotesSelected' in '* _t', which is of non-class type 'int' 85 | case 1: _t->slotNotesSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:86:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 86 | case 2: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:87:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 87 | case 3: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:98:5: error: 'nullptr' was not declared in this scope 98 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:99:5: error: 'nullptr' was not declared in this scope 99 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp: In member function 'virtual void* Rosegarden::SymbolInserter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_SymbolInserter.cpp:110:26: error: 'nullptr' was not declared in this scope 110 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/TextInserter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/TextInserter.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/notation/TextInserter.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:116: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp: In static member function 'static void Rosegarden::TextInserter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:75:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 75 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:75:20: error: cannot convert 'Rosegarden::TextInserter*' to 'int*' in initialization 75 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TextInserter* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:78:21: error: request for member 'slotNotesSelected' in '* _t', which is of non-class type 'int' 78 | case 0: _t->slotNotesSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:79:21: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 79 | case 1: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:80:21: error: request for member 'slotSelectSelected' in '* _t', which is of non-class type 'int' 80 | case 2: _t->slotSelectSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp: In member function 'virtual void* Rosegarden::TextInserter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/XVAGPESQ7F/moc_TextInserter.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/InstrumentParameterPanel.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/InstrumentParameterPanel.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/InstrumentParameterPanel.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/AudioInstrumentParameterPanel.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/AudioInstrumentParameterPanel.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:117: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp: In static member function 'static void Rosegarden::AudioInstrumentParameterPanel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:134:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 134 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:134:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 134 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:134:20: error: cannot convert 'Rosegarden::AudioInstrumentParameterPanel*' to 'int*' in initialization 134 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioInstrumentParameterPanel* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:137:21: error: request for member 'selectPlugin' in '* _t', which is of non-class type 'int' 137 | case 0: _t->selectPlugin((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:138:21: error: request for member 'showPluginGUI' in '* _t', which is of non-class type 'int' 138 | case 1: _t->showPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:139:21: error: request for member 'slotSelectAudioLevel' in '* _t', which is of non-class type 'int' 139 | case 2: _t->slotSelectAudioLevel((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:140:21: error: request for member 'slotSelectAudioRecordLevel' in '* _t', which is of non-class type 'int' 140 | case 3: _t->slotSelectAudioRecordLevel((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:141:21: error: request for member 'slotAudioChannels' in '* _t', which is of non-class type 'int' 141 | case 4: _t->slotAudioChannels((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:142:21: error: request for member 'slotSelectPlugin' in '* _t', which is of non-class type 'int' 142 | case 5: _t->slotSelectPlugin((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:143:21: error: request for member 'slotSetPan' in '* _t', which is of non-class type 'int' 143 | case 6: _t->slotSetPan((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:144:21: error: request for member 'slotPluginSelected' in '* _t', which is of non-class type 'int' 144 | case 7: _t->slotPluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:145:21: error: request for member 'slotPluginBypassed' in '* _t', which is of non-class type 'int' 145 | case 8: _t->slotPluginBypassed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:146:21: error: request for member 'slotSynthButtonClicked' in '* _t', which is of non-class type 'int' 146 | case 9: _t->slotSynthButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:147:22: error: request for member 'slotSynthGUIButtonClicked' in '* _t', which is of non-class type 'int' 147 | case 10: _t->slotSynthGUIButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:148:22: error: request for member 'slotAliasChanged' in '* _t', which is of non-class type 'int' 148 | case 11: _t->slotAliasChanged(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:149:22: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 149 | case 12: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:150:22: error: request for member 'slotControlChange' in '* _t', which is of non-class type 'int' 150 | case 13: _t->slotControlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:181:19: error: expected nested-name-specifier before '_t' 181 | using _t = void (AudioInstrumentParameterPanel::*)(QWidget * , InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:35: error: '_t' does not name a type; did you mean 'Qt'? 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:38: error: expected '>' before '*' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:38: error: expected '(' before '*' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:39: error: expected primary-expression before '>' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:63: error: '_t' does not name a type; did you mean 'Qt'? 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:182:113: error: expected ')' before '{' token 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::selectPlugin)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:186:9: error: expected primary-expression before '}' token 186 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:188:19: error: expected nested-name-specifier before '_t' 188 | using _t = void (AudioInstrumentParameterPanel::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:35: error: '_t' does not name a type; did you mean 'Qt'? 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:38: error: expected '>' before '*' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:38: error: expected '(' before '*' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:39: error: expected primary-expression before '>' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:63: error: '_t' does not name a type; did you mean 'Qt'? 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:189:114: error: expected ')' before '{' token 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioInstrumentParameterPanel::showPluginGUI)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:193:9: error: expected primary-expression before '}' token 193 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:179:14: warning: unused variable 'result' [-Wunused-variable] 179 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:202:5: error: 'nullptr' was not declared in this scope 202 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:203:5: error: 'nullptr' was not declared in this scope 203 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp: In member function 'virtual void* Rosegarden::AudioInstrumentParameterPanel::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:214:26: error: 'nullptr' was not declared in this scope 214 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp: In member function 'void Rosegarden::AudioInstrumentParameterPanel::selectPlugin(QWidget*, Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:240:20: error: 'nullptr' was not declared in this scope 240 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp: In member function 'void Rosegarden::AudioInstrumentParameterPanel::showPluginGUI(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_AudioInstrumentParameterPanel.cpp:247:20: error: 'nullptr' was not declared in this scope 247 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/RosegardenParameterArea.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/RosegardenParameterArea.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/RosegardenParameterArea.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/RosegardenParameterBox.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/RosegardenParameterBox.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/InstrumentParameterBox.h:59:1: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/InstrumentParameterBox.h:59:1: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:118: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: In static member function 'static void Rosegarden::InstrumentParameterBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:97:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 97 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:97:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 97 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:97:20: error: cannot convert 'Rosegarden::InstrumentParameterBox*' to 'int*' in initialization 97 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::InstrumentParameterBox* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:100:21: error: request for member 'selectPlugin' in '* _t', which is of non-class type 'int' 100 | case 0: _t->selectPlugin((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:118: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:101:21: error: request for member 'showPluginGUI' in '* _t', which is of non-class type 'int' 101 | case 1: _t->showPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:102:21: error: request for member 'instrumentPercussionSetChanged' in '* _t', which is of non-class type 'int' 102 | case 2: _t->instrumentPercussionSetChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:103:21: error: request for member 'slotPluginSelected' in '* _t', which is of non-class type 'int' 103 | case 3: _t->slotPluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:104:21: error: request for member 'slotPluginBypassed' in '* _t', which is of non-class type 'int' 104 | case 4: _t->slotPluginBypassed((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:128:19: error: expected nested-name-specifier before '_t' 128 | using _t = void (InstrumentParameterBox::*)(QWidget * , InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:35: error: '_t' does not name a type; did you mean 'Qt'? 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:38: error: expected '>' before '*' token 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:38: error: expected '(' before '*' token 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:39: error: expected primary-expression before '>' token 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:63: error: '_t' does not name a type; did you mean 'Qt'? 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:129:106: error: expected ')' before '{' token 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::selectPlugin)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:133:9: error: expected primary-expression before '}' token 133 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:135:19: error: expected nested-name-specifier before '_t' 135 | using _t = void (InstrumentParameterBox::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:35: error: '_t' does not name a type; did you mean 'Qt'? 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:38: error: expected '>' before '*' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:38: error: expected '(' before '*' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:39: error: expected primary-expression before '>' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:63: error: '_t' does not name a type; did you mean 'Qt'? 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:136:107: error: expected ')' before '{' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::showPluginGUI)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:140:9: error: expected primary-expression before '}' token 140 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:142:19: error: expected nested-name-specifier before '_t' 142 | using _t = void (InstrumentParameterBox::*)(Instrument * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:35: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:38: error: expected '>' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:38: error: expected '(' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:39: error: expected primary-expression before '>' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:63: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:143:124: error: expected ')' before '{' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentParameterBox::instrumentPercussionSetChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:147:9: error: expected primary-expression before '}' token 147 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:126:14: warning: unused variable 'result' [-Wunused-variable] 126 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:156:5: error: 'nullptr' was not declared in this scope 156 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:157:5: error: 'nullptr' was not declared in this scope 157 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: In member function 'virtual void* Rosegarden::InstrumentParameterBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:168:26: error: 'nullptr' was not declared in this scope 168 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: In member function 'void Rosegarden::InstrumentParameterBox::selectPlugin(QWidget*, Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:194:20: error: 'nullptr' was not declared in this scope 194 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: In member function 'void Rosegarden::InstrumentParameterBox::showPluginGUI(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:201:20: error: 'nullptr' was not declared in this scope 201 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp: In member function 'void Rosegarden::InstrumentParameterBox::instrumentPercussionSetChanged(Rosegarden::Instrument*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterBox.cpp:208:20: error: 'nullptr' was not declared in this scope 208 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:119: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp: In static member function 'static void Rosegarden::InstrumentParameterPanel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:69:20: error: cannot convert 'Rosegarden::InstrumentParameterPanel*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::InstrumentParameterPanel* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:72:21: error: request for member 'slotInstrumentGone' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotInstrumentGone(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp: In member function 'virtual void* Rosegarden::InstrumentParameterPanel::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_InstrumentParameterPanel.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/MIDIInstrumentParameterPanel.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/MIDIInstrumentParameterPanel.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/MIDIInstrumentParameterPanel.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:120: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp: In static member function 'static void Rosegarden::MIDIInstrumentParameterPanel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:117:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 117 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:117:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 117 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:117:20: error: cannot convert 'Rosegarden::MIDIInstrumentParameterPanel*' to 'int*' in initialization 117 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MIDIInstrumentParameterPanel* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:120:21: error: request for member 'slotExternalProgramChange' in '* _t', which is of non-class type 'int' 120 | case 0: _t->slotExternalProgramChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:121:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 121 | case 1: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:122:21: error: request for member 'slotControlChange' in '* _t', which is of non-class type 'int' 122 | case 2: _t->slotControlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:123:21: error: request for member 'slotPercussionClicked' in '* _t', which is of non-class type 'int' 123 | case 3: _t->slotPercussionClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:124:21: error: request for member 'slotBankClicked' in '* _t', which is of non-class type 'int' 124 | case 4: _t->slotBankClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:125:21: error: request for member 'slotSelectBank' in '* _t', which is of non-class type 'int' 125 | case 5: _t->slotSelectBank((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:126:21: error: request for member 'slotProgramClicked' in '* _t', which is of non-class type 'int' 126 | case 6: _t->slotProgramClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:127:21: error: request for member 'slotSelectProgram' in '* _t', which is of non-class type 'int' 127 | case 7: _t->slotSelectProgram((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:128:21: error: request for member 'slotVariationClicked' in '* _t', which is of non-class type 'int' 128 | case 8: _t->slotVariationClicked((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:129:21: error: request for member 'slotSelectVariation' in '* _t', which is of non-class type 'int' 129 | case 9: _t->slotSelectVariation((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:130:22: error: request for member 'slotSelectChannel' in '* _t', which is of non-class type 'int' 130 | case 10: _t->slotSelectChannel((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:131:22: error: request for member 'slotControllerChanged' in '* _t', which is of non-class type 'int' 131 | case 11: _t->slotControllerChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:160:5: error: 'nullptr' was not declared in this scope 160 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:161:5: error: 'nullptr' was not declared in this scope 161 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp: In member function 'virtual void* Rosegarden::MIDIInstrumentParameterPanel::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_MIDIInstrumentParameterPanel.cpp:172:26: error: 'nullptr' was not declared in this scope 172 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:121: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterArea.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterArea.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterArea.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterArea.cpp: In member function 'virtual void* Rosegarden::RosegardenParameterArea::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterArea.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:122: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterBox.cpp: In member function 'virtual void* Rosegarden::RosegardenParameterBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_RosegardenParameterBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/SegmentParameterBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/SegmentParameterBox.h:55:1: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/SegmentParameterBox.h:55:1: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:123: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp: In static member function 'static void Rosegarden::SegmentParameterBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:142:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 142 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:142:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 142 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:142:20: error: cannot convert 'Rosegarden::SegmentParameterBox*' to 'int*' in initialization 142 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SegmentParameterBox* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:145:21: error: request for member 'documentModified' in '* _t', which is of non-class type 'int' 145 | case 0: _t->documentModified(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:146:21: error: request for member 'canvasModified' in '* _t', which is of non-class type 'int' 146 | case 1: _t->canvasModified(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:147:21: error: request for member 'slotRepeatPressed' in '* _t', which is of non-class type 'int' 147 | case 2: _t->slotRepeatPressed(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:148:21: error: request for member 'slotQuantizeSelected' in '* _t', which is of non-class type 'int' 148 | case 3: _t->slotQuantizeSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:149:21: error: request for member 'slotTransposeSelected' in '* _t', which is of non-class type 'int' 149 | case 4: _t->slotTransposeSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:150:21: error: request for member 'slotTransposeTextChanged' in '* _t', which is of non-class type 'int' 150 | case 5: _t->slotTransposeTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:151:21: error: request for member 'slotDelaySelected' in '* _t', which is of non-class type 'int' 151 | case 6: _t->slotDelaySelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:152:21: error: request for member 'slotDelayTimeChanged' in '* _t', which is of non-class type 'int' 152 | case 7: _t->slotDelayTimeChanged((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:153:21: error: request for member 'slotDelayTextChanged' in '* _t', which is of non-class type 'int' 153 | case 8: _t->slotDelayTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:154:21: error: request for member 'slotEditSegmentLabel' in '* _t', which is of non-class type 'int' 154 | case 9: _t->slotEditSegmentLabel(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:155:22: error: request for member 'slotColourSelected' in '* _t', which is of non-class type 'int' 155 | case 10: _t->slotColourSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:156:22: error: request for member 'slotDocColoursChanged' in '* _t', which is of non-class type 'int' 156 | case 11: _t->slotDocColoursChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:157:22: error: request for member 'slotAudioFadeChanged' in '* _t', which is of non-class type 'int' 157 | case 12: _t->slotAudioFadeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:158:22: error: request for member 'slotFadeInChanged' in '* _t', which is of non-class type 'int' 158 | case 13: _t->slotFadeInChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:159:22: error: request for member 'slotFadeOutChanged' in '* _t', which is of non-class type 'int' 159 | case 14: _t->slotFadeOutChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:160:22: error: request for member 'slotHighestPressed' in '* _t', which is of non-class type 'int' 160 | case 15: _t->slotHighestPressed(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:161:22: error: request for member 'slotLowestPressed' in '* _t', which is of non-class type 'int' 161 | case 16: _t->slotLowestPressed(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:162:22: error: request for member 'slotChangeLinkTranspose' in '* _t', which is of non-class type 'int' 162 | case 17: _t->slotChangeLinkTranspose(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:163:22: error: request for member 'slotResetLinkTranspose' in '* _t', which is of non-class type 'int' 163 | case 18: _t->slotResetLinkTranspose(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:164:22: error: request for member 'update' in '* _t', which is of non-class type 'int' 164 | case 19: _t->update(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:170:19: error: expected nested-name-specifier before '_t' 170 | using _t = void (SegmentParameterBox::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:35: error: '_t' does not name a type; did you mean 'Qt'? 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:38: error: expected '>' before '*' token 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:38: error: expected '(' before '*' token 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:39: error: expected primary-expression before '>' token 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:63: error: '_t' does not name a type; did you mean 'Qt'? 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:171:107: error: expected ')' before '{' token 171 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::documentModified)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:175:9: error: expected primary-expression before '}' token 175 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:177:19: error: expected nested-name-specifier before '_t' 177 | using _t = void (SegmentParameterBox::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:35: error: '_t' does not name a type; did you mean 'Qt'? 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:38: error: expected '>' before '*' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:38: error: expected '(' before '*' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:39: error: expected primary-expression before '>' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:63: error: '_t' does not name a type; did you mean 'Qt'? 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:178:105: error: expected ')' before '{' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SegmentParameterBox::canvasModified)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:182:9: error: expected primary-expression before '}' token 182 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:168:14: warning: unused variable 'result' [-Wunused-variable] 168 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:191:5: error: 'nullptr' was not declared in this scope 191 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:192:5: error: 'nullptr' was not declared in this scope 192 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp: In member function 'virtual void* Rosegarden::SegmentParameterBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:203:26: error: 'nullptr' was not declared in this scope 203 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp: In member function 'void Rosegarden::SegmentParameterBox::documentModified()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:231:55: error: 'nullptr' was not declared in this scope 231 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp: In member function 'void Rosegarden::SegmentParameterBox::canvasModified()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_SegmentParameterBox.cpp:237:55: error: 'nullptr' was not declared in this scope 237 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/SqueezedLabel.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/SqueezedLabel.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/SqueezedLabel.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/TrackParameterBox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/parameters/TrackParameterBox.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:124: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp: In static member function 'static void Rosegarden::TrackParameterBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:140:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 140 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:140:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 140 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:140:20: error: cannot convert 'Rosegarden::TrackParameterBox*' to 'int*' in initialization 140 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TrackParameterBox* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:143:21: error: request for member 'instrumentSelected' in '* _t', which is of non-class type 'int' 143 | case 0: _t->instrumentSelected((*reinterpret_cast< TrackId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:144:21: error: request for member 'slotDocColoursChanged' in '* _t', which is of non-class type 'int' 144 | case 1: _t->slotDocColoursChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:145:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 145 | case 2: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:146:21: error: request for member 'devicesChanged' in '* _t', which is of non-class type 'int' 146 | case 3: _t->devicesChanged(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:147:21: error: request for member 'slotPlaybackDeviceChanged' in '* _t', which is of non-class type 'int' 147 | case 4: _t->slotPlaybackDeviceChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:148:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 148 | case 5: _t->slotInstrumentChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:149:21: error: request for member 'slotArchiveChanged' in '* _t', which is of non-class type 'int' 149 | case 6: _t->slotArchiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:150:21: error: request for member 'slotRecordingDeviceChanged' in '* _t', which is of non-class type 'int' 150 | case 7: _t->slotRecordingDeviceChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:151:21: error: request for member 'slotRecordingChannelChanged' in '* _t', which is of non-class type 'int' 151 | case 8: _t->slotRecordingChannelChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:152:21: error: request for member 'slotThruRoutingChanged' in '* _t', which is of non-class type 'int' 152 | case 9: _t->slotThruRoutingChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:153:22: error: request for member 'slotNotationSizeChanged' in '* _t', which is of non-class type 'int' 153 | case 10: _t->slotNotationSizeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:154:22: error: request for member 'slotBracketTypeChanged' in '* _t', which is of non-class type 'int' 154 | case 11: _t->slotBracketTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:155:22: error: request for member 'slotLoadPressed' in '* _t', which is of non-class type 'int' 155 | case 12: _t->slotLoadPressed(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:156:22: error: request for member 'slotClefChanged' in '* _t', which is of non-class type 'int' 156 | case 13: _t->slotClefChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:157:22: error: request for member 'slotTransposeChanged' in '* _t', which is of non-class type 'int' 157 | case 14: _t->slotTransposeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:158:22: error: request for member 'slotLowestPressed' in '* _t', which is of non-class type 'int' 158 | case 15: _t->slotLowestPressed(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:159:22: error: request for member 'slotHighestPressed' in '* _t', which is of non-class type 'int' 159 | case 16: _t->slotHighestPressed(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:160:22: error: request for member 'slotColorChanged' in '* _t', which is of non-class type 'int' 160 | case 17: _t->slotColorChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:177:19: error: expected nested-name-specifier before '_t' 177 | using _t = void (TrackParameterBox::*)(TrackId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:35: error: '_t' does not name a type; did you mean 'Qt'? 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:38: error: expected '>' before '*' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:38: error: expected '(' before '*' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:39: error: expected primary-expression before '>' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:63: error: '_t' does not name a type; did you mean 'Qt'? 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:178:107: error: expected ')' before '{' token 178 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackParameterBox::instrumentSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:182:9: error: expected primary-expression before '}' token 182 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:175:14: warning: unused variable 'result' [-Wunused-variable] 175 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:191:5: error: 'nullptr' was not declared in this scope 191 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:192:5: error: 'nullptr' was not declared in this scope 192 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp: In member function 'virtual void* Rosegarden::TrackParameterBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:203:26: error: 'nullptr' was not declared in this scope 203 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp: In member function 'void Rosegarden::TrackParameterBox::instrumentSelected(Rosegarden::TrackId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/S6RWFA53GF/moc_TrackParameterBox.cpp:231:20: error: 'nullptr' was not declared in this scope 231 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchGraphWidget.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchGraphWidget.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchGraphWidget.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:125: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchGraphWidget.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchGraphWidget.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchGraphWidget.cpp: In member function 'virtual void* Rosegarden::PitchGraphWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchGraphWidget.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchTrackerView.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchTrackerView.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/pitchtracker/PitchTrackerView.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:126: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp: In static member function 'static void Rosegarden::PitchTrackerView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:90:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 90 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:90:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 90 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:90:20: error: cannot convert 'Rosegarden::PitchTrackerView*' to 'int*' in initialization 90 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PitchTrackerView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:93:21: error: request for member 'slotUpdateValues' in '* _t', which is of non-class type 'int' 93 | case 0: _t->slotUpdateValues((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:94:21: error: request for member 'slotStartTracker' in '* _t', which is of non-class type 'int' 94 | case 1: _t->slotStartTracker(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:95:21: error: request for member 'slotStopTracker' in '* _t', which is of non-class type 'int' 95 | case 2: _t->slotStopTracker(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:96:21: error: request for member 'slotPlaybackJump' in '* _t', which is of non-class type 'int' 96 | case 3: _t->slotPlaybackJump(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:97:21: error: request for member 'slotNewTuningFromAction' in '* _t', which is of non-class type 'int' 97 | case 4: _t->slotNewTuningFromAction((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:98:21: error: request for member 'slotNewPitchEstimationMethod' in '* _t', which is of non-class type 'int' 98 | case 5: _t->slotNewPitchEstimationMethod((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:109:5: error: 'nullptr' was not declared in this scope 109 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:110:5: error: 'nullptr' was not declared in this scope 110 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp: In member function 'virtual void* Rosegarden::PitchTrackerView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/BBG343WLUY/moc_PitchTrackerView.cpp:121:26: error: 'nullptr' was not declared in this scope 121 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/MarkerEditor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/MarkerEditor.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/MarkerEditor.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:127: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp: In static member function 'static void Rosegarden::MarkerEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:118:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 118 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:118:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 118 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:118:20: error: cannot convert 'Rosegarden::MarkerEditor*' to 'int*' in initialization 118 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MarkerEditor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:121:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 121 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:122:21: error: request for member 'jumpToMarker' in '* _t', which is of non-class type 'int' 122 | case 1: _t->jumpToMarker((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:123:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 123 | case 2: _t->slotUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:124:21: error: request for member 'slotAdd' in '* _t', which is of non-class type 'int' 124 | case 3: _t->slotAdd(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:125:21: error: request for member 'slotDelete' in '* _t', which is of non-class type 'int' 125 | case 4: _t->slotDelete(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:126:21: error: request for member 'slotDeleteAll' in '* _t', which is of non-class type 'int' 126 | case 5: _t->slotDeleteAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:127:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 127 | case 6: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:128:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 128 | case 7: _t->slotEdit((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:129:21: error: request for member 'slotItemClicked' in '* _t', which is of non-class type 'int' 129 | case 8: _t->slotItemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:127: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:130:21: error: request for member 'slotMusicalTime' in '* _t', which is of non-class type 'int' 130 | case 9: _t->slotMusicalTime(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:131:22: error: request for member 'slotRealTime' in '* _t', which is of non-class type 'int' 131 | case 10: _t->slotRealTime(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:132:22: error: request for member 'slotRawTime' in '* _t', which is of non-class type 'int' 132 | case 11: _t->slotRawTime(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:133:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 133 | case 12: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:134:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 134 | case 13: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:140:19: error: expected nested-name-specifier before '_t' 140 | using _t = void (MarkerEditor::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:35: error: '_t' does not name a type; did you mean 'Qt'? 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:38: error: expected '>' before '*' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:38: error: expected '(' before '*' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:39: error: expected primary-expression before '>' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:63: error: '_t' does not name a type; did you mean 'Qt'? 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:141:91: error: expected ')' before '{' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:145:9: error: expected primary-expression before '}' token 145 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:147:19: error: expected nested-name-specifier before '_t' 147 | using _t = void (MarkerEditor::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:35: error: '_t' does not name a type; did you mean 'Qt'? 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:38: error: expected '>' before '*' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:38: error: expected '(' before '*' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:39: error: expected primary-expression before '>' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:63: error: '_t' does not name a type; did you mean 'Qt'? 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:148:96: error: expected ')' before '{' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerEditor::jumpToMarker)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:152:9: error: expected primary-expression before '}' token 152 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:138:14: warning: unused variable 'result' [-Wunused-variable] 138 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:161:5: error: 'nullptr' was not declared in this scope 161 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:162:5: error: 'nullptr' was not declared in this scope 162 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp: In member function 'virtual void* Rosegarden::MarkerEditor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:173:26: error: 'nullptr' was not declared in this scope 173 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp: In member function 'void Rosegarden::MarkerEditor::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:201:55: error: 'nullptr' was not declared in this scope 201 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp: In member function 'void Rosegarden::MarkerEditor::jumpToMarker(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_MarkerEditor.cpp:207:20: error: 'nullptr' was not declared in this scope 207 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayList.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayList.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayList.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:128: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp: In static member function 'static void Rosegarden::PlayList::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:106:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 106 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:106:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 106 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:106:20: error: cannot convert 'Rosegarden::PlayList*' to 'int*' in initialization 106 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PlayList* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:109:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 109 | case 0: _t->play((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:110:21: error: request for member 'slotOpenFiles' in '* _t', which is of non-class type 'int' 110 | case 1: _t->slotOpenFiles(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:111:21: error: request for member 'slotPlay' in '* _t', which is of non-class type 'int' 111 | case 2: _t->slotPlay(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:112:21: error: request for member 'slotMoveUp' in '* _t', which is of non-class type 'int' 112 | case 3: _t->slotMoveUp(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:113:21: error: request for member 'slotMoveDown' in '* _t', which is of non-class type 'int' 113 | case 4: _t->slotMoveDown(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:114:21: error: request for member 'slotDeleteCurrent' in '* _t', which is of non-class type 'int' 114 | case 5: _t->slotDeleteCurrent(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:115:21: error: request for member 'slotClear' in '* _t', which is of non-class type 'int' 115 | case 6: _t->slotClear(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:116:21: error: request for member 'slotCurrentItemChanged' in '* _t', which is of non-class type 'int' 116 | case 7: _t->slotCurrentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:128: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:117:21: error: request for member 'slotDroppedURIs' in '* _t', which is of non-class type 'int' 117 | case 8: _t->slotDroppedURIs((*reinterpret_cast< QDropEvent*(*)>(_a[1])),(*reinterpret_cast< QTreeWidget*(*)>(_a[2])),(*reinterpret_cast< QStringList(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:123:19: error: expected nested-name-specifier before '_t' 123 | using _t = void (PlayList::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:35: error: '_t' does not name a type; did you mean 'Qt'? 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:38: error: expected '>' before '*' token 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:38: error: expected '(' before '*' token 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:39: error: expected primary-expression before '>' token 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:63: error: '_t' does not name a type; did you mean 'Qt'? 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:124:84: error: expected ')' before '{' token 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayList::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:128:9: error: expected primary-expression before '}' token 128 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:121:14: warning: unused variable 'result' [-Wunused-variable] 121 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:137:5: error: 'nullptr' was not declared in this scope 137 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:138:5: error: 'nullptr' was not declared in this scope 138 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp: In member function 'virtual void* Rosegarden::PlayList::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:149:26: error: 'nullptr' was not declared in this scope 149 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp: In member function 'void Rosegarden::PlayList::play(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayList.cpp:175:20: error: 'nullptr' was not declared in this scope 175 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListDialog.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:129: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp: In static member function 'static void Rosegarden::PlayListDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:76:20: error: cannot convert 'Rosegarden::PlayListDialog*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PlayListDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:79:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 79 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:80:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:86:19: error: expected nested-name-specifier before '_t' 86 | using _t = void (PlayListDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:35: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:38: error: expected '>' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:38: error: expected '(' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:39: error: expected primary-expression before '>' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:63: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:87:93: error: expected ')' before '{' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListDialog::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:91:9: error: expected primary-expression before '}' token 91 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:84:14: warning: unused variable 'result' [-Wunused-variable] 84 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp: In member function 'virtual void* Rosegarden::PlayListDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp: In member function 'void Rosegarden::PlayListDialog::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListDialog.cpp:139:55: error: 'nullptr' was not declared in this scope 139 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtreeview.h: At global scope: /usr/include/qt5/QtWidgets/qtreeview.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtreeview.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/include/qt5/QtWidgets/qtreeview.h:71:42: error: 'nullptr' was not declared in this scope 71 | explicit QTreeView(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/qtreewidget.h:44, from /usr/include/qt5/QtWidgets/QTreeWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/include/qt5/QtWidgets/qtreeview.h:175:55: error: 'nullptr' was not declared in this scope 175 | QTreeView(QTreeViewPrivate &dd, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtreeview.h: In member function 'QTreeViewPrivate* QTreeView::d_func()': /usr/include/qt5/QtWidgets/qtreeview.h:231:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 231 | Q_DECLARE_PRIVATE(QTreeView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreeview.h:231:5: note: mismatched types 'T*' and 'QScopedPointer' 231 | Q_DECLARE_PRIVATE(QTreeView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtreeview.h: In member function 'const QTreeViewPrivate* QTreeView::d_func() const': /usr/include/qt5/QtWidgets/qtreeview.h:231:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 231 | Q_DECLARE_PRIVATE(QTreeView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreeview.h:231:5: note: mismatched types 'T*' and 'QScopedPointer' 231 | Q_DECLARE_PRIVATE(QTreeView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h: In member function 'QTreeWidgetItemIteratorPrivate* QTreeWidgetItemIterator::d_func()': /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h:106:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 106 | Q_DECLARE_PRIVATE(QTreeWidgetItemIterator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h:106:5: note: mismatched types 'T*' and 'QScopedPointer' 106 | Q_DECLARE_PRIVATE(QTreeWidgetItemIterator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h: In member function 'const QTreeWidgetItemIteratorPrivate* QTreeWidgetItemIterator::d_func() const': /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h:106:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 106 | Q_DECLARE_PRIVATE(QTreeWidgetItemIterator) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreewidgetitemiterator.h:106:5: note: mismatched types 'T*' and 'QScopedPointer' 106 | Q_DECLARE_PRIVATE(QTreeWidgetItemIterator) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTreeWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/include/qt5/QtWidgets/qtreewidget.h: In member function 'QTreeWidgetItem* QTreeWidgetItem::child(int) const': /usr/include/qt5/QtWidgets/qtreewidget.h:181:20: error: 'nullptr' was not declared in this scope 181 | return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtreewidget.h: At global scope: /usr/include/qt5/QtWidgets/qtreewidget.h:257:5: error: 'nullptr' was not declared in this scope 257 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtreewidget.h:257:5: error: 'nullptr' was not declared in this scope 257 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTreeWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/include/qt5/QtWidgets/qtreewidget.h:264:44: error: 'nullptr' was not declared in this scope 264 | explicit QTreeWidget(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtreewidget.h: In member function 'QTreeWidgetPrivate* QTreeWidget::d_func()': /usr/include/qt5/QtWidgets/qtreewidget.h:381:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 381 | Q_DECLARE_PRIVATE(QTreeWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreewidget.h:381:5: note: mismatched types 'T*' and 'QScopedPointer' 381 | Q_DECLARE_PRIVATE(QTreeWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtreewidget.h: In member function 'const QTreeWidgetPrivate* QTreeWidget::d_func() const': /usr/include/qt5/QtWidgets/qtreewidget.h:381:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 381 | Q_DECLARE_PRIVATE(QTreeWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtreewidget.h:381:5: note: mismatched types 'T*' and 'QScopedPointer' 381 | Q_DECLARE_PRIVATE(QTreeWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QTreeWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/include/qt5/QtWidgets/qtreewidget.h: In member function 'void QTreeWidget::removeItemWidget(QTreeWidgetItem*, int)': /usr/include/qt5/QtWidgets/qtreewidget.h:399:31: error: 'nullptr' was not declared in this scope 399 | { setItemWidget(item, column, nullptr); } | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/PlayListView.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp: In static member function 'static void Rosegarden::PlayListView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:71:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 71 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:71:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 71 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:71:20: error: cannot convert 'Rosegarden::PlayListView*' to 'int*' in initialization 71 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PlayListView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:74:21: error: request for member 'droppedURIs' in '* _t', which is of non-class type 'int' 74 | case 0: _t->droppedURIs((*reinterpret_cast< QDropEvent*(*)>(_a[1])),(*reinterpret_cast< QTreeWidget*(*)>(_a[2])),(*reinterpret_cast< QStringList(*)>(_a[3]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:130: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:91:19: error: expected nested-name-specifier before '_t' 91 | using _t = void (PlayListView::*)(QDropEvent * , QTreeWidget * , QStringList ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:35: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:38: error: expected '>' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:38: error: expected '(' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:39: error: expected primary-expression before '>' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:63: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:92:95: error: expected ')' before '{' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlayListView::droppedURIs)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:96:9: error: expected primary-expression before '}' token 96 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:89:14: warning: unused variable 'result' [-Wunused-variable] 89 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:105:5: error: 'nullptr' was not declared in this scope 105 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:106:5: error: 'nullptr' was not declared in this scope 106 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp: In member function 'virtual void* Rosegarden::PlayListView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:117:26: error: 'nullptr' was not declared in this scope 117 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp: In member function 'void Rosegarden::PlayListView::droppedURIs(QDropEvent*, QTreeWidget*, QStringList)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_PlayListView.cpp:143:20: error: 'nullptr' was not declared in this scope 143 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:131: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp: In static member function 'static void Rosegarden::TrackButtons::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:142:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 142 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:142:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 142 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:142:20: error: cannot convert 'Rosegarden::TrackButtons*' to 'int*' in initialization 142 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TrackButtons* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:145:21: error: request for member 'trackSelected' in '* _t', which is of non-class type 'int' 145 | case 0: _t->trackSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:146:21: error: request for member 'instrumentSelected' in '* _t', which is of non-class type 'int' 146 | case 1: _t->instrumentSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:147:21: error: request for member 'slotToggleRecord' in '* _t', which is of non-class type 'int' 147 | case 2: _t->slotToggleRecord((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:148:21: error: request for member 'slotUpdateTracks' in '* _t', which is of non-class type 'int' 148 | case 3: _t->slotUpdateTracks(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:149:21: error: request for member 'slotRenameTrack' in '* _t', which is of non-class type 'int' 149 | case 4: _t->slotRenameTrack((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< TrackId(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:131: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:150:21: error: request for member 'slotSetTrackMeter' in '* _t', which is of non-class type 'int' 150 | case 5: _t->slotSetTrackMeter((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:151:21: error: request for member 'slotSetMetersByInstrument' in '* _t', which is of non-class type 'int' 151 | case 6: _t->slotSetMetersByInstrument((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:152:21: error: request for member 'slotInstrumentMenu' in '* _t', which is of non-class type 'int' 152 | case 7: _t->slotInstrumentMenu((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:153:21: error: request for member 'slotInstrumentSelected' in '* _t', which is of non-class type 'int' 153 | case 8: _t->slotInstrumentSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:154:21: error: request for member 'slotInstrumentSelected' in '* _t', which is of non-class type 'int' 154 | case 9: _t->slotInstrumentSelected((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:155:22: error: request for member 'slotTPBInstrumentSelected' in '* _t', which is of non-class type 'int' 155 | case 10: _t->slotTPBInstrumentSelected((*reinterpret_cast< TrackId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:156:22: error: request for member 'slotSynchroniseWithComposition' in '* _t', which is of non-class type 'int' 156 | case 11: _t->slotSynchroniseWithComposition(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:157:22: error: request for member 'slotToggleMute' in '* _t', which is of non-class type 'int' 157 | case 12: _t->slotToggleMute((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:158:22: error: request for member 'slotToggleSolo' in '* _t', which is of non-class type 'int' 158 | case 13: _t->slotToggleSolo((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:159:22: error: request for member 'slotTrackSelected' in '* _t', which is of non-class type 'int' 159 | case 14: _t->slotTrackSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:160:22: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 160 | case 15: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:184:19: error: expected nested-name-specifier before '_t' 184 | using _t = void (TrackButtons::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:35: error: '_t' does not name a type; did you mean 'Qt'? 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:38: error: expected '>' before '*' token 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:38: error: expected '(' before '*' token 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:39: error: expected primary-expression before '>' token 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:63: error: '_t' does not name a type; did you mean 'Qt'? 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:185:97: error: expected ')' before '{' token 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::trackSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:189:9: error: expected primary-expression before '}' token 189 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:191:19: error: expected nested-name-specifier before '_t' 191 | using _t = void (TrackButtons::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:35: error: '_t' does not name a type; did you mean 'Qt'? 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:38: error: expected '>' before '*' token 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:38: error: expected '(' before '*' token 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:39: error: expected primary-expression before '>' token 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:63: error: '_t' does not name a type; did you mean 'Qt'? 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:192:102: error: expected ')' before '{' token 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackButtons::instrumentSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:196:9: error: expected primary-expression before '}' token 196 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:182:14: warning: unused variable 'result' [-Wunused-variable] 182 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:205:5: error: 'nullptr' was not declared in this scope 205 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:206:5: error: 'nullptr' was not declared in this scope 206 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp: In member function 'virtual void* Rosegarden::TrackButtons::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:217:26: error: 'nullptr' was not declared in this scope 217 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp: In member function 'void Rosegarden::TrackButtons::trackSelected(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:245:20: error: 'nullptr' was not declared in this scope 245 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp: In member function 'void Rosegarden::TrackButtons::instrumentSelected(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackButtons.cpp:252:20: error: 'nullptr' was not declared in this scope 252 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:132: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In static member function 'static void Rosegarden::TrackEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:124:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 124 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:124:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 124 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:124:20: error: cannot convert 'Rosegarden::TrackEditor*' to 'int*' in initialization 124 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TrackEditor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:127:21: error: request for member 'stateChange' in '* _t', which is of non-class type 'int' 127 | case 0: _t->stateChange((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:128:21: error: request for member 'droppedDocument' in '* _t', which is of non-class type 'int' 128 | case 1: _t->droppedDocument((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:129:21: error: request for member 'droppedAudio' in '* _t', which is of non-class type 'int' 129 | case 2: _t->droppedAudio((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:130:21: error: request for member 'droppedNewAudio' in '* _t', which is of non-class type 'int' 130 | case 3: _t->droppedNewAudio((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:131:21: error: request for member 'slotScrollToTrack' in '* _t', which is of non-class type 'int' 131 | case 4: _t->slotScrollToTrack((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:132:21: error: request for member 'slotSetPointerPosition' in '* _t', which is of non-class type 'int' 132 | case 5: _t->slotSetPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:133:21: error: request for member 'slotPointerDraggedToPosition' in '* _t', which is of non-class type 'int' 133 | case 6: _t->slotPointerDraggedToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:134:21: error: request for member 'slotLoopDraggedToPosition' in '* _t', which is of non-class type 'int' 134 | case 7: _t->slotLoopDraggedToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:135:21: error: request for member 'slotSetLoop' in '* _t', which is of non-class type 'int' 135 | case 8: _t->slotSetLoop((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:136:21: error: request for member 'slotVerticalScrollTrackButtons' in '* _t', which is of non-class type 'int' 136 | case 9: _t->slotVerticalScrollTrackButtons((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:137:22: error: request for member 'slotCommandExecuted' in '* _t', which is of non-class type 'int' 137 | case 10: _t->slotCommandExecuted(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:138:22: error: request for member 'slotViewportResize' in '* _t', which is of non-class type 'int' 138 | case 11: _t->slotViewportResize(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:144:19: error: expected nested-name-specifier before '_t' 144 | using _t = void (TrackEditor::*)(QString , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:35: error: '_t' does not name a type; did you mean 'Qt'? 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:38: error: expected '>' before '*' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:38: error: expected '(' before '*' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:39: error: expected primary-expression before '>' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:63: error: '_t' does not name a type; did you mean 'Qt'? 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:145:94: error: expected ')' before '{' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::stateChange)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:149:9: error: expected primary-expression before '}' token 149 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:151:19: error: expected nested-name-specifier before '_t' 151 | using _t = void (TrackEditor::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:35: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:38: error: expected '>' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:38: error: expected '(' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:39: error: expected primary-expression before '>' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:63: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:152:98: error: expected ')' before '{' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedDocument)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:156:9: error: expected primary-expression before '}' token 156 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:158:19: error: expected nested-name-specifier before '_t' 158 | using _t = void (TrackEditor::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:35: error: '_t' does not name a type; did you mean 'Qt'? 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:38: error: expected '>' before '*' token 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:38: error: expected '(' before '*' token 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:39: error: expected primary-expression before '>' token 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:63: error: '_t' does not name a type; did you mean 'Qt'? 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:159:95: error: expected ')' before '{' token 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedAudio)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:163:9: error: expected primary-expression before '}' token 163 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:165:19: error: expected nested-name-specifier before '_t' 165 | using _t = void (TrackEditor::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:35: error: '_t' does not name a type; did you mean 'Qt'? 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:38: error: expected '>' before '*' token 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:38: error: expected '(' before '*' token 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:39: error: expected primary-expression before '>' token 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:63: error: '_t' does not name a type; did you mean 'Qt'? 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:166:98: error: expected ')' before '{' token 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackEditor::droppedNewAudio)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:170:9: error: expected primary-expression before '}' token 170 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:142:14: warning: unused variable 'result' [-Wunused-variable] 142 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:179:5: error: 'nullptr' was not declared in this scope 179 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:180:5: error: 'nullptr' was not declared in this scope 180 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In member function 'virtual void* Rosegarden::TrackEditor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:191:26: error: 'nullptr' was not declared in this scope 191 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In member function 'void Rosegarden::TrackEditor::stateChange(QString, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:217:20: error: 'nullptr' was not declared in this scope 217 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:132: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In member function 'void Rosegarden::TrackEditor::droppedDocument(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:224:20: error: 'nullptr' was not declared in this scope 224 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In member function 'void Rosegarden::TrackEditor::droppedAudio(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:231:20: error: 'nullptr' was not declared in this scope 231 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp: In member function 'void Rosegarden::TrackEditor::droppedNewAudio(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackEditor.cpp:238:20: error: 'nullptr' was not declared in this scope 238 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:133: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: In static member function 'static void Rosegarden::TrackLabel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:80:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 80 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:80:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 80 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:80:20: error: cannot convert 'Rosegarden::TrackLabel*' to 'int*' in initialization 80 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TrackLabel* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:83:21: error: request for member 'clicked' in '* _t', which is of non-class type 'int' 83 | case 0: _t->clicked(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:84:21: error: request for member 'renameTrack' in '* _t', which is of non-class type 'int' 84 | case 1: _t->renameTrack((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< TrackId(*)>(_a[3]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:133: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:85:21: error: request for member 'changeToInstrumentList' in '* _t', which is of non-class type 'int' 85 | case 2: _t->changeToInstrumentList(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:91:19: error: expected nested-name-specifier before '_t' 91 | using _t = void (TrackLabel::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:35: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:38: error: expected '>' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:38: error: expected '(' before '*' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:39: error: expected primary-expression before '>' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:63: error: '_t' does not name a type; did you mean 'Qt'? 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:92:89: error: expected ')' before '{' token 92 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::clicked)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:96:9: error: expected primary-expression before '}' token 96 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:98:19: error: expected nested-name-specifier before '_t' 98 | using _t = void (TrackLabel::*)(QString , QString , TrackId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:35: error: '_t' does not name a type; did you mean 'Qt'? 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:38: error: expected '>' before '*' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:38: error: expected '(' before '*' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:39: error: expected primary-expression before '>' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:63: error: '_t' does not name a type; did you mean 'Qt'? 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:99:93: error: expected ')' before '{' token 99 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::renameTrack)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:103:9: error: expected primary-expression before '}' token 103 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:105:19: error: expected nested-name-specifier before '_t' 105 | using _t = void (TrackLabel::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:35: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:38: error: expected '>' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:38: error: expected '(' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:39: error: expected primary-expression before '>' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:63: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:106:104: error: expected ')' before '{' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TrackLabel::changeToInstrumentList)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:110:9: error: expected primary-expression before '}' token 110 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:89:14: warning: unused variable 'result' [-Wunused-variable] 89 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:119:5: error: 'nullptr' was not declared in this scope 119 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:120:5: error: 'nullptr' was not declared in this scope 120 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: In member function 'virtual void* Rosegarden::TrackLabel::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:131:26: error: 'nullptr' was not declared in this scope 131 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: In member function 'void Rosegarden::TrackLabel::clicked()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:157:55: error: 'nullptr' was not declared in this scope 157 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: In member function 'void Rosegarden::TrackLabel::renameTrack(QString, QString, Rosegarden::TrackId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:163:20: error: 'nullptr' was not declared in this scope 163 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp: In member function 'void Rosegarden::TrackLabel::changeToInstrumentList()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TrackLabel.cpp:170:55: error: 'nullptr' was not declared in this scope 170 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TriggerSegmentManager.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TriggerSegmentManager.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/TriggerSegmentManager.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:134: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp: In static member function 'static void Rosegarden::TriggerSegmentManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:121:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 121 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:121:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 121 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:121:20: error: cannot convert 'Rosegarden::TriggerSegmentManager*' to 'int*' in initialization 121 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TriggerSegmentManager* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:124:21: error: request for member 'editTriggerSegment' in '* _t', which is of non-class type 'int' 124 | case 0: _t->editTriggerSegment((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:125:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 125 | case 1: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:126:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 126 | case 2: _t->slotUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:127:21: error: request for member 'slotAdd' in '* _t', which is of non-class type 'int' 127 | case 3: _t->slotAdd(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:128:21: error: request for member 'slotDelete' in '* _t', which is of non-class type 'int' 128 | case 4: _t->slotDelete(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:129:21: error: request for member 'slotDeleteAll' in '* _t', which is of non-class type 'int' 129 | case 5: _t->slotDeleteAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:130:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 130 | case 6: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:131:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 131 | case 7: _t->slotEdit((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:132:21: error: request for member 'slotItemClicked' in '* _t', which is of non-class type 'int' 132 | case 8: _t->slotItemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:133:21: error: request for member 'slotPasteAsNew' in '* _t', which is of non-class type 'int' 133 | case 9: _t->slotPasteAsNew(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:134:22: error: request for member 'slotMusicalTime' in '* _t', which is of non-class type 'int' 134 | case 10: _t->slotMusicalTime(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:135:22: error: request for member 'slotRealTime' in '* _t', which is of non-class type 'int' 135 | case 11: _t->slotRealTime(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:136:22: error: request for member 'slotRawTime' in '* _t', which is of non-class type 'int' 136 | case 12: _t->slotRawTime(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:137:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 137 | case 13: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:138:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 138 | case 14: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:144:19: error: expected nested-name-specifier before '_t' 144 | using _t = void (TriggerSegmentManager::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:35: error: '_t' does not name a type; did you mean 'Qt'? 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:38: error: expected '>' before '*' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:38: error: expected '(' before '*' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:39: error: expected primary-expression before '>' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:63: error: '_t' does not name a type; did you mean 'Qt'? 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:145:111: error: expected ')' before '{' token 145 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::editTriggerSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:149:9: error: expected primary-expression before '}' token 149 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:151:19: error: expected nested-name-specifier before '_t' 151 | using _t = void (TriggerSegmentManager::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:35: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:38: error: expected '>' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:38: error: expected '(' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:39: error: expected primary-expression before '>' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:63: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:152:100: error: expected ')' before '{' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TriggerSegmentManager::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:156:9: error: expected primary-expression before '}' token 156 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:142:14: warning: unused variable 'result' [-Wunused-variable] 142 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:165:5: error: 'nullptr' was not declared in this scope 165 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:166:5: error: 'nullptr' was not declared in this scope 166 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp: In member function 'virtual void* Rosegarden::TriggerSegmentManager::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:177:26: error: 'nullptr' was not declared in this scope 177 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp: In member function 'void Rosegarden::TriggerSegmentManager::editTriggerSegment(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:205:20: error: 'nullptr' was not declared in this scope 205 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp: In member function 'void Rosegarden::TriggerSegmentManager::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/J35TVOVX5J/moc_TriggerSegmentManager.cpp:212:55: error: 'nullptr' was not declared in this scope 212 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksGenerator.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksGenerator.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/AudioPeaksGenerator.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:135: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp: In static member function 'static void Rosegarden::AudioPeaksGenerator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:70:20: error: cannot convert 'Rosegarden::AudioPeaksGenerator*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioPeaksGenerator* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:73:21: error: request for member 'audioPeaksComplete' in '* _t', which is of non-class type 'int' 73 | case 0: _t->audioPeaksComplete((*reinterpret_cast< AudioPeaksGenerator*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:90:19: error: expected nested-name-specifier before '_t' 90 | using _t = void (AudioPeaksGenerator::*)(AudioPeaksGenerator * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:35: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:38: error: expected '>' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:38: error: expected '(' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:39: error: expected primary-expression before '>' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:63: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:91:109: error: expected ')' before '{' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioPeaksGenerator::audioPeaksComplete)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:95:9: error: expected primary-expression before '}' token 95 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:88:14: warning: unused variable 'result' [-Wunused-variable] 88 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:104:5: error: 'nullptr' was not declared in this scope 104 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:105:5: error: 'nullptr' was not declared in this scope 105 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp: In member function 'virtual void* Rosegarden::AudioPeaksGenerator::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:116:26: error: 'nullptr' was not declared in this scope 116 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp: In member function 'void Rosegarden::AudioPeaksGenerator::audioPeaksComplete(Rosegarden::AudioPeaksGenerator*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_AudioPeaksGenerator.cpp:142:20: error: 'nullptr' was not declared in this scope 142 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/CompositionModelImpl.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/CompositionModelImpl.h:112:5: error: 'nullptr' was not declared in this scope 112 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/CompositionModelImpl.h:112:5: error: 'nullptr' was not declared in this scope 112 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:136: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In static member function 'static void Rosegarden::CompositionModelImpl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:105:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 105 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:105:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 105 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:105:20: error: cannot convert 'Rosegarden::CompositionModelImpl*' to 'int*' in initialization 105 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CompositionModelImpl* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:108:21: error: request for member 'needUpdate' in '* _t', which is of non-class type 'int' 108 | case 0: _t->needUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:109:21: error: request for member 'needUpdate' in '* _t', which is of non-class type 'int' 109 | case 1: _t->needUpdate((*reinterpret_cast< const QRect(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:110:21: error: request for member 'needArtifactsUpdate' in '* _t', which is of non-class type 'int' 110 | case 2: _t->needArtifactsUpdate(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:111:21: error: request for member 'needSizeUpdate' in '* _t', which is of non-class type 'int' 111 | case 3: _t->needSizeUpdate(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:112:21: error: request for member 'selectionChanged' in '* _t', which is of non-class type 'int' 112 | case 4: _t->selectionChanged((*reinterpret_cast< const SegmentSelection(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:113:21: error: request for member 'slotAudioFileFinalized' in '* _t', which is of non-class type 'int' 113 | case 5: _t->slotAudioFileFinalized((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:114:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 114 | case 6: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:115:21: error: request for member 'slotAudioPeaksComplete' in '* _t', which is of non-class type 'int' 115 | case 7: _t->slotAudioPeaksComplete((*reinterpret_cast< AudioPeaksGenerator*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:116:21: error: request for member 'slotUpdateTimer' in '* _t', which is of non-class type 'int' 116 | case 8: _t->slotUpdateTimer(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:140:19: error: expected nested-name-specifier before '_t' 140 | using _t = void (CompositionModelImpl::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:35: error: '_t' does not name a type; did you mean 'Qt'? 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:38: error: expected '>' before '*' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:38: error: expected '(' before '*' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:39: error: expected primary-expression before '>' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:63: error: '_t' does not name a type; did you mean 'Qt'? 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:141:102: error: expected ')' before '{' token 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:145:9: error: expected primary-expression before '}' token 145 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:147:19: error: expected nested-name-specifier before '_t' 147 | using _t = void (CompositionModelImpl::*)(const QRect & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:35: error: '_t' does not name a type; did you mean 'Qt'? 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:38: error: expected '>' before '*' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:38: error: expected '(' before '*' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:39: error: expected primary-expression before '>' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:63: error: '_t' does not name a type; did you mean 'Qt'? 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:148:102: error: expected ')' before '{' token 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:152:9: error: expected primary-expression before '}' token 152 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:154:19: error: expected nested-name-specifier before '_t' 154 | using _t = void (CompositionModelImpl::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:35: error: '_t' does not name a type; did you mean 'Qt'? 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:38: error: expected '>' before '*' token 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:38: error: expected '(' before '*' token 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:39: error: expected primary-expression before '>' token 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:63: error: '_t' does not name a type; did you mean 'Qt'? 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:155:111: error: expected ')' before '{' token 155 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needArtifactsUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:159:9: error: expected primary-expression before '}' token 159 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:161:19: error: expected nested-name-specifier before '_t' 161 | using _t = void (CompositionModelImpl::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:35: error: '_t' does not name a type; did you mean 'Qt'? 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:38: error: expected '>' before '*' token 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:38: error: expected '(' before '*' token 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:39: error: expected primary-expression before '>' token 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:63: error: '_t' does not name a type; did you mean 'Qt'? 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:162:106: error: expected ')' before '{' token 162 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::needSizeUpdate)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:166:9: error: expected primary-expression before '}' token 166 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:168:19: error: expected nested-name-specifier before '_t' 168 | using _t = void (CompositionModelImpl::*)(const SegmentSelection & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:35: error: '_t' does not name a type; did you mean 'Qt'? 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:38: error: expected '>' before '*' token 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:38: error: expected '(' before '*' token 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:39: error: expected primary-expression before '>' token 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:63: error: '_t' does not name a type; did you mean 'Qt'? 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:169:108: error: expected ')' before '{' token 169 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionModelImpl::selectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:173:9: error: expected primary-expression before '}' token 173 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:138:14: warning: unused variable 'result' [-Wunused-variable] 138 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:182:5: error: 'nullptr' was not declared in this scope 182 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:183:5: error: 'nullptr' was not declared in this scope 183 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'virtual void* Rosegarden::CompositionModelImpl::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:194:26: error: 'nullptr' was not declared in this scope 194 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'void Rosegarden::CompositionModelImpl::needUpdate()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:224:55: error: 'nullptr' was not declared in this scope 224 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'void Rosegarden::CompositionModelImpl::needUpdate(const QRect&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:230:20: error: 'nullptr' was not declared in this scope 230 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'void Rosegarden::CompositionModelImpl::needArtifactsUpdate()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:237:55: error: 'nullptr' was not declared in this scope 237 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'void Rosegarden::CompositionModelImpl::needSizeUpdate()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:243:55: error: 'nullptr' was not declared in this scope 243 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp: In member function 'void Rosegarden::CompositionModelImpl::selectionChanged(const SegmentSelection&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionModelImpl.cpp:249:20: error: 'nullptr' was not declared in this scope 249 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RosegardenScrollView.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RosegardenScrollView.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/RosegardenScrollView.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/CompositionView.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/CompositionView.h:68:5: error: 'nullptr' was not declared in this scope 68 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:137: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In static member function 'static void Rosegarden::CompositionView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:134:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 134 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:134:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 134 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:134:20: error: cannot convert 'Rosegarden::CompositionView*' to 'int*' in initialization 134 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CompositionView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:137:21: error: request for member 'editSegment' in '* _t', which is of non-class type 'int' 137 | case 0: _t->editSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:138:21: error: request for member 'editRepeat' in '* _t', which is of non-class type 'int' 138 | case 1: _t->editRepeat((*reinterpret_cast< Segment*(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:139:21: error: request for member 'setPointerPosition' in '* _t', which is of non-class type 'int' 139 | case 2: _t->setPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:140:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 140 | case 3: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:141:21: error: request for member 'slotExternalWheelEvent' in '* _t', which is of non-class type 'int' 141 | case 4: _t->slotExternalWheelEvent((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:142:21: error: request for member 'slotUpdateAll' in '* _t', which is of non-class type 'int' 142 | case 5: _t->slotUpdateAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:143:21: error: request for member 'slotAllNeedRefresh' in '* _t', which is of non-class type 'int' 143 | case 6: _t->slotAllNeedRefresh((*reinterpret_cast< const QRect(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:144:21: error: request for member 'slotUpdateSize' in '* _t', which is of non-class type 'int' 144 | case 7: _t->slotUpdateSize(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:145:21: error: request for member 'slotUpdateArtifacts' in '* _t', which is of non-class type 'int' 145 | case 8: _t->slotUpdateArtifacts(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:146:21: error: request for member 'slotUpdateTimer' in '* _t', which is of non-class type 'int' 146 | case 9: _t->slotUpdateTimer(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:147:22: error: request for member 'slotRefreshColourCache' in '* _t', which is of non-class type 'int' 147 | case 10: _t->slotRefreshColourCache(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:148:22: error: request for member 'slotToolHelpChanged' in '* _t', which is of non-class type 'int' 148 | case 11: _t->slotToolHelpChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:149:22: error: request for member 'slotNewMIDIRecordingSegment' in '* _t', which is of non-class type 'int' 149 | case 12: _t->slotNewMIDIRecordingSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:150:22: error: request for member 'slotNewAudioRecordingSegment' in '* _t', which is of non-class type 'int' 150 | case 13: _t->slotNewAudioRecordingSegment((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:151:22: error: request for member 'slotStoppedRecording' in '* _t', which is of non-class type 'int' 151 | case 14: _t->slotStoppedRecording(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:152:22: error: request for member 'slotControlChange' in '* _t', which is of non-class type 'int' 152 | case 15: _t->slotControlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:137: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:197:19: error: expected nested-name-specifier before '_t' 197 | using _t = void (CompositionView::*)(Segment * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:35: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:38: error: expected '>' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:38: error: expected '(' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:39: error: expected primary-expression before '>' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:63: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:198:98: error: expected ')' before '{' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editSegment)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:202:9: error: expected primary-expression before '}' token 202 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:204:19: error: expected nested-name-specifier before '_t' 204 | using _t = void (CompositionView::*)(Segment * , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:35: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:38: error: expected '>' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:38: error: expected '(' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:39: error: expected primary-expression before '>' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:63: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:205:97: error: expected ')' before '{' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::editRepeat)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:209:9: error: expected primary-expression before '}' token 209 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:211:19: error: expected nested-name-specifier before '_t' 211 | using _t = void (CompositionView::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:35: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:38: error: expected '>' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:38: error: expected '(' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:39: error: expected primary-expression before '>' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:63: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:212:105: error: expected ')' before '{' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::setPointerPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:216:9: error: expected primary-expression before '}' token 216 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:218:19: error: expected nested-name-specifier before '_t' 218 | using _t = void (CompositionView::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:35: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:38: error: expected '>' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:38: error: expected '(' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:39: error: expected primary-expression before '>' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:63: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:219:102: error: expected ')' before '{' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompositionView::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:223:9: error: expected primary-expression before '}' token 223 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:195:14: warning: unused variable 'result' [-Wunused-variable] 195 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:232:5: error: 'nullptr' was not declared in this scope 232 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:233:5: error: 'nullptr' was not declared in this scope 233 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In member function 'virtual void* Rosegarden::CompositionView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:244:26: error: 'nullptr' was not declared in this scope 244 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In member function 'void Rosegarden::CompositionView::editSegment(Rosegarden::Segment*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:270:20: error: 'nullptr' was not declared in this scope 270 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In member function 'void Rosegarden::CompositionView::editRepeat(Rosegarden::Segment*, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:277:20: error: 'nullptr' was not declared in this scope 277 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In member function 'void Rosegarden::CompositionView::setPointerPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:284:20: error: 'nullptr' was not declared in this scope 284 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp: In member function 'void Rosegarden::CompositionView::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_CompositionView.cpp:291:20: error: 'nullptr' was not declared in this scope 291 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentTool.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentTool.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentTool.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentEraser.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentEraser.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:138: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentEraser.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentEraser.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentEraser.cpp: In member function 'virtual void* Rosegarden::SegmentEraser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentEraser.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentJoiner.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentJoiner.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentJoiner.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:139: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentJoiner.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentJoiner.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentJoiner.cpp: In member function 'virtual void* Rosegarden::SegmentJoiner::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentJoiner.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentMover.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentMover.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentMover.h:39:5: error: 'nullptr' was not declared in this scope 39 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:140: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentMover.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentMover.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentMover.cpp: In member function 'virtual void* Rosegarden::SegmentMover::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentMover.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentPencil.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentPencil.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentPencil.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:141: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentPencil.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentPencil.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentPencil.cpp: In member function 'virtual void* Rosegarden::SegmentPencil::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentPencil.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentResizer.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentResizer.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentResizer.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:142: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentResizer.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentResizer.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentResizer.cpp: In member function 'virtual void* Rosegarden::SegmentResizer::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentResizer.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSelector.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSelector.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSelector.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:143: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSelector.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSelector.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSelector.cpp: In member function 'virtual void* Rosegarden::SegmentSelector::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSelector.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSplitter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSplitter.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentSplitter.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:144: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSplitter.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSplitter.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSplitter.cpp: In member function 'virtual void* Rosegarden::SegmentSplitter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentSplitter.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:145: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp: In static member function 'static void Rosegarden::SegmentTool::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:138:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 138 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:138:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 138 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:138:20: error: cannot convert 'Rosegarden::SegmentTool*' to 'int*' in initialization 138 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SegmentTool* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:141:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 141 | case 0: _t->slotEdit(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:142:21: error: request for member 'slotEditInMatrix' in '* _t', which is of non-class type 'int' 142 | case 1: _t->slotEditInMatrix(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:143:21: error: request for member 'slotEditInPercussionMatrix' in '* _t', which is of non-class type 'int' 143 | case 2: _t->slotEditInPercussionMatrix(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:144:21: error: request for member 'slotEditAsNotation' in '* _t', which is of non-class type 'int' 144 | case 3: _t->slotEditAsNotation(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:145:21: error: request for member 'slotEditInEventList' in '* _t', which is of non-class type 'int' 145 | case 4: _t->slotEditInEventList(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:146:21: error: request for member 'slotEditInPitchTracker' in '* _t', which is of non-class type 'int' 146 | case 5: _t->slotEditInPitchTracker(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:147:21: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 147 | case 6: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:148:21: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 148 | case 7: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:149:21: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 149 | case 8: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:150:21: error: request for member 'slotDeleteSelectedSegments' in '* _t', which is of non-class type 'int' 150 | case 9: _t->slotDeleteSelectedSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:151:22: error: request for member 'slotJoinSegments' in '* _t', which is of non-class type 'int' 151 | case 10: _t->slotJoinSegments(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:152:22: error: request for member 'slotQuantizeSelection' in '* _t', which is of non-class type 'int' 152 | case 11: _t->slotQuantizeSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:153:22: error: request for member 'slotRepeatQuantizeSelection' in '* _t', which is of non-class type 'int' 153 | case 12: _t->slotRepeatQuantizeSelection(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:154:22: error: request for member 'slotRelabelSegments' in '* _t', which is of non-class type 'int' 154 | case 13: _t->slotRelabelSegments(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:155:22: error: request for member 'slotTransposeSegments' in '* _t', which is of non-class type 'int' 155 | case 14: _t->slotTransposeSegments(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:156:22: error: request for member 'slotPointerSelected' in '* _t', which is of non-class type 'int' 156 | case 15: _t->slotPointerSelected(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:157:22: error: request for member 'slotMoveSelected' in '* _t', which is of non-class type 'int' 157 | case 16: _t->slotMoveSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:158:22: error: request for member 'slotDrawSelected' in '* _t', which is of non-class type 'int' 158 | case 17: _t->slotDrawSelected(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:159:22: error: request for member 'slotEraseSelected' in '* _t', which is of non-class type 'int' 159 | case 18: _t->slotEraseSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:160:22: error: request for member 'slotResizeSelected' in '* _t', which is of non-class type 'int' 160 | case 19: _t->slotResizeSelected(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:161:22: error: request for member 'slotSplitSelected' in '* _t', which is of non-class type 'int' 161 | case 20: _t->slotSplitSelected(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:173:5: error: 'nullptr' was not declared in this scope 173 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:174:5: error: 'nullptr' was not declared in this scope 174 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp: In member function 'virtual void* Rosegarden::SegmentTool::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentTool.cpp:185:26: error: 'nullptr' was not declared in this scope 185 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentToolBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentToolBox.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/segment/compositionview/SegmentToolBox.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:146: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentToolBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentToolBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentToolBox.cpp: In member function 'virtual void* Rosegarden::SegmentToolBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/JGISQ4BW6I/moc_SegmentToolBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/tempo/TempoView.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/tempo/TempoView.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/editors/tempo/TempoView.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:147: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp: In static member function 'static void Rosegarden::TempoView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:135:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 135 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:135:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 135 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:135:20: error: cannot convert 'Rosegarden::TempoView*' to 'int*' in initialization 135 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TempoView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:138:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 138 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:139:21: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 139 | case 1: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:140:21: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 140 | case 2: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:141:21: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 141 | case 3: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:142:21: error: request for member 'slotEditDelete' in '* _t', which is of non-class type 'int' 142 | case 4: _t->slotEditDelete(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:143:21: error: request for member 'slotEditInsertTempo' in '* _t', which is of non-class type 'int' 143 | case 5: _t->slotEditInsertTempo(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:144:21: error: request for member 'slotEditInsertTimeSignature' in '* _t', which is of non-class type 'int' 144 | case 6: _t->slotEditInsertTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:145:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 145 | case 7: _t->slotEdit(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:146:21: error: request for member 'slotSelectAll' in '* _t', which is of non-class type 'int' 146 | case 8: _t->slotSelectAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:147:21: error: request for member 'slotClearSelection' in '* _t', which is of non-class type 'int' 147 | case 9: _t->slotClearSelection(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:148:22: error: request for member 'slotMusicalTime' in '* _t', which is of non-class type 'int' 148 | case 10: _t->slotMusicalTime(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:149:22: error: request for member 'slotRealTime' in '* _t', which is of non-class type 'int' 149 | case 11: _t->slotRealTime(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:150:22: error: request for member 'slotRawTime' in '* _t', which is of non-class type 'int' 150 | case 12: _t->slotRawTime(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:151:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 151 | case 13: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:152:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 152 | case 14: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:153:22: error: request for member 'slotPopupEditor' in '* _t', which is of non-class type 'int' 153 | case 15: _t->slotPopupEditor((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:147: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:154:22: error: request for member 'slotPopupEditor' in '* _t', which is of non-class type 'int' 154 | case 16: _t->slotPopupEditor((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:155:22: error: request for member 'slotModifyFilter' in '* _t', which is of non-class type 'int' 155 | case 17: _t->slotModifyFilter((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:156:22: error: request for member 'slotSaveOptions' in '* _t', which is of non-class type 'int' 156 | case 18: _t->slotSaveOptions(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:162:19: error: expected nested-name-specifier before '_t' 162 | using _t = void (TempoView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:35: error: '_t' does not name a type; did you mean 'Qt'? 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:38: error: expected '>' before '*' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:38: error: expected '(' before '*' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:39: error: expected primary-expression before '>' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:63: error: '_t' does not name a type; did you mean 'Qt'? 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:163:88: error: expected ')' before '{' token 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TempoView::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:167:9: error: expected primary-expression before '}' token 167 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:160:14: warning: unused variable 'result' [-Wunused-variable] 160 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:176:5: error: 'nullptr' was not declared in this scope 176 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:177:5: error: 'nullptr' was not declared in this scope 177 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp: In member function 'virtual void* Rosegarden::TempoView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:188:26: error: 'nullptr' was not declared in this scope 188 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp: In member function 'void Rosegarden::TempoView::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/KKQKDM5WND/moc_TempoView.cpp:216:55: error: 'nullptr' was not declared in this scope 216 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtXml/qxml.h: At global scope: /usr/include/qt5/QtXml/qxml.h:163:1: error: 'is_integral' is not a member of 'std' 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:163:1: error: expected primary-expression before '>' token 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:163:1: error: '::value' has not been declared 163 | Q_DECLARE_TYPEINFO(QXmlAttributes::Attribute, Q_MOVABLE_TYPE); | ^~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: 'is_integral' is not a member of 'std' 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: expected primary-expression before '>' token 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h:164:1: error: '::value' has not been declared 164 | Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(QXmlAttributes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtXml/QXmlDefaultHandler:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:148: /usr/include/qt5/QtXml/qxml.h:226:58: error: 'nullptr' was not declared in this scope 226 | virtual bool feature(const QString& name, bool *ok = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:229:60: error: 'nullptr' was not declared in this scope 229 | virtual void* property(const QString& name, bool *ok = nullptr) const = 0; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:254:50: error: 'nullptr' was not declared in this scope 254 | bool feature(const QString& name, bool *ok = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtXml/qxml.h:258:52: error: 'nullptr' was not declared in this scope 258 | void* property(const QString& name, bool *ok = nullptr) const override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtXml/qxml.h: In member function 'QXmlSimpleReaderPrivate* QXmlSimpleReader::d_func()': /usr/include/qt5/QtXml/qxml.h:282:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtXml/qxml.h:282:5: note: mismatched types 'T*' and 'QScopedPointer' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtXml/qxml.h: In member function 'const QXmlSimpleReaderPrivate* QXmlSimpleReader::d_func() const': /usr/include/qt5/QtXml/qxml.h:282:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtXml/qxml.h:282:5: note: mismatched types 'T*' and 'QScopedPointer' 282 | Q_DECLARE_PRIVATE(QXmlSimpleReader) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h:179:5: error: 'nullptr' was not declared in this scope 179 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ActionFileParser.h:179:5: error: 'nullptr' was not declared in this scope 179 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:148: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp: In static member function 'static void Rosegarden::ActionFileParser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:69:20: error: cannot convert 'Rosegarden::ActionFileParser*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ActionFileParser* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:72:21: error: request for member 'slotObjectDestroyed' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotObjectDestroyed(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp: In member function 'virtual void* Rosegarden::ActionFileParser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:167:5: error: 'nullptr' was not declared in this scope 167 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:168:5: error: 'nullptr' was not declared in this scope 168 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp: In member function 'virtual void* Rosegarden::ActionFileMenuWrapper::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ActionFileParser.cpp:179:26: error: 'nullptr' was not declared in this scope 179 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:149: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp: In static member function 'static void Rosegarden::BaseTool::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:69:20: error: cannot convert 'Rosegarden::BaseTool*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::BaseTool* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:72:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 72 | case 0: _t->showContextHelp((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (BaseTool::*)(QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:79:95: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseTool::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp: In member function 'virtual void* Rosegarden::BaseTool::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp: In member function 'void Rosegarden::BaseTool::showContextHelp(QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseTool.cpp:130:20: error: 'nullptr' was not declared in this scope 130 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:150: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp: In static member function 'static void Rosegarden::BaseToolBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:69:20: error: cannot convert 'Rosegarden::BaseToolBox*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::BaseToolBox* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:72:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 72 | case 0: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (BaseToolBox::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:79:98: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BaseToolBox::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp: In member function 'virtual void* Rosegarden::BaseToolBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp: In member function 'void Rosegarden::BaseToolBox::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_BaseToolBox.cpp:130:20: error: 'nullptr' was not declared in this scope 130 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditTempoController.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditTempoController.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/EditTempoController.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:151: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp: In static member function 'static void Rosegarden::EditTempoController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:85:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 85 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:85:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 85 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:85:20: error: cannot convert 'Rosegarden::EditTempoController*' to 'int*' in initialization 85 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EditTempoController* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:88:21: error: request for member 'editTempos' in '* _t', which is of non-class type 'int' 88 | case 0: _t->editTempos((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:89:21: error: request for member 'changeTempo' in '* _t', which is of non-class type 'int' 89 | case 1: _t->changeTempo((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< tempoT(*)>(_a[2])),(*reinterpret_cast< tempoT(*)>(_a[3])),(*reinterpret_cast< TempoDialog::TempoDialogAction(*)>(_a[4]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:151: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:95:19: error: expected nested-name-specifier before '_t' 95 | using _t = void (EditTempoController::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:35: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:38: error: expected '>' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:38: error: expected '(' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:39: error: expected primary-expression before '>' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:63: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:96:101: error: expected ')' before '{' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditTempoController::editTempos)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:100:9: error: expected primary-expression before '}' token 100 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:93:14: warning: unused variable 'result' [-Wunused-variable] 93 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:109:5: error: 'nullptr' was not declared in this scope 109 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:110:5: error: 'nullptr' was not declared in this scope 110 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp: In member function 'virtual void* Rosegarden::EditTempoController::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:121:26: error: 'nullptr' was not declared in this scope 121 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp: In member function 'void Rosegarden::EditTempoController::editTempos(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditTempoController.cpp:147:20: error: 'nullptr' was not declared in this scope 147 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:152: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In static member function 'static void Rosegarden::EditViewBase::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:172:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 172 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:172:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 172 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:172:20: error: cannot convert 'Rosegarden::EditViewBase*' to 'int*' in initialization 172 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::EditViewBase* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:175:21: error: request for member 'saveFile' in '* _t', which is of non-class type 'int' 175 | case 0: _t->saveFile(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:176:21: error: request for member 'openInNotation' in '* _t', which is of non-class type 'int' 176 | case 1: _t->openInNotation((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:177:21: error: request for member 'openInMatrix' in '* _t', which is of non-class type 'int' 177 | case 2: _t->openInMatrix((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:178:21: error: request for member 'openInPercussionMatrix' in '* _t', which is of non-class type 'int' 178 | case 3: _t->openInPercussionMatrix((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:179:21: error: request for member 'openInEventList' in '* _t', which is of non-class type 'int' 179 | case 4: _t->openInEventList((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:180:21: error: request for member 'slotOpenInPitchTracker' in '* _t', which is of non-class type 'int' 180 | case 5: _t->slotOpenInPitchTracker((*reinterpret_cast< std::vector(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:181:21: error: request for member 'selectTrack' in '* _t', which is of non-class type 'int' 181 | case 6: _t->selectTrack((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:182:21: error: request for member 'toggleSolo' in '* _t', which is of non-class type 'int' 182 | case 7: _t->toggleSolo((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:183:21: error: request for member 'windowActivated' in '* _t', which is of non-class type 'int' 183 | case 8: _t->windowActivated(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:184:21: error: request for member 'slotCloseWindow' in '* _t', which is of non-class type 'int' 184 | case 9: _t->slotCloseWindow(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:185:22: error: request for member 'slotEditCut' in '* _t', which is of non-class type 'int' 185 | case 10: _t->slotEditCut(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:186:22: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 186 | case 11: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:187:22: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 187 | case 12: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:188:22: error: request for member 'slotToggleStatusBar' in '* _t', which is of non-class type 'int' 188 | case 13: _t->slotToggleStatusBar(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:189:22: error: request for member 'slotStatusMsg' in '* _t', which is of non-class type 'int' 189 | case 14: _t->slotStatusMsg((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:190:22: error: request for member 'slotStatusHelpMsg' in '* _t', which is of non-class type 'int' 190 | case 15: _t->slotStatusHelpMsg((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:191:22: error: request for member 'slotTestClipboard' in '* _t', which is of non-class type 'int' 191 | case 16: _t->slotTestClipboard(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:192:22: error: request for member 'slotToggleSolo' in '* _t', which is of non-class type 'int' 192 | case 17: _t->slotToggleSolo(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:193:22: error: request for member 'slotOpenInMatrix' in '* _t', which is of non-class type 'int' 193 | case 18: _t->slotOpenInMatrix(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:194:22: error: request for member 'slotOpenInPercussionMatrix' in '* _t', which is of non-class type 'int' 194 | case 19: _t->slotOpenInPercussionMatrix(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:195:22: error: request for member 'slotOpenInNotation' in '* _t', which is of non-class type 'int' 195 | case 20: _t->slotOpenInNotation(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:196:22: error: request for member 'slotOpenInEventList' in '* _t', which is of non-class type 'int' 196 | case 21: _t->slotOpenInEventList(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:197:22: error: request for member 'slotOpenInPitchTracker' in '* _t', which is of non-class type 'int' 197 | case 22: _t->slotOpenInPitchTracker(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:198:22: error: request for member 'slotSegmentDeleted' in '* _t', which is of non-class type 'int' 198 | case 23: _t->slotSegmentDeleted((*reinterpret_cast< Segment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:199:22: error: request for member 'slotSetSegmentStartTime' in '* _t', which is of non-class type 'int' 199 | case 24: _t->slotSetSegmentStartTime(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:200:22: error: request for member 'slotSetSegmentDuration' in '* _t', which is of non-class type 'int' 200 | case 25: _t->slotSetSegmentDuration(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:201:22: error: request for member 'slotCompositionStateUpdate' in '* _t', which is of non-class type 'int' 201 | case 26: _t->slotCompositionStateUpdate(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:202:22: error: request for member 'slotSaveOptions' in '* _t', which is of non-class type 'int' 202 | case 27: _t->slotSaveOptions(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:203:22: error: request for member 'slotConfigure' in '* _t', which is of non-class type 'int' 203 | case 28: _t->slotConfigure(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:209:19: error: expected nested-name-specifier before '_t' 209 | using _t = void (EditViewBase::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:35: error: '_t' does not name a type; did you mean 'Qt'? 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:38: error: expected '>' before '*' token 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:38: error: expected '(' before '*' token 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:39: error: expected primary-expression before '>' token 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:63: error: '_t' does not name a type; did you mean 'Qt'? 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:210:92: error: expected ')' before '{' token 210 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::saveFile)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:214:9: error: expected primary-expression before '}' token 214 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:216:19: error: expected nested-name-specifier before '_t' 216 | using _t = void (EditViewBase::*)(std::vector ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:35: error: '_t' does not name a type; did you mean 'Qt'? 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:38: error: expected '>' before '*' token 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:38: error: expected '(' before '*' token 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:39: error: expected primary-expression before '>' token 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:63: error: '_t' does not name a type; did you mean 'Qt'? 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:217:98: error: expected ')' before '{' token 217 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInNotation)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:221:9: error: expected primary-expression before '}' token 221 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:223:19: error: expected nested-name-specifier before '_t' 223 | using _t = void (EditViewBase::*)(std::vector ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:35: error: '_t' does not name a type; did you mean 'Qt'? 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:38: error: expected '>' before '*' token 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:38: error: expected '(' before '*' token 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:39: error: expected primary-expression before '>' token 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:63: error: '_t' does not name a type; did you mean 'Qt'? 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:224:96: error: expected ')' before '{' token 224 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInMatrix)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:228:9: error: expected primary-expression before '}' token 228 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:230:19: error: expected nested-name-specifier before '_t' 230 | using _t = void (EditViewBase::*)(std::vector ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:35: error: '_t' does not name a type; did you mean 'Qt'? 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:38: error: expected '>' before '*' token 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:38: error: expected '(' before '*' token 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:39: error: expected primary-expression before '>' token 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:63: error: '_t' does not name a type; did you mean 'Qt'? 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:231:106: error: expected ')' before '{' token 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInPercussionMatrix)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:235:9: error: expected primary-expression before '}' token 235 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:237:19: error: expected nested-name-specifier before '_t' 237 | using _t = void (EditViewBase::*)(std::vector ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:35: error: '_t' does not name a type; did you mean 'Qt'? 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:38: error: expected '>' before '*' token 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:38: error: expected '(' before '*' token 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:39: error: expected primary-expression before '>' token 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:63: error: '_t' does not name a type; did you mean 'Qt'? 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:238:99: error: expected ')' before '{' token 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::openInEventList)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:242:9: error: expected primary-expression before '}' token 242 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:244:19: error: expected nested-name-specifier before '_t' 244 | using _t = void (EditViewBase::*)(std::vector ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:35: error: '_t' does not name a type; did you mean 'Qt'? 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:38: error: expected '>' before '*' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:38: error: expected '(' before '*' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:39: error: expected primary-expression before '>' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:63: error: '_t' does not name a type; did you mean 'Qt'? 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:245:106: error: expected ')' before '{' token 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::slotOpenInPitchTracker)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:249:9: error: expected primary-expression before '}' token 249 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:251:19: error: expected nested-name-specifier before '_t' 251 | using _t = void (EditViewBase::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:35: error: '_t' does not name a type; did you mean 'Qt'? 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:38: error: expected '>' before '*' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:38: error: expected '(' before '*' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:39: error: expected primary-expression before '>' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:63: error: '_t' does not name a type; did you mean 'Qt'? 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:252:95: error: expected ')' before '{' token 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::selectTrack)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:256:9: error: expected primary-expression before '}' token 256 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:258:19: error: expected nested-name-specifier before '_t' 258 | using _t = void (EditViewBase::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:35: error: '_t' does not name a type; did you mean 'Qt'? 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:38: error: expected '>' before '*' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:38: error: expected '(' before '*' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:39: error: expected primary-expression before '>' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:63: error: '_t' does not name a type; did you mean 'Qt'? 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:259:94: error: expected ')' before '{' token 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::toggleSolo)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:263:9: error: expected primary-expression before '}' token 263 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:265:19: error: expected nested-name-specifier before '_t' 265 | using _t = void (EditViewBase::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:35: error: '_t' does not name a type; did you mean 'Qt'? 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:38: error: expected '>' before '*' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:38: error: expected '(' before '*' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:39: error: expected primary-expression before '>' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:63: error: '_t' does not name a type; did you mean 'Qt'? 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:266:99: error: expected ')' before '{' token 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EditViewBase::windowActivated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:270:9: error: expected primary-expression before '}' token 270 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:207:14: warning: unused variable 'result' [-Wunused-variable] 207 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:279:5: error: 'nullptr' was not declared in this scope 279 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:280:5: error: 'nullptr' was not declared in this scope 280 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'virtual void* Rosegarden::EditViewBase::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:291:26: error: 'nullptr' was not declared in this scope 291 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::saveFile()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:319:55: error: 'nullptr' was not declared in this scope 319 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::openInNotation(std::vector)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:325:20: error: 'nullptr' was not declared in this scope 325 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::openInMatrix(std::vector)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:332:20: error: 'nullptr' was not declared in this scope 332 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::openInPercussionMatrix(std::vector)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:339:20: error: 'nullptr' was not declared in this scope 339 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::openInEventList(std::vector)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:346:20: error: 'nullptr' was not declared in this scope 346 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::slotOpenInPitchTracker(std::vector)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:353:20: error: 'nullptr' was not declared in this scope 353 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::selectTrack(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:360:20: error: 'nullptr' was not declared in this scope 360 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::toggleSolo(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:367:20: error: 'nullptr' was not declared in this scope 367 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp: In member function 'void Rosegarden::EditViewBase::windowActivated()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_EditViewBase.cpp:374:55: error: 'nullptr' was not declared in this scope 374 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qnetworkrequest.h: At global scope: /usr/include/qt5/QtNetwork/qnetworkrequest.h:181:1: error: 'is_integral' is not a member of 'std' 181 | Q_DECLARE_SHARED(QNetworkRequest) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkrequest.h:181:1: error: expected primary-expression before '>' token 181 | Q_DECLARE_SHARED(QNetworkRequest) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkrequest.h:181:1: error: '::value' has not been declared 181 | Q_DECLARE_SHARED(QNetworkRequest) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qabstractsocket.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtNetwork/qabstractsocket.h:62:5: error: 'nullptr' was not declared in this scope 62 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtNetwork/qtcpsocket.h:44, from /usr/include/qt5/QtNetwork/qsslsocket.h:48, from /usr/include/qt5/QtNetwork/qsslconfiguration.h:62, from /usr/include/qt5/QtNetwork/QSslConfiguration:1, from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:49, from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /usr/include/qt5/QtNetwork/qnetworkreply.h:49, from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qabstractsocket.h:225:90: error: 'nullptr' was not declared in this scope 225 | QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qabstractsocket.h: In member function 'QAbstractSocketPrivate* QAbstractSocket::d_func()': /usr/include/qt5/QtNetwork/qabstractsocket.h:228:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 228 | Q_DECLARE_PRIVATE(QAbstractSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qabstractsocket.h:228:5: note: mismatched types 'T*' and 'QScopedPointer' 228 | Q_DECLARE_PRIVATE(QAbstractSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qabstractsocket.h: In member function 'const QAbstractSocketPrivate* QAbstractSocket::d_func() const': /usr/include/qt5/QtNetwork/qabstractsocket.h:228:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 228 | Q_DECLARE_PRIVATE(QAbstractSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qabstractsocket.h:228:5: note: mismatched types 'T*' and 'QScopedPointer' 228 | Q_DECLARE_PRIVATE(QAbstractSocket) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qtcpsocket.h: At global scope: /usr/include/qt5/QtNetwork/qtcpsocket.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtNetwork/qtcpsocket.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtNetwork/qsslsocket.h:48, from /usr/include/qt5/QtNetwork/qsslconfiguration.h:62, from /usr/include/qt5/QtNetwork/QSslConfiguration:1, from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:49, from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /usr/include/qt5/QtNetwork/qnetworkreply.h:49, from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qtcpsocket.h:56:43: error: 'nullptr' was not declared in this scope 56 | explicit QTcpSocket(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtNetwork/qtcpsocket.h:60:57: error: 'nullptr' was not declared in this scope 60 | QTcpSocket(QTcpSocketPrivate &dd, QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtNetwork/qtcpsocket.h:62:34: error: 'nullptr' was not declared in this scope 62 | QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qtcpsocket.h: In member function 'QTcpSocketPrivate* QTcpSocket::d_func()': /usr/include/qt5/QtNetwork/qtcpsocket.h:66:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 66 | Q_DECLARE_PRIVATE(QTcpSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qtcpsocket.h:66:5: note: mismatched types 'T*' and 'QScopedPointer' 66 | Q_DECLARE_PRIVATE(QTcpSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qtcpsocket.h: In member function 'const QTcpSocketPrivate* QTcpSocket::d_func() const': /usr/include/qt5/QtNetwork/qtcpsocket.h:66:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 66 | Q_DECLARE_PRIVATE(QTcpSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qtcpsocket.h:66:5: note: mismatched types 'T*' and 'QScopedPointer' 66 | Q_DECLARE_PRIVATE(QTcpSocket) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtNetwork/qsslerror.h:46, from /usr/include/qt5/QtNetwork/qsslsocket.h:49, from /usr/include/qt5/QtNetwork/qsslconfiguration.h:62, from /usr/include/qt5/QtNetwork/QSslConfiguration:1, from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:49, from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /usr/include/qt5/QtNetwork/qnetworkreply.h:49, from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qsslcertificate.h: At global scope: /usr/include/qt5/QtNetwork/qsslcertificate.h:161:71: error: 'nullptr' was not declared in this scope 161 | QList *caCertificates = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qsslcertificate.h:174:1: error: 'is_integral' is not a member of 'std' 174 | Q_DECLARE_SHARED(QSslCertificate) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslcertificate.h:174:1: error: expected primary-expression before '>' token 174 | Q_DECLARE_SHARED(QSslCertificate) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslcertificate.h:174:1: error: '::value' has not been declared 174 | Q_DECLARE_SHARED(QSslCertificate) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslerror.h:113:1: error: 'is_integral' is not a member of 'std' 113 | Q_DECLARE_SHARED(QSslError) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslerror.h:113:1: error: expected primary-expression before '>' token 113 | Q_DECLARE_SHARED(QSslError) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslerror.h:113:1: error: '::value' has not been declared 113 | Q_DECLARE_SHARED(QSslError) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qsslsocket.h:67:5: error: 'nullptr' was not declared in this scope 67 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtNetwork/qsslsocket.h:67:5: error: 'nullptr' was not declared in this scope 67 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtNetwork/qsslconfiguration.h:62, from /usr/include/qt5/QtNetwork/QSslConfiguration:1, from /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:49, from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /usr/include/qt5/QtNetwork/qnetworkreply.h:49, from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qsslsocket.h:82:43: error: 'nullptr' was not declared in this scope 82 | explicit QSslSocket(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qsslsocket.h: In member function 'QSslSocketPrivate* QSslSocket::d_func()': /usr/include/qt5/QtNetwork/qsslsocket.h:216:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 216 | Q_DECLARE_PRIVATE(QSslSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qsslsocket.h:216:5: note: mismatched types 'T*' and 'QScopedPointer' 216 | Q_DECLARE_PRIVATE(QSslSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslsocket.h: In member function 'const QSslSocketPrivate* QSslSocket::d_func() const': /usr/include/qt5/QtNetwork/qsslsocket.h:216:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 216 | Q_DECLARE_PRIVATE(QSslSocket) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qsslsocket.h:216:5: note: mismatched types 'T*' and 'QScopedPointer' 216 | Q_DECLARE_PRIVATE(QSslSocket) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1204, from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qsslconfiguration.h: At global scope: /usr/include/qt5/QtNetwork/qsslconfiguration.h:204:1: error: 'is_integral' is not a member of 'std' 204 | Q_DECLARE_SHARED(QSslConfiguration) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslconfiguration.h:204:1: error: expected primary-expression before '>' token 204 | Q_DECLARE_SHARED(QSslConfiguration) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslconfiguration.h:204:1: error: '::value' has not been declared 204 | Q_DECLARE_SHARED(QSslConfiguration) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslpresharedkeyauthenticator.h:91:1: error: 'is_integral' is not a member of 'std' 91 | Q_DECLARE_SHARED(QSslPreSharedKeyAuthenticator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslpresharedkeyauthenticator.h:91:1: error: expected primary-expression before '>' token 91 | Q_DECLARE_SHARED(QSslPreSharedKeyAuthenticator) | ^~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qsslpresharedkeyauthenticator.h:91:1: error: '::value' has not been declared 91 | Q_DECLARE_SHARED(QSslPreSharedKeyAuthenticator) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:76:5: error: 'nullptr' was not declared in this scope 76 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:76:5: error: 'nullptr' was not declared in this scope 76 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1, from /usr/include/qt5/QtNetwork/qnetworkreply.h:49, from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:103:54: error: 'nullptr' was not declared in this scope 103 | explicit QNetworkAccessManager(QObject *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:140:112: error: 'nullptr' was not declared in this scope 140 | QNetworkReply *sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, QIODevice *data = nullptr); | ^~~~~~~ /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:187:68: error: 'nullptr' was not declared in this scope 187 | QIODevice *outgoingData = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h: In member function 'QNetworkAccessManagerPrivate* QNetworkAccessManager::d_func()': /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:201:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 201 | Q_DECLARE_PRIVATE(QNetworkAccessManager) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:201:5: note: mismatched types 'T*' and 'QScopedPointer' 201 | Q_DECLARE_PRIVATE(QNetworkAccessManager) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h: In member function 'const QNetworkAccessManagerPrivate* QNetworkAccessManager::d_func() const': /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:201:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 201 | Q_DECLARE_PRIVATE(QNetworkAccessManager) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qnetworkaccessmanager.h:201:5: note: mismatched types 'T*' and 'QScopedPointer' 201 | Q_DECLARE_PRIVATE(QNetworkAccessManager) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qnetworkreply.h: At global scope: /usr/include/qt5/QtNetwork/qnetworkreply.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkreply.h:64:5: error: 'nullptr' was not declared in this scope 64 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtNetwork/QNetworkReply:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:25, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/include/qt5/QtNetwork/qnetworkreply.h:172:46: error: 'nullptr' was not declared in this scope 172 | explicit QNetworkReply(QObject *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtNetwork/qnetworkreply.h: In member function 'QNetworkReplyPrivate* QNetworkReply::d_func()': /usr/include/qt5/QtNetwork/qnetworkreply.h:190:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 190 | Q_DECLARE_PRIVATE(QNetworkReply) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qnetworkreply.h:190:5: note: mismatched types 'T*' and 'QScopedPointer' 190 | Q_DECLARE_PRIVATE(QNetworkReply) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtNetwork/qnetworkreply.h: In member function 'const QNetworkReplyPrivate* QNetworkReply::d_func() const': /usr/include/qt5/QtNetwork/qnetworkreply.h:190:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 190 | Q_DECLARE_PRIVATE(QNetworkReply) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtNetwork/qnetworkreply.h:190:5: note: mismatched types 'T*' and 'QScopedPointer' 190 | Q_DECLARE_PRIVATE(QNetworkReply) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/FileSource.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:153: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: In static member function 'static void Rosegarden::FileSource::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:104:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 104 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:104:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 104 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:104:20: error: cannot convert 'Rosegarden::FileSource*' to 'int*' in initialization 104 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::FileSource* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:107:21: error: request for member 'progress' in '* _t', which is of non-class type 'int' 107 | case 0: _t->progress((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:108:21: error: request for member 'statusAvailable' in '* _t', which is of non-class type 'int' 108 | case 1: _t->statusAvailable(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:109:21: error: request for member 'ready' in '* _t', which is of non-class type 'int' 109 | case 2: _t->ready(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:110:21: error: request for member 'metaDataChanged' in '* _t', which is of non-class type 'int' 110 | case 3: _t->metaDataChanged(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:111:21: error: request for member 'readyRead' in '* _t', which is of non-class type 'int' 111 | case 4: _t->readyRead(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:112:21: error: request for member 'replyFailed' in '* _t', which is of non-class type 'int' 112 | case 5: _t->replyFailed((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:113:21: error: request for member 'replyFinished' in '* _t', which is of non-class type 'int' 113 | case 6: _t->replyFinished(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:114:21: error: request for member 'downloadProgress' in '* _t', which is of non-class type 'int' 114 | case 7: _t->downloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:115:21: error: request for member 'cancelled' in '* _t', which is of non-class type 'int' 115 | case 8: _t->cancelled(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:132:19: error: expected nested-name-specifier before '_t' 132 | using _t = void (FileSource::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:35: error: '_t' does not name a type; did you mean 'Qt'? 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:38: error: expected '>' before '*' token 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:38: error: expected '(' before '*' token 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:39: error: expected primary-expression before '>' token 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:63: error: '_t' does not name a type; did you mean 'Qt'? 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:133:90: error: expected ')' before '{' token 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::progress)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:137:9: error: expected primary-expression before '}' token 137 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:139:19: error: expected nested-name-specifier before '_t' 139 | using _t = void (FileSource::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:35: error: '_t' does not name a type; did you mean 'Qt'? 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:38: error: expected '>' before '*' token 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:38: error: expected '(' before '*' token 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:39: error: expected primary-expression before '>' token 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:63: error: '_t' does not name a type; did you mean 'Qt'? 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:140:97: error: expected ')' before '{' token 140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::statusAvailable)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:144:9: error: expected primary-expression before '}' token 144 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:146:19: error: expected nested-name-specifier before '_t' 146 | using _t = void (FileSource::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:35: error: '_t' does not name a type; did you mean 'Qt'? 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:38: error: expected '>' before '*' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:38: error: expected '(' before '*' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:39: error: expected primary-expression before '>' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:63: error: '_t' does not name a type; did you mean 'Qt'? 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:147:87: error: expected ')' before '{' token 147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FileSource::ready)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:151:9: error: expected primary-expression before '}' token 151 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:130:14: warning: unused variable 'result' [-Wunused-variable] 130 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:160:5: error: 'nullptr' was not declared in this scope 160 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:161:5: error: 'nullptr' was not declared in this scope 161 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: In member function 'virtual void* Rosegarden::FileSource::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:172:26: error: 'nullptr' was not declared in this scope 172 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: In member function 'void Rosegarden::FileSource::progress(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:198:20: error: 'nullptr' was not declared in this scope 198 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: In member function 'void Rosegarden::FileSource::statusAvailable()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:205:55: error: 'nullptr' was not declared in this scope 205 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp: In member function 'void Rosegarden::FileSource::ready()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_FileSource.cpp:211:55: error: 'nullptr' was not declared in this scope 211 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/LilyPondProcessor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/LilyPondProcessor.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/LilyPondProcessor.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:154: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp: In static member function 'static void Rosegarden::LilyPondProcessor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:86:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 86 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:86:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 86 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:86:20: error: cannot convert 'Rosegarden::LilyPondProcessor*' to 'int*' in initialization 86 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LilyPondProcessor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:89:21: error: request for member 'puke' in '* _t', which is of non-class type 'int' 89 | case 0: _t->puke((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:90:21: error: request for member 'puke' in '* _t', which is of non-class type 'int' 90 | case 1: _t->puke((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:91:21: error: request for member 'runConvertLy' in '* _t', which is of non-class type 'int' 91 | case 2: _t->runConvertLy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:92:21: error: request for member 'runLilyPond' in '* _t', which is of non-class type 'int' 92 | case 3: _t->runLilyPond((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:154: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:93:21: error: request for member 'runFinalStage' in '* _t', which is of non-class type 'int' 93 | case 4: _t->runFinalStage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:104:5: error: 'nullptr' was not declared in this scope 104 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:105:5: error: 'nullptr' was not declared in this scope 105 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp: In member function 'virtual void* Rosegarden::LilyPondProcessor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_LilyPondProcessor.cpp:116:26: error: 'nullptr' was not declared in this scope 116 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:155: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ListEditView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ListEditView.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ListEditView.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ListEditView.cpp: In member function 'virtual void* Rosegarden::ListEditView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ListEditView.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qradiobutton.h: At global scope: /usr/include/qt5/QtWidgets/qradiobutton.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qradiobutton.h:56:5: error: 'nullptr' was not declared in this scope 56 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QRadioButton:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/PresetHandlerDialog.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:156: /usr/include/qt5/QtWidgets/qradiobutton.h:59:45: error: 'nullptr' was not declared in this scope 59 | explicit QRadioButton(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qradiobutton.h:60:66: error: 'nullptr' was not declared in this scope 60 | explicit QRadioButton(const QString &text, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qradiobutton.h: In member function 'QRadioButtonPrivate* QRadioButton::d_func()': /usr/include/qt5/QtWidgets/qradiobutton.h:75:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 75 | Q_DECLARE_PRIVATE(QRadioButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qradiobutton.h:75:5: note: mismatched types 'T*' and 'QScopedPointer' 75 | Q_DECLARE_PRIVATE(QRadioButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qradiobutton.h: In member function 'const QRadioButtonPrivate* QRadioButton::d_func() const': /usr/include/qt5/QtWidgets/qradiobutton.h:75:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 75 | Q_DECLARE_PRIVATE(QRadioButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qradiobutton.h:75:5: note: mismatched types 'T*' and 'QScopedPointer' 75 | Q_DECLARE_PRIVATE(QRadioButton) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/PresetHandlerDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/PresetHandlerDialog.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/PresetHandlerDialog.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:156: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp: In static member function 'static void Rosegarden::PresetHandlerDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:77:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 77 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:77:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 77 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:77:20: error: cannot convert 'Rosegarden::PresetHandlerDialog*' to 'int*' in initialization 77 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PresetHandlerDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:80:21: error: request for member 'slotCategoryIndexChanged' in '* _t', which is of non-class type 'int' 80 | case 0: _t->slotCategoryIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:81:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 81 | case 1: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:82:21: error: request for member 'help' in '* _t', which is of non-class type 'int' 82 | case 2: _t->help(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp: In member function 'virtual void* Rosegarden::PresetHandlerDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_PresetHandlerDialog.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ProjectPackager.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ProjectPackager.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ProjectPackager.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:157: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp: In static member function 'static void Rosegarden::ProjectPackager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:107:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 107 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:107:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 107 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:107:20: error: cannot convert 'Rosegarden::ProjectPackager*' to 'int*' in initialization 107 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ProjectPackager* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:110:21: error: request for member 'puke' in '* _t', which is of non-class type 'int' 110 | case 0: _t->puke((*reinterpret_cast< QString(*)>(_a[1]))); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:111:33: error: request for member 'rmdirRecursive' in '* _t', which is of non-class type 'int' 111 | case 1: { bool _r = _t->rmdirRecursive((*reinterpret_cast< QString(*)>(_a[1]))); | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:112:64: error: 'move' is not a member of 'std' 112 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:112:64: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:113:21: error: request for member 'reject' in '* _t', which is of non-class type 'int' 113 | case 2: _t->reject(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:114:21: error: request for member 'runPackUnpack' in '* _t', which is of non-class type 'int' 114 | case 3: _t->runPackUnpack((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:157: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:115:21: error: request for member 'runPack' in '* _t', which is of non-class type 'int' 115 | case 4: _t->runPack(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:116:21: error: request for member 'startAudioEncoder' in '* _t', which is of non-class type 'int' 116 | case 5: _t->startAudioEncoder((*reinterpret_cast< QStringList(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:117:21: error: request for member 'finishPack' in '* _t', which is of non-class type 'int' 117 | case 6: _t->finishPack((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:118:21: error: request for member 'runUnpack' in '* _t', which is of non-class type 'int' 118 | case 7: _t->runUnpack(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:119:21: error: request for member 'startAudioDecoder' in '* _t', which is of non-class type 'int' 119 | case 8: _t->startAudioDecoder((*reinterpret_cast< QStringList(*)>(_a[1])),(*reinterpret_cast< QStringList(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:120:21: error: request for member 'finishUnpack' in '* _t', which is of non-class type 'int' 120 | case 9: _t->finishUnpack((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:131:5: error: 'nullptr' was not declared in this scope 131 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:132:5: error: 'nullptr' was not declared in this scope 132 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp: In member function 'virtual void* Rosegarden::ProjectPackager::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ProjectPackager.cpp:143:26: error: 'nullptr' was not declared in this scope 143 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:158: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp: In static member function 'static void Rosegarden::RecentFiles::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:69:20: error: cannot convert 'Rosegarden::RecentFiles*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RecentFiles* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:72:21: error: request for member 'recentChanged' in '* _t', which is of non-class type 'int' 72 | case 0: _t->recentChanged(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (RecentFiles::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:79:96: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecentFiles::recentChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp: In member function 'virtual void* Rosegarden::RecentFiles::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp: In member function 'void Rosegarden::RecentFiles::recentChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RecentFiles.cpp:131:55: error: 'nullptr' was not declared in this scope 131 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:159: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: In static member function 'static void Rosegarden::RosegardenScrollView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:91:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 91 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:91:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 91 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:91:20: error: cannot convert 'Rosegarden::RosegardenScrollView*' to 'int*' in initialization 91 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RosegardenScrollView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:94:21: error: request for member 'viewportResize' in '* _t', which is of non-class type 'int' 94 | case 0: _t->viewportResize(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:95:21: error: request for member 'zoomIn' in '* _t', which is of non-class type 'int' 95 | case 1: _t->zoomIn(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:96:21: error: request for member 'zoomOut' in '* _t', which is of non-class type 'int' 96 | case 2: _t->zoomOut(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:97:21: error: request for member 'slotStartAutoScroll' in '* _t', which is of non-class type 'int' 97 | case 3: _t->slotStartAutoScroll((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:98:21: error: request for member 'slotStopAutoScroll' in '* _t', which is of non-class type 'int' 98 | case 4: _t->slotStopAutoScroll(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:99:21: error: request for member 'slotOnAutoScrollTimer' in '* _t', which is of non-class type 'int' 99 | case 5: _t->slotOnAutoScrollTimer(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:105:19: error: expected nested-name-specifier before '_t' 105 | using _t = void (RosegardenScrollView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:35: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:38: error: expected '>' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:38: error: expected '(' before '*' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:39: error: expected primary-expression before '>' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:63: error: '_t' does not name a type; did you mean 'Qt'? 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:106:106: error: expected ')' before '{' token 106 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::viewportResize)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:110:9: error: expected primary-expression before '}' token 110 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:112:19: error: expected nested-name-specifier before '_t' 112 | using _t = void (RosegardenScrollView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:35: error: '_t' does not name a type; did you mean 'Qt'? 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:38: error: expected '>' before '*' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:38: error: expected '(' before '*' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:39: error: expected primary-expression before '>' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:63: error: '_t' does not name a type; did you mean 'Qt'? 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:113:98: error: expected ')' before '{' token 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomIn)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:117:9: error: expected primary-expression before '}' token 117 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:119:19: error: expected nested-name-specifier before '_t' 119 | using _t = void (RosegardenScrollView::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:35: error: '_t' does not name a type; did you mean 'Qt'? 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:38: error: expected '>' before '*' token 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:38: error: expected '(' before '*' token 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:39: error: expected primary-expression before '>' token 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:63: error: '_t' does not name a type; did you mean 'Qt'? 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:120:99: error: expected ')' before '{' token 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RosegardenScrollView::zoomOut)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:124:9: error: expected primary-expression before '}' token 124 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:103:14: warning: unused variable 'result' [-Wunused-variable] 103 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:133:5: error: 'nullptr' was not declared in this scope 133 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:134:5: error: 'nullptr' was not declared in this scope 134 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: In member function 'virtual void* Rosegarden::RosegardenScrollView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:145:26: error: 'nullptr' was not declared in this scope 145 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: In member function 'void Rosegarden::RosegardenScrollView::viewportResize()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:171:55: error: 'nullptr' was not declared in this scope 171 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: In member function 'void Rosegarden::RosegardenScrollView::zoomIn()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:177:55: error: 'nullptr' was not declared in this scope 177 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp: In member function 'void Rosegarden::RosegardenScrollView::zoomOut()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_RosegardenScrollView.cpp:183:55: error: 'nullptr' was not declared in this scope 183 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcommonstyle.h: At global scope: /usr/include/qt5/QtWidgets/qcommonstyle.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QCommonStyle:1, from /usr/include/qt5/QtWidgets/qproxystyle.h:44, from /usr/include/qt5/QtWidgets/QProxyStyle:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:160: /usr/include/qt5/QtWidgets/qcommonstyle.h:59:43: error: 'nullptr' was not declared in this scope 59 | const QWidget *w = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:61:41: error: 'nullptr' was not declared in this scope 61 | const QWidget *w = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:62:89: error: 'nullptr' was not declared in this scope 62 | QRect subElementRect(SubElement r, const QStyleOption *opt, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:64:48: error: 'nullptr' was not declared in this scope 64 | const QWidget *w = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:66:75: error: 'nullptr' was not declared in this scope 66 | const QPoint &pt, const QWidget *w = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:68:45: error: 'nullptr' was not declared in this scope 68 | const QWidget *w = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:70:79: error: 'nullptr' was not declared in this scope 70 | const QSize &contentsSize, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:72:62: error: 'nullptr' was not declared in this scope 72 | int pixelMetric(PixelMetric m, const QStyleOption *opt = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:72:95: error: 'nullptr' was not declared in this scope 72 | int pixelMetric(PixelMetric m, const QStyleOption *opt = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:74:59: error: 'nullptr' was not declared in this scope 74 | int styleHint(StyleHint sh, const QStyleOption *opt = nullptr, const QWidget *w = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:74:87: error: 'nullptr' was not declared in this scope 74 | int styleHint(StyleHint sh, const QStyleOption *opt = nullptr, const QWidget *w = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:75:45: error: 'nullptr' was not declared in this scope 75 | QStyleHintReturn *shret = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:77:79: error: 'nullptr' was not declared in this scope 77 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *opt = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:78:48: error: 'nullptr' was not declared in this scope 78 | const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:79:73: error: 'nullptr' was not declared in this scope 79 | QPixmap standardPixmap(StandardPixmap sp, const QStyleOption *opt = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:80:52: error: 'nullptr' was not declared in this scope 80 | const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:85:81: error: 'nullptr' was not declared in this scope 85 | Qt::Orientation orientation, const QStyleOption *option = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h:86:47: error: 'nullptr' was not declared in this scope 86 | const QWidget *widget = nullptr) const override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qcommonstyle.h: In member function 'QCommonStylePrivate* QCommonStyle::d_func()': /usr/include/qt5/QtWidgets/qcommonstyle.h:98:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 98 | Q_DECLARE_PRIVATE(QCommonStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcommonstyle.h:98:5: note: mismatched types 'T*' and 'QScopedPointer' 98 | Q_DECLARE_PRIVATE(QCommonStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qcommonstyle.h: In member function 'const QCommonStylePrivate* QCommonStyle::d_func() const': /usr/include/qt5/QtWidgets/qcommonstyle.h:98:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 98 | Q_DECLARE_PRIVATE(QCommonStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qcommonstyle.h:98:5: note: mismatched types 'T*' and 'QScopedPointer' 98 | Q_DECLARE_PRIVATE(QCommonStyle) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qproxystyle.h: At global scope: /usr/include/qt5/QtWidgets/qproxystyle.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProxyStyle:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:160: /usr/include/qt5/QtWidgets/qproxystyle.h:57:33: error: 'nullptr' was not declared in this scope 57 | QProxyStyle(QStyle *style = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:64:121: error: 'nullptr' was not declared in this scope 64 | void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override; | ^~~~~~~ In file included from /usr/include/qt5/QtWidgets/QProxyStyle:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:160: /usr/include/qt5/QtWidgets/qproxystyle.h:65:117: error: 'nullptr' was not declared in this scope 65 | void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:66:131: error: 'nullptr' was not declared in this scope 66 | void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:78:140: error: 'nullptr' was not declared in this scope 78 | SubControl hitTestComplexControl(ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:79:64: error: 'nullptr' was not declared in this scope 79 | int styleHint(StyleHint hint, const QStyleOption *option = nullptr, const QWidget *widget = nullptr, QStyleHintReturn *returnData = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:79:97: error: 'nullptr' was not declared in this scope 79 | int styleHint(StyleHint hint, const QStyleOption *option = nullptr, const QWidget *widget = nullptr, QStyleHintReturn *returnData = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:79:137: error: 'nullptr' was not declared in this scope 79 | int styleHint(StyleHint hint, const QStyleOption *option = nullptr, const QWidget *widget = nullptr, QStyleHintReturn *returnData = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:80:70: error: 'nullptr' was not declared in this scope 80 | int pixelMetric(PixelMetric metric, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:80:103: error: 'nullptr' was not declared in this scope 80 | int pixelMetric(PixelMetric metric, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:82:81: error: 'nullptr' was not declared in this scope 82 | Qt::Orientation orientation, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:82:114: error: 'nullptr' was not declared in this scope 82 | Qt::Orientation orientation, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:84:82: error: 'nullptr' was not declared in this scope 84 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:84:115: error: 'nullptr' was not declared in this scope 84 | QIcon standardIcon(StandardPixmap standardIcon, const QStyleOption *option = nullptr, const QWidget *widget = nullptr) const override; | ^~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h:85:108: error: 'nullptr' was not declared in this scope 85 | QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget = nullptr) const override; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qproxystyle.h: In member function 'QProxyStylePrivate* QProxyStyle::d_func()': /usr/include/qt5/QtWidgets/qproxystyle.h:101:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 101 | Q_DECLARE_PRIVATE(QProxyStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qproxystyle.h:101:5: note: mismatched types 'T*' and 'QScopedPointer' 101 | Q_DECLARE_PRIVATE(QProxyStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qproxystyle.h: In member function 'const QProxyStylePrivate* QProxyStyle::d_func() const': /usr/include/qt5/QtWidgets/qproxystyle.h:101:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 101 | Q_DECLARE_PRIVATE(QProxyStyle) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qproxystyle.h:101:5: note: mismatched types 'T*' and 'QScopedPointer' 101 | Q_DECLARE_PRIVATE(QProxyStyle) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/general/ThornStyle.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:160: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp: In static member function 'static void Rosegarden::ThornStyle::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:81:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 81 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:81:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 81 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:81:20: error: cannot convert 'Rosegarden::ThornStyle*' to 'int*' in initialization 81 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ThornStyle* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:84:34: error: request for member 'standardIconImplementation' in '* _t', which is of non-class type 'int' 84 | case 0: { QIcon _r = _t->standardIconImplementation((*reinterpret_cast< StandardPixmap(*)>(_a[1])),(*reinterpret_cast< const QStyleOption*(*)>(_a[2])),(*reinterpret_cast< const QWidget*(*)>(_a[3]))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:160: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:85:65: error: 'move' is not a member of 'std' 85 | if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:85:65: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:86:34: error: request for member 'standardIconImplementation' in '* _t', which is of non-class type 'int' 86 | case 1: { QIcon _r = _t->standardIconImplementation((*reinterpret_cast< StandardPixmap(*)>(_a[1])),(*reinterpret_cast< const QStyleOption*(*)>(_a[2]))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:87:65: error: 'move' is not a member of 'std' 87 | if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:87:65: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:88:34: error: request for member 'standardIconImplementation' in '* _t', which is of non-class type 'int' 88 | case 2: { QIcon _r = _t->standardIconImplementation((*reinterpret_cast< StandardPixmap(*)>(_a[1]))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:89:65: error: 'move' is not a member of 'std' 89 | if (_a[0]) *reinterpret_cast< QIcon*>(_a[0]) = std::move(_r); } break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:89:65: note: 'std::move' is only available from C++11 onwards /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp: In member function 'virtual void* Rosegarden::ThornStyle::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/Y5U73OBC5B/moc_ThornStyle.cpp:112:26: error: 'nullptr' was not declared in this scope 112 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ChordNameRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ChordNameRuler.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ChordNameRuler.h:52:5: error: 'nullptr' was not declared in this scope 52 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:161: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp: In static member function 'static void Rosegarden::ChordNameRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:70:20: error: cannot convert 'Rosegarden::ChordNameRuler*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ChordNameRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:73:21: error: request for member 'slotScrollHoriz' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotScrollHoriz((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp: In member function 'virtual void* Rosegarden::ChordNameRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ChordNameRuler.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlTool.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlTool.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlTool.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlEraser.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlEraser.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:162: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlEraser.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlEraser.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlEraser.cpp: In member function 'virtual void* Rosegarden::ControlEraser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlEraser.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlMover.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlMover.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlMover.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:163: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlMover.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlMover.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlMover.cpp: In member function 'virtual void* Rosegarden::ControlMover::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlMover.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlPainter.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlPainter.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlPainter.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:164: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlPainter.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlPainter.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlPainter.cpp: In member function 'virtual void* Rosegarden::ControlPainter::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlPainter.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRuler.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRuler.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:165: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In static member function 'static void Rosegarden::ControlRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:99:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 99 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:99:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 99 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:99:20: error: cannot convert 'Rosegarden::ControlRuler*' to 'int*' in initialization 99 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ControlRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:102:21: error: request for member 'stateChange' in '* _t', which is of non-class type 'int' 102 | case 0: _t->stateChange((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:103:21: error: request for member 'dragScroll' in '* _t', which is of non-class type 'int' 103 | case 1: _t->dragScroll((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:104:21: error: request for member 'rulerSelectionChanged' in '* _t', which is of non-class type 'int' 104 | case 2: _t->rulerSelectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:105:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 105 | case 3: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:106:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 106 | case 4: _t->slotUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:107:21: error: request for member 'slotScrollHorizSmallSteps' in '* _t', which is of non-class type 'int' 107 | case 5: _t->slotScrollHorizSmallSteps((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:108:21: error: request for member 'slotSetPannedRect' in '* _t', which is of non-class type 'int' 108 | case 6: _t->slotSetPannedRect((*reinterpret_cast< QRectF(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:109:21: error: request for member 'slotSetTool' in '* _t', which is of non-class type 'int' 109 | case 7: _t->slotSetTool((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:115:19: error: expected nested-name-specifier before '_t' 115 | using _t = void (ControlRuler::*)(const QString & , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:35: error: '_t' does not name a type; did you mean 'Qt'? 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:38: error: expected '>' before '*' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:38: error: expected '(' before '*' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:39: error: expected primary-expression before '>' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:63: error: '_t' does not name a type; did you mean 'Qt'? 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:116:95: error: expected ')' before '{' token 116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::stateChange)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:120:9: error: expected primary-expression before '}' token 120 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:122:19: error: expected nested-name-specifier before '_t' 122 | using _t = void (ControlRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:35: error: '_t' does not name a type; did you mean 'Qt'? 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:38: error: expected '>' before '*' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:38: error: expected '(' before '*' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:39: error: expected primary-expression before '>' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:63: error: '_t' does not name a type; did you mean 'Qt'? 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:123:94: error: expected ')' before '{' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::dragScroll)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:127:9: error: expected primary-expression before '}' token 127 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:129:19: error: expected nested-name-specifier before '_t' 129 | using _t = void (ControlRuler::*)(EventSelection * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:35: error: '_t' does not name a type; did you mean 'Qt'? 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:38: error: expected '>' before '*' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:38: error: expected '(' before '*' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:39: error: expected primary-expression before '>' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:63: error: '_t' does not name a type; did you mean 'Qt'? 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:130:105: error: expected ')' before '{' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::rulerSelectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:134:9: error: expected primary-expression before '}' token 134 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:136:19: error: expected nested-name-specifier before '_t' 136 | using _t = void (ControlRuler::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:35: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:38: error: expected '>' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:38: error: expected '(' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:39: error: expected primary-expression before '>' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:63: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:137:99: error: expected ')' before '{' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRuler::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:141:9: error: expected primary-expression before '}' token 141 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:113:14: warning: unused variable 'result' [-Wunused-variable] 113 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:150:5: error: 'nullptr' was not declared in this scope 150 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:151:5: error: 'nullptr' was not declared in this scope 151 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In member function 'virtual void* Rosegarden::ControlRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:162:26: error: 'nullptr' was not declared in this scope 162 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In member function 'void Rosegarden::ControlRuler::stateChange(const QString&, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:188:20: error: 'nullptr' was not declared in this scope 188 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:165: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In member function 'void Rosegarden::ControlRuler::dragScroll(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:195:20: error: 'nullptr' was not declared in this scope 195 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In member function 'void Rosegarden::ControlRuler::rulerSelectionChanged(Rosegarden::EventSelection*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:202:20: error: 'nullptr' was not declared in this scope 202 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp: In member function 'void Rosegarden::ControlRuler::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRuler.cpp:209:20: error: 'nullptr' was not declared in this scope 209 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerTabBar.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerTabBar.h:29:5: error: 'nullptr' was not declared in this scope 29 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerTabBar.h:29:5: error: 'nullptr' was not declared in this scope 29 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:166: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp: In static member function 'static void Rosegarden::ControlRulerTabBar::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:69:20: error: cannot convert 'Rosegarden::ControlRulerTabBar*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ControlRulerTabBar* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:72:21: error: request for member 'tabCloseRequest' in '* _t', which is of non-class type 'int' 72 | case 0: _t->tabCloseRequest((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:78:19: error: expected nested-name-specifier before '_t' 78 | using _t = void (ControlRulerTabBar::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:35: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:38: error: expected '>' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:38: error: expected '(' before '*' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:39: error: expected primary-expression before '>' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:63: error: '_t' does not name a type; did you mean 'Qt'? 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:79:105: error: expected ')' before '{' token 79 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerTabBar::tabCloseRequest)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:83:9: error: expected primary-expression before '}' token 83 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:76:14: warning: unused variable 'result' [-Wunused-variable] 76 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp: In member function 'virtual void* Rosegarden::ControlRulerTabBar::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp: In member function 'void Rosegarden::ControlRulerTabBar::tabCloseRequest(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerTabBar.cpp:130:20: error: 'nullptr' was not declared in this scope 130 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerWidget.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerWidget.h:47:1: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlRulerWidget.h:47:1: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:167: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: In static member function 'static void Rosegarden::ControlRulerWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:141:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 141 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:141:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 141 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:141:20: error: cannot convert 'Rosegarden::ControlRulerWidget*' to 'int*' in initialization 141 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ControlRulerWidget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:144:21: error: request for member 'dragScroll' in '* _t', which is of non-class type 'int' 144 | case 0: _t->dragScroll((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:145:21: error: request for member 'childRulerSelectionChanged' in '* _t', which is of non-class type 'int' 145 | case 1: _t->childRulerSelectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:146:21: error: request for member 'showContextHelp' in '* _t', which is of non-class type 'int' 146 | case 2: _t->showContextHelp((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:147:21: error: request for member 'slotTogglePropertyRuler' in '* _t', which is of non-class type 'int' 147 | case 3: _t->slotTogglePropertyRuler((*reinterpret_cast< const PropertyName(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:148:21: error: request for member 'slotToggleControlRuler' in '* _t', which is of non-class type 'int' 148 | case 4: _t->slotToggleControlRuler((*reinterpret_cast< std::string(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:149:21: error: request for member 'slotAddControlRuler' in '* _t', which is of non-class type 'int' 149 | case 5: _t->slotAddControlRuler((*reinterpret_cast< const ControlParameter(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:150:21: error: request for member 'slotAddPropertyRuler' in '* _t', which is of non-class type 'int' 150 | case 6: _t->slotAddPropertyRuler((*reinterpret_cast< const PropertyName(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:151:21: error: request for member 'slotRemoveRuler' in '* _t', which is of non-class type 'int' 151 | case 7: _t->slotRemoveRuler((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:152:21: error: request for member 'slotSetPannedRect' in '* _t', which is of non-class type 'int' 152 | case 8: _t->slotSetPannedRect((*reinterpret_cast< QRectF(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:153:21: error: request for member 'slotSetCurrentViewSegment' in '* _t', which is of non-class type 'int' 153 | case 9: _t->slotSetCurrentViewSegment((*reinterpret_cast< ViewSegment*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:154:22: error: request for member 'slotSelectionChanged' in '* _t', which is of non-class type 'int' 154 | case 10: _t->slotSelectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:155:22: error: request for member 'slotHoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 155 | case 11: _t->slotHoveredOverNoteChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:156:22: error: request for member 'slotHoveredOverNoteChanged' in '* _t', which is of non-class type 'int' 156 | case 12: _t->slotHoveredOverNoteChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< timeT(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:167: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:157:22: error: request for member 'slotUpdateRulers' in '* _t', which is of non-class type 'int' 157 | case 13: _t->slotUpdateRulers((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:158:22: error: request for member 'slotSetToolName' in '* _t', which is of non-class type 'int' 158 | case 14: _t->slotSetToolName((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:159:22: error: request for member 'slotDragScroll' in '* _t', which is of non-class type 'int' 159 | case 15: _t->slotDragScroll((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:160:22: error: request for member 'slotChildRulerSelectionChanged' in '* _t', which is of non-class type 'int' 160 | case 16: _t->slotChildRulerSelectionChanged((*reinterpret_cast< EventSelection*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:166:19: error: expected nested-name-specifier before '_t' 166 | using _t = void (ControlRulerWidget::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:35: error: '_t' does not name a type; did you mean 'Qt'? 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:38: error: expected '>' before '*' token 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:38: error: expected '(' before '*' token 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:39: error: expected primary-expression before '>' token 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:63: error: '_t' does not name a type; did you mean 'Qt'? 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:167:100: error: expected ')' before '{' token 167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::dragScroll)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:171:9: error: expected primary-expression before '}' token 171 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:173:19: error: expected nested-name-specifier before '_t' 173 | using _t = void (ControlRulerWidget::*)(EventSelection * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:35: error: '_t' does not name a type; did you mean 'Qt'? 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:38: error: expected '>' before '*' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:38: error: expected '(' before '*' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:39: error: expected primary-expression before '>' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:63: error: '_t' does not name a type; did you mean 'Qt'? 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:174:116: error: expected ')' before '{' token 174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::childRulerSelectionChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:178:9: error: expected primary-expression before '}' token 178 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:180:19: error: expected nested-name-specifier before '_t' 180 | using _t = void (ControlRulerWidget::*)(const QString & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:35: error: '_t' does not name a type; did you mean 'Qt'? 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:38: error: expected '>' before '*' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:38: error: expected '(' before '*' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:39: error: expected primary-expression before '>' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:63: error: '_t' does not name a type; did you mean 'Qt'? 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:181:105: error: expected ')' before '{' token 181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlRulerWidget::showContextHelp)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:185:9: error: expected primary-expression before '}' token 185 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:164:14: warning: unused variable 'result' [-Wunused-variable] 164 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:194:5: error: 'nullptr' was not declared in this scope 194 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:195:5: error: 'nullptr' was not declared in this scope 195 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: In member function 'virtual void* Rosegarden::ControlRulerWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:206:26: error: 'nullptr' was not declared in this scope 206 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: In member function 'void Rosegarden::ControlRulerWidget::dragScroll(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:232:20: error: 'nullptr' was not declared in this scope 232 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: In member function 'void Rosegarden::ControlRulerWidget::childRulerSelectionChanged(Rosegarden::EventSelection*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:239:20: error: 'nullptr' was not declared in this scope 239 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp: In member function 'void Rosegarden::ControlRulerWidget::showContextHelp(const QString&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlRulerWidget.cpp:246:20: error: 'nullptr' was not declared in this scope 246 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlSelector.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlSelector.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlSelector.h:38:5: error: 'nullptr' was not declared in this scope 38 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:168: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlSelector.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlSelector.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlSelector.cpp: In member function 'virtual void* Rosegarden::ControlSelector::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlSelector.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:169: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlTool.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlTool.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlTool.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlTool.cpp: In member function 'virtual void* Rosegarden::ControlTool::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlTool.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlToolBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlToolBox.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/ControlToolBox.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:170: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlToolBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlToolBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlToolBox.cpp: In member function 'virtual void* Rosegarden::ControlToolBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_ControlToolBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/LoopRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/LoopRuler.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/LoopRuler.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:171: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In static member function 'static void Rosegarden::LoopRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:105:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 105 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:105:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 105 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:105:20: error: cannot convert 'Rosegarden::LoopRuler*' to 'int*' in initialization 105 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::LoopRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:108:21: error: request for member 'setPointerPosition' in '* _t', which is of non-class type 'int' 108 | case 0: _t->setPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:109:21: error: request for member 'dragPointerToPosition' in '* _t', which is of non-class type 'int' 109 | case 1: _t->dragPointerToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:110:21: error: request for member 'setPlayPosition' in '* _t', which is of non-class type 'int' 110 | case 2: _t->setPlayPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:111:21: error: request for member 'setLoop' in '* _t', which is of non-class type 'int' 111 | case 3: _t->setLoop((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:112:21: error: request for member 'dragLoopToPosition' in '* _t', which is of non-class type 'int' 112 | case 4: _t->dragLoopToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:113:21: error: request for member 'startMouseMove' in '* _t', which is of non-class type 'int' 113 | case 5: _t->startMouseMove((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:114:21: error: request for member 'stopMouseMove' in '* _t', which is of non-class type 'int' 114 | case 6: _t->stopMouseMove(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:115:21: error: request for member 'mouseMove' in '* _t', which is of non-class type 'int' 115 | case 7: _t->mouseMove(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:116:21: error: request for member 'slotSetLoopMarker' in '* _t', which is of non-class type 'int' 116 | case 8: _t->slotSetLoopMarker((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:122:19: error: expected nested-name-specifier before '_t' 122 | using _t = void (LoopRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:35: error: '_t' does not name a type; did you mean 'Qt'? 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:38: error: expected '>' before '*' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:38: error: expected '(' before '*' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:39: error: expected primary-expression before '>' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:63: error: '_t' does not name a type; did you mean 'Qt'? 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:123:99: error: expected ')' before '{' token 123 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPointerPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:127:9: error: expected primary-expression before '}' token 127 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:129:19: error: expected nested-name-specifier before '_t' 129 | using _t = void (LoopRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:35: error: '_t' does not name a type; did you mean 'Qt'? 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:38: error: expected '>' before '*' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:38: error: expected '(' before '*' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:39: error: expected primary-expression before '>' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:63: error: '_t' does not name a type; did you mean 'Qt'? 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:130:102: error: expected ')' before '{' token 130 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragPointerToPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:134:9: error: expected primary-expression before '}' token 134 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:136:19: error: expected nested-name-specifier before '_t' 136 | using _t = void (LoopRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:35: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:38: error: expected '>' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:38: error: expected '(' before '*' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:39: error: expected primary-expression before '>' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:63: error: '_t' does not name a type; did you mean 'Qt'? 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:137:96: error: expected ')' before '{' token 137 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setPlayPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:141:9: error: expected primary-expression before '}' token 141 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:143:19: error: expected nested-name-specifier before '_t' 143 | using _t = void (LoopRuler::*)(timeT , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:35: error: '_t' does not name a type; did you mean 'Qt'? 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:38: error: expected '>' before '*' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:38: error: expected '(' before '*' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:39: error: expected primary-expression before '>' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:63: error: '_t' does not name a type; did you mean 'Qt'? 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:144:88: error: expected ')' before '{' token 144 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::setLoop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:148:9: error: expected primary-expression before '}' token 148 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:150:19: error: expected nested-name-specifier before '_t' 150 | using _t = void (LoopRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:35: error: '_t' does not name a type; did you mean 'Qt'? 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:38: error: expected '>' before '*' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:38: error: expected '(' before '*' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:39: error: expected primary-expression before '>' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:63: error: '_t' does not name a type; did you mean 'Qt'? 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:151:99: error: expected ')' before '{' token 151 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::dragLoopToPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:155:9: error: expected primary-expression before '}' token 155 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:157:19: error: expected nested-name-specifier before '_t' 157 | using _t = void (LoopRuler::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:35: error: '_t' does not name a type; did you mean 'Qt'? 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:38: error: expected '>' before '*' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:38: error: expected '(' before '*' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:39: error: expected primary-expression before '>' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:63: error: '_t' does not name a type; did you mean 'Qt'? 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:158:95: error: expected ')' before '{' token 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::startMouseMove)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:162:9: error: expected primary-expression before '}' token 162 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:164:19: error: expected nested-name-specifier before '_t' 164 | using _t = void (LoopRuler::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:35: error: '_t' does not name a type; did you mean 'Qt'? 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:38: error: expected '>' before '*' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:38: error: expected '(' before '*' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:39: error: expected primary-expression before '>' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:63: error: '_t' does not name a type; did you mean 'Qt'? 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:165:94: error: expected ')' before '{' token 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::stopMouseMove)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:169:9: error: expected primary-expression before '}' token 169 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:171:19: error: expected nested-name-specifier before '_t' 171 | using _t = void (LoopRuler::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:35: error: '_t' does not name a type; did you mean 'Qt'? 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:38: error: expected '>' before '*' token 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:38: error: expected '(' before '*' token 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:39: error: expected primary-expression before '>' token 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:63: error: '_t' does not name a type; did you mean 'Qt'? 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:172:90: error: expected ')' before '{' token 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoopRuler::mouseMove)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:176:9: error: expected primary-expression before '}' token 176 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:120:14: warning: unused variable 'result' [-Wunused-variable] 120 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:185:5: error: 'nullptr' was not declared in this scope 185 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:186:5: error: 'nullptr' was not declared in this scope 186 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'virtual void* Rosegarden::LoopRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:197:26: error: 'nullptr' was not declared in this scope 197 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::setPointerPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:225:20: error: 'nullptr' was not declared in this scope 225 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::dragPointerToPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:232:20: error: 'nullptr' was not declared in this scope 232 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::setPlayPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:239:20: error: 'nullptr' was not declared in this scope 239 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::setLoop(Rosegarden::timeT, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:246:20: error: 'nullptr' was not declared in this scope 246 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:171: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::dragLoopToPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:253:20: error: 'nullptr' was not declared in this scope 253 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::startMouseMove(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:260:20: error: 'nullptr' was not declared in this scope 260 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::stopMouseMove()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:267:55: error: 'nullptr' was not declared in this scope 267 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp: In member function 'void Rosegarden::LoopRuler::mouseMove()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_LoopRuler.cpp:273:55: error: 'nullptr' was not declared in this scope 273 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/MarkerRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/MarkerRuler.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/MarkerRuler.h:45:5: error: 'nullptr' was not declared in this scope 45 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:172: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In static member function 'static void Rosegarden::MarkerRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:103:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 103 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:103:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 103 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:103:20: error: cannot convert 'Rosegarden::MarkerRuler*' to 'int*' in initialization 103 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MarkerRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:106:21: error: request for member 'setPointerPosition' in '* _t', which is of non-class type 'int' 106 | case 0: _t->setPointerPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:107:21: error: request for member 'editMarkers' in '* _t', which is of non-class type 'int' 107 | case 1: _t->editMarkers(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:108:21: error: request for member 'addMarker' in '* _t', which is of non-class type 'int' 108 | case 2: _t->addMarker((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:109:21: error: request for member 'deleteMarker' in '* _t', which is of non-class type 'int' 109 | case 3: _t->deleteMarker((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break; | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:172: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:110:21: error: request for member 'setLoop' in '* _t', which is of non-class type 'int' 110 | case 4: _t->setLoop((*reinterpret_cast< timeT(*)>(_a[1])),(*reinterpret_cast< timeT(*)>(_a[2]))); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:111:21: error: request for member 'slotInsertMarkerHere' in '* _t', which is of non-class type 'int' 111 | case 5: _t->slotInsertMarkerHere(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:112:21: error: request for member 'slotInsertMarkerAtPointer' in '* _t', which is of non-class type 'int' 112 | case 6: _t->slotInsertMarkerAtPointer(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:113:21: error: request for member 'slotDeleteMarker' in '* _t', which is of non-class type 'int' 113 | case 7: _t->slotDeleteMarker(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:114:21: error: request for member 'slotEditMarker' in '* _t', which is of non-class type 'int' 114 | case 8: _t->slotEditMarker(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:120:19: error: expected nested-name-specifier before '_t' 120 | using _t = void (MarkerRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:35: error: '_t' does not name a type; did you mean 'Qt'? 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:38: error: expected '>' before '*' token 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:38: error: expected '(' before '*' token 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:39: error: expected primary-expression before '>' token 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:63: error: '_t' does not name a type; did you mean 'Qt'? 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:121:101: error: expected ')' before '{' token 121 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setPointerPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:125:9: error: expected primary-expression before '}' token 125 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:127:19: error: expected nested-name-specifier before '_t' 127 | using _t = void (MarkerRuler::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:35: error: '_t' does not name a type; did you mean 'Qt'? 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:38: error: expected '>' before '*' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:38: error: expected '(' before '*' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:39: error: expected primary-expression before '>' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:63: error: '_t' does not name a type; did you mean 'Qt'? 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:128:94: error: expected ')' before '{' token 128 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::editMarkers)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:132:9: error: expected primary-expression before '}' token 132 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:134:19: error: expected nested-name-specifier before '_t' 134 | using _t = void (MarkerRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:35: error: '_t' does not name a type; did you mean 'Qt'? 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:38: error: expected '>' before '*' token 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:38: error: expected '(' before '*' token 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:39: error: expected primary-expression before '>' token 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:63: error: '_t' does not name a type; did you mean 'Qt'? 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:135:92: error: expected ')' before '{' token 135 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::addMarker)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:139:9: error: expected primary-expression before '}' token 139 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:141:19: error: expected nested-name-specifier before '_t' 141 | using _t = void (MarkerRuler::*)(int , timeT , QString , QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:35: error: '_t' does not name a type; did you mean 'Qt'? 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:38: error: expected '>' before '*' token 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:38: error: expected '(' before '*' token 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:39: error: expected primary-expression before '>' token 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:63: error: '_t' does not name a type; did you mean 'Qt'? 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:142:95: error: expected ')' before '{' token 142 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::deleteMarker)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:146:9: error: expected primary-expression before '}' token 146 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:148:19: error: expected nested-name-specifier before '_t' 148 | using _t = void (MarkerRuler::*)(timeT , timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:35: error: '_t' does not name a type; did you mean 'Qt'? 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:38: error: expected '>' before '*' token 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:38: error: expected '(' before '*' token 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:39: error: expected primary-expression before '>' token 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:63: error: '_t' does not name a type; did you mean 'Qt'? 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:149:90: error: expected ')' before '{' token 149 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MarkerRuler::setLoop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:153:9: error: expected primary-expression before '}' token 153 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:118:14: warning: unused variable 'result' [-Wunused-variable] 118 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:162:5: error: 'nullptr' was not declared in this scope 162 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:163:5: error: 'nullptr' was not declared in this scope 163 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'virtual void* Rosegarden::MarkerRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:174:26: error: 'nullptr' was not declared in this scope 174 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'void Rosegarden::MarkerRuler::setPointerPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:204:20: error: 'nullptr' was not declared in this scope 204 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'void Rosegarden::MarkerRuler::editMarkers()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:211:55: error: 'nullptr' was not declared in this scope 211 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'void Rosegarden::MarkerRuler::addMarker(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:217:20: error: 'nullptr' was not declared in this scope 217 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'void Rosegarden::MarkerRuler::deleteMarker(int, Rosegarden::timeT, QString, QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:224:20: error: 'nullptr' was not declared in this scope 224 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)), const_cast(reinterpret_cast(&_t4)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp: In member function 'void Rosegarden::MarkerRuler::setLoop(Rosegarden::timeT, Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_MarkerRuler.cpp:231:20: error: 'nullptr' was not declared in this scope 231 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PercussionPitchRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PercussionPitchRuler.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PercussionPitchRuler.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:173: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PercussionPitchRuler.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PercussionPitchRuler.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PercussionPitchRuler.cpp: In member function 'virtual void* Rosegarden::PercussionPitchRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PercussionPitchRuler.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:174: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In static member function 'static void Rosegarden::PitchRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:81:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 81 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:81:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 81 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:81:20: error: cannot convert 'Rosegarden::PitchRuler*' to 'int*' in initialization 81 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::PitchRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:84:21: error: request for member 'keyPressed' in '* _t', which is of non-class type 'int' 84 | case 0: _t->keyPressed((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:85:21: error: request for member 'keyReleased' in '* _t', which is of non-class type 'int' 85 | case 1: _t->keyReleased((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:86:21: error: request for member 'keySelected' in '* _t', which is of non-class type 'int' 86 | case 2: _t->keySelected((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:87:21: error: request for member 'hoveredOverKeyChanged' in '* _t', which is of non-class type 'int' 87 | case 3: _t->hoveredOverKeyChanged((*reinterpret_cast< uint(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:93:19: error: expected nested-name-specifier before '_t' 93 | using _t = void (PitchRuler::*)(unsigned int , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:35: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:38: error: expected '>' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:38: error: expected '(' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:39: error: expected primary-expression before '>' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:63: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:94:92: error: expected ')' before '{' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyPressed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:98:9: error: expected primary-expression before '}' token 98 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:100:19: error: expected nested-name-specifier before '_t' 100 | using _t = void (PitchRuler::*)(unsigned int , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:35: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:38: error: expected '>' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:38: error: expected '(' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:39: error: expected primary-expression before '>' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:63: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:101:93: error: expected ')' before '{' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keyReleased)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:105:9: error: expected primary-expression before '}' token 105 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:107:19: error: expected nested-name-specifier before '_t' 107 | using _t = void (PitchRuler::*)(unsigned int , bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:35: error: '_t' does not name a type; did you mean 'Qt'? 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:38: error: expected '>' before '*' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:38: error: expected '(' before '*' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:39: error: expected primary-expression before '>' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:63: error: '_t' does not name a type; did you mean 'Qt'? 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:108:93: error: expected ')' before '{' token 108 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::keySelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:112:9: error: expected primary-expression before '}' token 112 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:114:19: error: expected nested-name-specifier before '_t' 114 | using _t = void (PitchRuler::*)(unsigned int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:35: error: '_t' does not name a type; did you mean 'Qt'? 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:38: error: expected '>' before '*' token 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:38: error: expected '(' before '*' token 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:39: error: expected primary-expression before '>' token 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:63: error: '_t' does not name a type; did you mean 'Qt'? 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:115:103: error: expected ')' before '{' token 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PitchRuler::hoveredOverKeyChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:119:9: error: expected primary-expression before '}' token 119 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:91:14: warning: unused variable 'result' [-Wunused-variable] 91 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:128:5: error: 'nullptr' was not declared in this scope 128 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:129:5: error: 'nullptr' was not declared in this scope 129 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In member function 'virtual void* Rosegarden::PitchRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:140:26: error: 'nullptr' was not declared in this scope 140 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In member function 'void Rosegarden::PitchRuler::keyPressed(unsigned int, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:166:20: error: 'nullptr' was not declared in this scope 166 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:174: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In member function 'void Rosegarden::PitchRuler::keyReleased(unsigned int, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:173:20: error: 'nullptr' was not declared in this scope 173 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In member function 'void Rosegarden::PitchRuler::keySelected(unsigned int, bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:180:20: error: 'nullptr' was not declared in this scope 180 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp: In member function 'void Rosegarden::PitchRuler::hoveredOverKeyChanged(unsigned int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PitchRuler.cpp:187:20: error: 'nullptr' was not declared in this scope 187 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyAdjuster.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyAdjuster.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyAdjuster.h:34:5: error: 'nullptr' was not declared in this scope 34 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:175: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyAdjuster.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyAdjuster.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyAdjuster.cpp: In member function 'virtual void* Rosegarden::PropertyAdjuster::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyAdjuster.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyBox.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyBox.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/PropertyBox.h:42:5: error: 'nullptr' was not declared in this scope 42 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:176: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyBox.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyBox.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyBox.cpp: In member function 'virtual void* Rosegarden::PropertyBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_PropertyBox.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/RawNoteRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/RawNoteRuler.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/RawNoteRuler.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:177: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp: In static member function 'static void Rosegarden::RawNoteRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:70:20: error: cannot convert 'Rosegarden::RawNoteRuler*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RawNoteRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:73:21: error: request for member 'slotScrollHoriz' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotScrollHoriz((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp: In member function 'virtual void* Rosegarden::RawNoteRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_RawNoteRuler.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/StandardRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/StandardRuler.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/StandardRuler.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:178: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp: In static member function 'static void Rosegarden::StandardRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:82:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 82 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:82:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 82 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:82:20: error: cannot convert 'Rosegarden::StandardRuler*' to 'int*' in initialization 82 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::StandardRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:85:21: error: request for member 'dragPointerToPosition' in '* _t', which is of non-class type 'int' 85 | case 0: _t->dragPointerToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:86:21: error: request for member 'dragLoopToPosition' in '* _t', which is of non-class type 'int' 86 | case 1: _t->dragLoopToPosition((*reinterpret_cast< timeT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:87:21: error: request for member 'slotScrollHoriz' in '* _t', which is of non-class type 'int' 87 | case 2: _t->slotScrollHoriz((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:93:19: error: expected nested-name-specifier before '_t' 93 | using _t = void (StandardRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:35: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:38: error: expected '>' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:38: error: expected '(' before '*' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:39: error: expected primary-expression before '>' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:63: error: '_t' does not name a type; did you mean 'Qt'? 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:94:106: error: expected ')' before '{' token 94 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragPointerToPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:98:9: error: expected primary-expression before '}' token 98 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:100:19: error: expected nested-name-specifier before '_t' 100 | using _t = void (StandardRuler::*)(timeT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:35: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:38: error: expected '>' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:38: error: expected '(' before '*' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:39: error: expected primary-expression before '>' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:63: error: '_t' does not name a type; did you mean 'Qt'? 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:101:103: error: expected ')' before '{' token 101 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardRuler::dragLoopToPosition)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:105:9: error: expected primary-expression before '}' token 105 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:91:14: warning: unused variable 'result' [-Wunused-variable] 91 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:114:5: error: 'nullptr' was not declared in this scope 114 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:115:5: error: 'nullptr' was not declared in this scope 115 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp: In member function 'virtual void* Rosegarden::StandardRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:126:26: error: 'nullptr' was not declared in this scope 126 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp: In member function 'void Rosegarden::StandardRuler::dragPointerToPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:152:20: error: 'nullptr' was not declared in this scope 152 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp: In member function 'void Rosegarden::StandardRuler::dragLoopToPosition(Rosegarden::timeT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_StandardRuler.cpp:159:20: error: 'nullptr' was not declared in this scope 159 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TempoRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TempoRuler.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TempoRuler.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:179: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp: In static member function 'static void Rosegarden::TempoRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:97:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 97 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:97:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 97 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:97:20: error: cannot convert 'Rosegarden::TempoRuler*' to 'int*' in initialization 97 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TempoRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:100:21: error: request for member 'slotScrollHoriz' in '* _t', which is of non-class type 'int' 100 | case 0: _t->slotScrollHoriz((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:101:21: error: request for member 'slotInsertTempoHere' in '* _t', which is of non-class type 'int' 101 | case 1: _t->slotInsertTempoHere(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:102:21: error: request for member 'slotInsertTempoAtPointer' in '* _t', which is of non-class type 'int' 102 | case 2: _t->slotInsertTempoAtPointer(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:103:21: error: request for member 'slotDeleteTempoChange' in '* _t', which is of non-class type 'int' 103 | case 3: _t->slotDeleteTempoChange(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:104:21: error: request for member 'slotRampToNext' in '* _t', which is of non-class type 'int' 104 | case 4: _t->slotRampToNext(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:105:21: error: request for member 'slotUnramp' in '* _t', which is of non-class type 'int' 105 | case 5: _t->slotUnramp(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:106:21: error: request for member 'slotEditTempo' in '* _t', which is of non-class type 'int' 106 | case 6: _t->slotEditTempo(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:107:21: error: request for member 'slotEditTimeSignature' in '* _t', which is of non-class type 'int' 107 | case 7: _t->slotEditTimeSignature(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:108:21: error: request for member 'slotEditTempos' in '* _t', which is of non-class type 'int' 108 | case 8: _t->slotEditTempos(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:119:5: error: 'nullptr' was not declared in this scope 119 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:120:5: error: 'nullptr' was not declared in this scope 120 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp: In member function 'virtual void* Rosegarden::TempoRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TempoRuler.cpp:131:26: error: 'nullptr' was not declared in this scope 131 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TextRuler.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TextRuler.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/rulers/TextRuler.h:53:5: error: 'nullptr' was not declared in this scope 53 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:180: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp: In static member function 'static void Rosegarden::TextRuler::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:70:20: error: cannot convert 'Rosegarden::TextRuler*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TextRuler* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:73:21: error: request for member 'slotScrollHoriz' in '* _t', which is of non-class type 'int' 73 | case 0: _t->slotScrollHoriz((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp: In member function 'virtual void* Rosegarden::TextRuler::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/QEKSZUDHWI/moc_TextRuler.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/ChannelManager.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/ChannelManager.h:93:5: error: 'nullptr' was not declared in this scope 93 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/ChannelManager.h:93:5: error: 'nullptr' was not declared in this scope 93 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:181: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp: In static member function 'static void Rosegarden::ChannelManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:89:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 89 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:89:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 89 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:89:20: error: cannot convert 'Rosegarden::ChannelManager*' to 'int*' in initialization 89 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ChannelManager* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:92:21: error: request for member 'slotVacateChannel' in '* _t', which is of non-class type 'int' 92 | case 0: _t->slotVacateChannel((*reinterpret_cast< ChannelId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:93:21: error: request for member 'slotLosingDevice' in '* _t', which is of non-class type 'int' 93 | case 1: _t->slotLosingDevice(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:94:21: error: request for member 'slotLosingInstrument' in '* _t', which is of non-class type 'int' 94 | case 2: _t->slotLosingInstrument(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:95:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 95 | case 3: _t->slotInstrumentChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:96:21: error: request for member 'slotChannelBecomesFixed' in '* _t', which is of non-class type 'int' 96 | case 4: _t->slotChannelBecomesFixed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:97:21: error: request for member 'slotChannelBecomesUnfixed' in '* _t', which is of non-class type 'int' 97 | case 5: _t->slotChannelBecomesUnfixed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:108:5: error: 'nullptr' was not declared in this scope 108 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:109:5: error: 'nullptr' was not declared in this scope 109 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp: In member function 'virtual void* Rosegarden::ChannelManager::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_ChannelManager.cpp:120:26: error: 'nullptr' was not declared in this scope 120 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/MidiFilterDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/MidiFilterDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/MidiFilterDialog.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:182: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp: In static member function 'static void Rosegarden::MidiFilterDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:81:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 81 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:81:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 81 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:81:20: error: cannot convert 'Rosegarden::MidiFilterDialog*' to 'int*' in initialization 81 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MidiFilterDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:84:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 84 | case 0: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:85:21: error: request for member 'help' in '* _t', which is of non-class type 'int' 85 | case 1: _t->help(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:86:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 86 | case 2: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:87:21: error: request for member 'slotSetModified' in '* _t', which is of non-class type 'int' 87 | case 3: _t->slotSetModified((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:88:21: error: request for member 'slotSetModified' in '* _t', which is of non-class type 'int' 88 | case 4: _t->slotSetModified(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:99:5: error: 'nullptr' was not declared in this scope 99 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp: In member function 'virtual void* Rosegarden::MidiFilterDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_MidiFilterDialog.cpp:111:26: error: 'nullptr' was not declared in this scope 111 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/SequenceManager.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/SequenceManager.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/seqmanager/SequenceManager.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:183: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In static member function 'static void Rosegarden::SequenceManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:161:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 161 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:161:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 161 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:161:20: error: cannot convert 'Rosegarden::SequenceManager*' to 'int*' in initialization 161 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SequenceManager* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:164:21: error: request for member 'signalSelectProgramNoSend' in '* _t', which is of non-class type 'int' 164 | case 0: _t->signalSelectProgramNoSend((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:183: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:165:21: error: request for member 'insertableNoteOnReceived' in '* _t', which is of non-class type 'int' 165 | case 1: _t->insertableNoteOnReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:166:21: error: request for member 'insertableNoteOffReceived' in '* _t', which is of non-class type 'int' 166 | case 2: _t->insertableNoteOffReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:167:21: error: request for member 'controllerDeviceEventReceived' in '* _t', which is of non-class type 'int' 167 | case 3: _t->controllerDeviceEventReceived((*reinterpret_cast< MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:168:21: error: request for member 'sendWarning' in '* _t', which is of non-class type 'int' 168 | case 4: _t->sendWarning((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:169:21: error: request for member 'signalTempoChanged' in '* _t', which is of non-class type 'int' 169 | case 5: _t->signalTempoChanged((*reinterpret_cast< tempoT(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:170:21: error: request for member 'signalMidiInLabel' in '* _t', which is of non-class type 'int' 170 | case 6: _t->signalMidiInLabel((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:171:21: error: request for member 'signalMidiOutLabel' in '* _t', which is of non-class type 'int' 171 | case 7: _t->signalMidiOutLabel((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:172:21: error: request for member 'signalPlaying' in '* _t', which is of non-class type 'int' 172 | case 8: _t->signalPlaying((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:173:21: error: request for member 'signalRecording' in '* _t', which is of non-class type 'int' 173 | case 9: _t->signalRecording((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:174:22: error: request for member 'signalMetronomeActivated' in '* _t', which is of non-class type 'int' 174 | case 10: _t->signalMetronomeActivated((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:175:22: error: request for member 'signalAudioLevel' in '* _t', which is of non-class type 'int' 175 | case 11: _t->signalAudioLevel((*reinterpret_cast< const MappedEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:176:22: error: request for member 'update' in '* _t', which is of non-class type 'int' 176 | case 12: _t->update(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:177:22: error: request for member 'rewind' in '* _t', which is of non-class type 'int' 177 | case 13: _t->rewind(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:178:22: error: request for member 'fastforward' in '* _t', which is of non-class type 'int' 178 | case 14: _t->fastforward(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:179:22: error: request for member 'rewindToBeginning' in '* _t', which is of non-class type 'int' 179 | case 15: _t->rewindToBeginning(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:180:22: error: request for member 'fastForwardToEnd' in '* _t', which is of non-class type 'int' 180 | case 16: _t->fastForwardToEnd(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:181:22: error: request for member 'slotCountdownTimerTimeout' in '* _t', which is of non-class type 'int' 181 | case 17: _t->slotCountdownTimerTimeout(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:182:22: error: request for member 'slotAllowReport' in '* _t', which is of non-class type 'int' 182 | case 18: _t->slotAllowReport(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:183:22: error: request for member 'slotFoundMountPoint' in '* _t', which is of non-class type 'int' 183 | case 19: _t->slotFoundMountPoint((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2])),(*reinterpret_cast< ulong(*)>(_a[3])),(*reinterpret_cast< ulong(*)>(_a[4]))); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:184:22: error: request for member 'slotScheduledCompositionMapperReset' in '* _t', which is of non-class type 'int' 184 | case 20: _t->slotScheduledCompositionMapperReset(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:190:19: error: expected nested-name-specifier before '_t' 190 | using _t = void (SequenceManager::*)(int , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:35: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:38: error: expected '>' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:38: error: expected '(' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:39: error: expected primary-expression before '>' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:63: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:191:112: error: expected ')' before '{' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalSelectProgramNoSend)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:195:9: error: expected primary-expression before '}' token 195 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:197:19: error: expected nested-name-specifier before '_t' 197 | using _t = void (SequenceManager::*)(int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:35: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:38: error: expected '>' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:38: error: expected '(' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:39: error: expected primary-expression before '>' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:63: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:198:111: error: expected ')' before '{' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOnReceived)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:202:9: error: expected primary-expression before '}' token 202 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:204:19: error: expected nested-name-specifier before '_t' 204 | using _t = void (SequenceManager::*)(int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:35: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:38: error: expected '>' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:38: error: expected '(' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:39: error: expected primary-expression before '>' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:63: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:205:112: error: expected ')' before '{' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::insertableNoteOffReceived)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:209:9: error: expected primary-expression before '}' token 209 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:211:19: error: expected nested-name-specifier before '_t' 211 | using _t = void (SequenceManager::*)(MappedEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:35: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:38: error: expected '>' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:38: error: expected '(' before '*' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:39: error: expected primary-expression before '>' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:63: error: '_t' does not name a type; did you mean 'Qt'? 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:212:116: error: expected ')' before '{' token 212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::controllerDeviceEventReceived)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:216:9: error: expected primary-expression before '}' token 216 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:218:19: error: expected nested-name-specifier before '_t' 218 | using _t = void (SequenceManager::*)(int , QString , QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:35: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:38: error: expected '>' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:38: error: expected '(' before '*' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:39: error: expected primary-expression before '>' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:63: error: '_t' does not name a type; did you mean 'Qt'? 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:219:98: error: expected ')' before '{' token 219 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::sendWarning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:223:9: error: expected primary-expression before '}' token 223 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:225:19: error: expected nested-name-specifier before '_t' 225 | using _t = void (SequenceManager::*)(tempoT ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:35: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:38: error: expected '>' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:38: error: expected '(' before '*' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:39: error: expected primary-expression before '>' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:63: error: '_t' does not name a type; did you mean 'Qt'? 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:226:105: error: expected ')' before '{' token 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalTempoChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:230:9: error: expected primary-expression before '}' token 230 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:232:19: error: expected nested-name-specifier before '_t' 232 | using _t = void (SequenceManager::*)(const MappedEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:35: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:38: error: expected '>' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:38: error: expected '(' before '*' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:39: error: expected primary-expression before '>' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:63: error: '_t' does not name a type; did you mean 'Qt'? 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:233:104: error: expected ')' before '{' token 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiInLabel)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:237:9: error: expected primary-expression before '}' token 237 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:239:19: error: expected nested-name-specifier before '_t' 239 | using _t = void (SequenceManager::*)(const MappedEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:35: error: '_t' does not name a type; did you mean 'Qt'? 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:38: error: expected '>' before '*' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:38: error: expected '(' before '*' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:39: error: expected primary-expression before '>' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:63: error: '_t' does not name a type; did you mean 'Qt'? 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:240:105: error: expected ')' before '{' token 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMidiOutLabel)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:244:9: error: expected primary-expression before '}' token 244 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:246:19: error: expected nested-name-specifier before '_t' 246 | using _t = void (SequenceManager::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:35: error: '_t' does not name a type; did you mean 'Qt'? 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:38: error: expected '>' before '*' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:38: error: expected '(' before '*' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:39: error: expected primary-expression before '>' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:63: error: '_t' does not name a type; did you mean 'Qt'? 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:247:100: error: expected ')' before '{' token 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalPlaying)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:251:9: error: expected primary-expression before '}' token 251 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:253:19: error: expected nested-name-specifier before '_t' 253 | using _t = void (SequenceManager::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:35: error: '_t' does not name a type; did you mean 'Qt'? 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:38: error: expected '>' before '*' token 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:38: error: expected '(' before '*' token 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:39: error: expected primary-expression before '>' token 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:63: error: '_t' does not name a type; did you mean 'Qt'? 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:254:102: error: expected ')' before '{' token 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalRecording)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:258:9: error: expected primary-expression before '}' token 258 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:260:19: error: expected nested-name-specifier before '_t' 260 | using _t = void (SequenceManager::*)(bool ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:35: error: '_t' does not name a type; did you mean 'Qt'? 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:38: error: expected '>' before '*' token 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:38: error: expected '(' before '*' token 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:39: error: expected primary-expression before '>' token 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:63: error: '_t' does not name a type; did you mean 'Qt'? 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:261:111: error: expected ')' before '{' token 261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalMetronomeActivated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:265:9: error: expected primary-expression before '}' token 265 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:267:19: error: expected nested-name-specifier before '_t' 267 | using _t = void (SequenceManager::*)(const MappedEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:35: error: '_t' does not name a type; did you mean 'Qt'? 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:38: error: expected '>' before '*' token 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:38: error: expected '(' before '*' token 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:39: error: expected primary-expression before '>' token 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:63: error: '_t' does not name a type; did you mean 'Qt'? 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:268:103: error: expected ')' before '{' token 268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SequenceManager::signalAudioLevel)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:272:9: error: expected primary-expression before '}' token 272 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:188:14: warning: unused variable 'result' [-Wunused-variable] 188 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:281:5: error: 'nullptr' was not declared in this scope 281 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:282:5: error: 'nullptr' was not declared in this scope 282 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'virtual void* Rosegarden::SequenceManager::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:293:26: error: 'nullptr' was not declared in this scope 293 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalSelectProgramNoSend(int, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:321:20: error: 'nullptr' was not declared in this scope 321 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::insertableNoteOnReceived(int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:328:20: error: 'nullptr' was not declared in this scope 328 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::insertableNoteOffReceived(int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:335:20: error: 'nullptr' was not declared in this scope 335 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::controllerDeviceEventReceived(Rosegarden::MappedEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:342:20: error: 'nullptr' was not declared in this scope 342 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::sendWarning(int, QString, QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:349:20: error: 'nullptr' was not declared in this scope 349 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalTempoChanged(Rosegarden::tempoT)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:356:20: error: 'nullptr' was not declared in this scope 356 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalMidiInLabel(const Rosegarden::MappedEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:363:20: error: 'nullptr' was not declared in this scope 363 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalMidiOutLabel(const Rosegarden::MappedEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:370:20: error: 'nullptr' was not declared in this scope 370 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalPlaying(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:377:20: error: 'nullptr' was not declared in this scope 377 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalRecording(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:384:20: error: 'nullptr' was not declared in this scope 384 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalMetronomeActivated(bool)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:391:20: error: 'nullptr' was not declared in this scope 391 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp: In member function 'void Rosegarden::SequenceManager::signalAudioLevel(const Rosegarden::MappedEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/5FGW2KV7EB/moc_SequenceManager.cpp:398:20: error: 'nullptr' was not declared in this scope 398 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioMixerWindow2.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioMixerWindow2.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioMixerWindow2.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:184: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp: In static member function 'static void Rosegarden::AudioMixerWindow2::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:129:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 129 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:129:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 129 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:129:20: error: cannot convert 'Rosegarden::AudioMixerWindow2*' to 'int*' in initialization 129 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioMixerWindow2* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:132:21: error: request for member 'windowActivated' in '* _t', which is of non-class type 'int' 132 | case 0: _t->windowActivated(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:133:21: error: request for member 'slotDocumentModified' in '* _t', which is of non-class type 'int' 133 | case 1: _t->slotDocumentModified((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:134:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 134 | case 2: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:135:21: error: request for member 'slotNumberOfStereoInputs' in '* _t', which is of non-class type 'int' 135 | case 3: _t->slotNumberOfStereoInputs(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:136:21: error: request for member 'slotNumberOfSubmasters' in '* _t', which is of non-class type 'int' 136 | case 4: _t->slotNumberOfSubmasters(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:137:21: error: request for member 'slotPanningLaw' in '* _t', which is of non-class type 'int' 137 | case 5: _t->slotPanningLaw(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:138:21: error: request for member 'slotShowAudioFaders' in '* _t', which is of non-class type 'int' 138 | case 6: _t->slotShowAudioFaders(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:139:21: error: request for member 'slotShowSynthFaders' in '* _t', which is of non-class type 'int' 139 | case 7: _t->slotShowSynthFaders(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:140:21: error: request for member 'slotShowAudioSubmasters' in '* _t', which is of non-class type 'int' 140 | case 8: _t->slotShowAudioSubmasters(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:141:21: error: request for member 'slotShowUnassignedFaders' in '* _t', which is of non-class type 'int' 141 | case 9: _t->slotShowUnassignedFaders(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:142:22: error: request for member 'slotHelp' in '* _t', which is of non-class type 'int' 142 | case 10: _t->slotHelp(); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:143:22: error: request for member 'slotAboutRosegarden' in '* _t', which is of non-class type 'int' 143 | case 11: _t->slotAboutRosegarden(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:144:22: error: request for member 'slotExternalControllerEvent' in '* _t', which is of non-class type 'int' 144 | case 12: _t->slotExternalControllerEvent((*reinterpret_cast< MappedEvent*(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:184: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:145:22: error: request for member 'slotControlChange' in '* _t', which is of non-class type 'int' 145 | case 13: _t->slotControlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:151:19: error: expected nested-name-specifier before '_t' 151 | using _t = void (AudioMixerWindow2::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:35: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:38: error: expected '>' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:38: error: expected '(' before '*' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:39: error: expected primary-expression before '>' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:63: error: '_t' does not name a type; did you mean 'Qt'? 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:152:104: error: expected ')' before '{' token 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioMixerWindow2::windowActivated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:156:9: error: expected primary-expression before '}' token 156 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:149:14: warning: unused variable 'result' [-Wunused-variable] 149 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:165:5: error: 'nullptr' was not declared in this scope 165 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:166:5: error: 'nullptr' was not declared in this scope 166 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp: In member function 'virtual void* Rosegarden::AudioMixerWindow2::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:177:26: error: 'nullptr' was not declared in this scope 177 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp: In member function 'void Rosegarden::AudioMixerWindow2::windowActivated()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioMixerWindow2.cpp:205:55: error: 'nullptr' was not declared in this scope 205 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioStrip.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioStrip.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/AudioStrip.h:46:5: error: 'nullptr' was not declared in this scope 46 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:185: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp: In static member function 'static void Rosegarden::AudioStrip::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:108:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 108 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:108:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 108 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:108:20: error: cannot convert 'Rosegarden::AudioStrip*' to 'int*' in initialization 108 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioStrip* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:111:21: error: request for member 'selectPlugin' in '* _t', which is of non-class type 'int' 111 | case 0: _t->selectPlugin((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:185: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:112:21: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 112 | case 1: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:113:21: error: request for member 'slotLabelClicked' in '* _t', which is of non-class type 'int' 113 | case 2: _t->slotLabelClicked(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:114:21: error: request for member 'slotFaderLevelChanged' in '* _t', which is of non-class type 'int' 114 | case 3: _t->slotFaderLevelChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:115:21: error: request for member 'slotPanChanged' in '* _t', which is of non-class type 'int' 115 | case 4: _t->slotPanChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:116:21: error: request for member 'slotChannelsChanged' in '* _t', which is of non-class type 'int' 116 | case 5: _t->slotChannelsChanged(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:117:21: error: request for member 'slotSelectPlugin' in '* _t', which is of non-class type 'int' 117 | case 6: _t->slotSelectPlugin(); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:118:21: error: request for member 'slotUpdateMeter' in '* _t', which is of non-class type 'int' 118 | case 7: _t->slotUpdateMeter(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:142:19: error: expected nested-name-specifier before '_t' 142 | using _t = void (AudioStrip::*)(QWidget * , InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:35: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:38: error: expected '>' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:38: error: expected '(' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:39: error: expected primary-expression before '>' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:63: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:143:94: error: expected ')' before '{' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioStrip::selectPlugin)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:147:9: error: expected primary-expression before '}' token 147 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:140:14: warning: unused variable 'result' [-Wunused-variable] 140 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:156:5: error: 'nullptr' was not declared in this scope 156 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:157:5: error: 'nullptr' was not declared in this scope 157 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp: In member function 'virtual void* Rosegarden::AudioStrip::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:168:26: error: 'nullptr' was not declared in this scope 168 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp: In member function 'void Rosegarden::AudioStrip::selectPlugin(QWidget*, Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_AudioStrip.cpp:194:20: error: 'nullptr' was not declared in this scope 194 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/BankEditorDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/BankEditorDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/BankEditorDialog.h:58:5: error: 'nullptr' was not declared in this scope 58 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:186: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp: In static member function 'static void Rosegarden::BankEditorDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:143:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 143 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:143:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 143 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:143:20: error: cannot convert 'Rosegarden::BankEditorDialog*' to 'int*' in initialization 143 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::BankEditorDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:146:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 146 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:147:21: error: request for member 'deviceNamesChanged' in '* _t', which is of non-class type 'int' 147 | case 1: _t->deviceNamesChanged(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:148:21: error: request for member 'slotPopulateDeviceEditors' in '* _t', which is of non-class type 'int' 148 | case 2: _t->slotPopulateDeviceEditors((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:186: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:149:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 149 | case 3: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:150:21: error: request for member 'slotReset' in '* _t', which is of non-class type 'int' 150 | case 4: _t->slotReset(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:151:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 151 | case 5: _t->slotUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:152:21: error: request for member 'slotAddBank' in '* _t', which is of non-class type 'int' 152 | case 6: _t->slotAddBank(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:153:21: error: request for member 'slotAddKeyMapping' in '* _t', which is of non-class type 'int' 153 | case 7: _t->slotAddKeyMapping(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:154:21: error: request for member 'slotDelete' in '* _t', which is of non-class type 'int' 154 | case 8: _t->slotDelete(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:155:21: error: request for member 'slotDeleteAll' in '* _t', which is of non-class type 'int' 155 | case 9: _t->slotDeleteAll(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:156:22: error: request for member 'slotImport' in '* _t', which is of non-class type 'int' 156 | case 10: _t->slotImport(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:157:22: error: request for member 'slotExport' in '* _t', which is of non-class type 'int' 157 | case 11: _t->slotExport(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:158:22: error: request for member 'slotModifyDeviceOrBankName' in '* _t', which is of non-class type 'int' 158 | case 12: _t->slotModifyDeviceOrBankName((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:159:22: error: request for member 'slotFileClose' in '* _t', which is of non-class type 'int' 159 | case 13: _t->slotFileClose(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:160:22: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 160 | case 14: _t->slotEdit((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:161:22: error: request for member 'slotEditCopy' in '* _t', which is of non-class type 'int' 161 | case 15: _t->slotEditCopy(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:162:22: error: request for member 'slotEditPaste' in '* _t', which is of non-class type 'int' 162 | case 16: _t->slotEditPaste(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:163:22: error: request for member 'slotVariationToggled' in '* _t', which is of non-class type 'int' 163 | case 17: _t->slotVariationToggled(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:164:22: error: request for member 'slotVariationChanged' in '* _t', which is of non-class type 'int' 164 | case 18: _t->slotVariationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:165:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 165 | case 19: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:166:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 166 | case 20: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:172:19: error: expected nested-name-specifier before '_t' 172 | using _t = void (BankEditorDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:35: error: '_t' does not name a type; did you mean 'Qt'? 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:38: error: expected '>' before '*' token 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:38: error: expected '(' before '*' token 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:39: error: expected primary-expression before '>' token 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:63: error: '_t' does not name a type; did you mean 'Qt'? 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:173:95: error: expected ')' before '{' token 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:177:9: error: expected primary-expression before '}' token 177 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:179:19: error: expected nested-name-specifier before '_t' 179 | using _t = void (BankEditorDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:35: error: '_t' does not name a type; did you mean 'Qt'? 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:38: error: expected '>' before '*' token 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:38: error: expected '(' before '*' token 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:39: error: expected primary-expression before '>' token 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:63: error: '_t' does not name a type; did you mean 'Qt'? 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:180:106: error: expected ')' before '{' token 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BankEditorDialog::deviceNamesChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:184:9: error: expected primary-expression before '}' token 184 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:170:14: warning: unused variable 'result' [-Wunused-variable] 170 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:193:5: error: 'nullptr' was not declared in this scope 193 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:194:5: error: 'nullptr' was not declared in this scope 194 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp: In member function 'virtual void* Rosegarden::BankEditorDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:205:26: error: 'nullptr' was not declared in this scope 205 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp: In member function 'void Rosegarden::BankEditorDialog::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:233:55: error: 'nullptr' was not declared in this scope 233 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp: In member function 'void Rosegarden::BankEditorDialog::deviceNamesChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_BankEditorDialog.cpp:239:55: error: 'nullptr' was not declared in this scope 239 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlEditorDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlEditorDialog.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlEditorDialog.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:187: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp: In static member function 'static void Rosegarden::ControlEditorDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:100:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 100 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:100:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 100 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:100:20: error: cannot convert 'Rosegarden::ControlEditorDialog*' to 'int*' in initialization 100 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ControlEditorDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:103:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 103 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:104:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 104 | case 1: _t->slotUpdate((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:105:21: error: request for member 'slotUpdate' in '* _t', which is of non-class type 'int' 105 | case 2: _t->slotUpdate(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:106:21: error: request for member 'slotAdd' in '* _t', which is of non-class type 'int' 106 | case 3: _t->slotAdd(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:107:21: error: request for member 'slotDelete' in '* _t', which is of non-class type 'int' 107 | case 4: _t->slotDelete(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:108:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 108 | case 5: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:109:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 109 | case 6: _t->slotEdit((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:110:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 110 | case 7: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:111:21: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 111 | case 8: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:117:19: error: expected nested-name-specifier before '_t' 117 | using _t = void (ControlEditorDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:35: error: '_t' does not name a type; did you mean 'Qt'? 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:38: error: expected '>' before '*' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:38: error: expected '(' before '*' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:39: error: expected primary-expression before '>' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:63: error: '_t' does not name a type; did you mean 'Qt'? 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:118:98: error: expected ')' before '{' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlEditorDialog::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:122:9: error: expected primary-expression before '}' token 122 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:115:14: warning: unused variable 'result' [-Wunused-variable] 115 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:131:5: error: 'nullptr' was not declared in this scope 131 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:132:5: error: 'nullptr' was not declared in this scope 132 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp: In member function 'virtual void* Rosegarden::ControlEditorDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:143:26: error: 'nullptr' was not declared in this scope 143 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp: In member function 'void Rosegarden::ControlEditorDialog::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlEditorDialog.cpp:171:55: error: 'nullptr' was not declared in this scope 171 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlParameterEditDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlParameterEditDialog.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/ControlParameterEditDialog.h:43:5: error: 'nullptr' was not declared in this scope 43 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:188: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp: In static member function 'static void Rosegarden::ControlParameterEditDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:97:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 97 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:97:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 97 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:97:20: error: cannot convert 'Rosegarden::ControlParameterEditDialog*' to 'int*' in initialization 97 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ControlParameterEditDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:100:21: error: request for member 'slotNameChanged' in '* _t', which is of non-class type 'int' 100 | case 0: _t->slotNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:101:21: error: request for member 'slotTypeChanged' in '* _t', which is of non-class type 'int' 101 | case 1: _t->slotTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:102:21: error: request for member 'slotDescriptionChanged' in '* _t', which is of non-class type 'int' 102 | case 2: _t->slotDescriptionChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:103:21: error: request for member 'slotControllerChanged' in '* _t', which is of non-class type 'int' 103 | case 3: _t->slotControllerChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:104:21: error: request for member 'slotMinChanged' in '* _t', which is of non-class type 'int' 104 | case 4: _t->slotMinChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:105:21: error: request for member 'slotMaxChanged' in '* _t', which is of non-class type 'int' 105 | case 5: _t->slotMaxChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:106:21: error: request for member 'slotDefaultChanged' in '* _t', which is of non-class type 'int' 106 | case 6: _t->slotDefaultChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:107:21: error: request for member 'slotColourChanged' in '* _t', which is of non-class type 'int' 107 | case 7: _t->slotColourChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:108:21: error: request for member 'slotIPBPositionChanged' in '* _t', which is of non-class type 'int' 108 | case 8: _t->slotIPBPositionChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:119:5: error: 'nullptr' was not declared in this scope 119 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:120:5: error: 'nullptr' was not declared in this scope 120 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp: In member function 'virtual void* Rosegarden::ControlParameterEditDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_ControlParameterEditDialog.cpp:131:26: error: 'nullptr' was not declared in this scope 131 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h: At global scope: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QDialogButtonBox:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_DeviceManagerDialogUi.h:15, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:189: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:120:40: error: 'nullptr' was not declared in this scope 120 | QDialogButtonBox(QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:121:69: error: 'nullptr' was not declared in this scope 121 | QDialogButtonBox(Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:122:74: error: 'nullptr' was not declared in this scope 122 | explicit QDialogButtonBox(StandardButtons buttons, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:124:40: error: 'nullptr' was not declared in this scope 124 | QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h: In member function 'QDialogButtonBoxPrivate* QDialogButtonBox::d_func()': /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:159:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QDialogButtonBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QDialogButtonBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qdialogbuttonbox.h: In member function 'const QDialogButtonBoxPrivate* QDialogButtonBox::d_func() const': /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:159:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 159 | Q_DECLARE_PRIVATE(QDialogButtonBox) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qdialogbuttonbox.h:159:5: note: mismatched types 'T*' and 'QScopedPointer' 159 | Q_DECLARE_PRIVATE(QDialogButtonBox) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qheaderview.h: At global scope: /usr/include/qt5/QtWidgets/qheaderview.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qheaderview.h:55:5: error: 'nullptr' was not declared in this scope 55 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QHeaderView:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_DeviceManagerDialogUi.h:19, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:189: /usr/include/qt5/QtWidgets/qheaderview.h:78:73: error: 'nullptr' was not declared in this scope 78 | explicit QHeaderView(Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ /usr/include/qt5/QtWidgets/qheaderview.h:214:88: error: 'nullptr' was not declared in this scope 214 | QHeaderView(QHeaderViewPrivate &dd, Qt::Orientation orientation, QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qheaderview.h: In member function 'QHeaderViewPrivate* QHeaderView::d_func()': /usr/include/qt5/QtWidgets/qheaderview.h:263:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 263 | Q_DECLARE_PRIVATE(QHeaderView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qheaderview.h:263:5: note: mismatched types 'T*' and 'QScopedPointer' 263 | Q_DECLARE_PRIVATE(QHeaderView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qheaderview.h: In member function 'const QHeaderViewPrivate* QHeaderView::d_func() const': /usr/include/qt5/QtWidgets/qheaderview.h:263:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 263 | Q_DECLARE_PRIVATE(QHeaderView) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qheaderview.h:263:5: note: mismatched types 'T*' and 'QScopedPointer' 263 | Q_DECLARE_PRIVATE(QHeaderView) | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:189: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_DeviceManagerDialogUi.h: In member function 'void Ui_DeviceManagerDialogUi::retranslateUi(QMainWindow*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/ui_DeviceManagerDialogUi.h:354:119: error: 'nullptr' was not declared in this scope 354 | DeviceManagerDialogUi->setWindowTitle(QApplication::translate("DeviceManagerDialogUi", "Manage MIDI Devices", nullptr)); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/DeviceManagerDialog.h:49:5: error: 'nullptr' was not declared in this scope 49 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:189: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In static member function 'static void Rosegarden::DeviceManagerDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:153:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 153 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:153:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 153 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:153:20: error: cannot convert 'Rosegarden::DeviceManagerDialog*' to 'int*' in initialization 153 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::DeviceManagerDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:156:21: error: request for member 'editBanks' in '* _t', which is of non-class type 'int' 156 | case 0: _t->editBanks((*reinterpret_cast< DeviceId(*)>(_a[1]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:157:21: error: request for member 'editControllers' in '* _t', which is of non-class type 'int' 157 | case 1: _t->editControllers((*reinterpret_cast< DeviceId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:158:21: error: request for member 'deviceNameChanged' in '* _t', which is of non-class type 'int' 158 | case 2: _t->deviceNameChanged((*reinterpret_cast< DeviceId(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:159:21: error: request for member 'deviceNamesChanged' in '* _t', which is of non-class type 'int' 159 | case 3: _t->deviceNamesChanged(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:160:21: error: request for member 'slotOutputPortClicked' in '* _t', which is of non-class type 'int' 160 | case 4: _t->slotOutputPortClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:189: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:161:21: error: request for member 'slotPlaybackDeviceSelected' in '* _t', which is of non-class type 'int' 161 | case 5: _t->slotPlaybackDeviceSelected(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:162:21: error: request for member 'slotInputPortClicked' in '* _t', which is of non-class type 'int' 162 | case 6: _t->slotInputPortClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:163:21: error: request for member 'slotRecordDeviceSelected' in '* _t', which is of non-class type 'int' 163 | case 7: _t->slotRecordDeviceSelected(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:164:21: error: request for member 'slotDeviceItemChanged' in '* _t', which is of non-class type 'int' 164 | case 8: _t->slotDeviceItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:165:21: error: request for member 'slotEdit' in '* _t', which is of non-class type 'int' 165 | case 9: _t->slotEdit((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:166:22: error: request for member 'slotRefreshOutputPorts' in '* _t', which is of non-class type 'int' 166 | case 10: _t->slotRefreshOutputPorts(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:167:22: error: request for member 'slotRefreshInputPorts' in '* _t', which is of non-class type 'int' 167 | case 11: _t->slotRefreshInputPorts(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:168:22: error: request for member 'slotAddPlaybackDevice' in '* _t', which is of non-class type 'int' 168 | case 12: _t->slotAddPlaybackDevice(); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:169:22: error: request for member 'slotAddRecordDevice' in '* _t', which is of non-class type 'int' 169 | case 13: _t->slotAddRecordDevice(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:170:22: error: request for member 'slotDeletePlaybackDevice' in '* _t', which is of non-class type 'int' 170 | case 14: _t->slotDeletePlaybackDevice(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:171:22: error: request for member 'slotDeleteRecordDevice' in '* _t', which is of non-class type 'int' 171 | case 15: _t->slotDeleteRecordDevice(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:172:22: error: request for member 'slotManageBanksOfPlaybackDevice' in '* _t', which is of non-class type 'int' 172 | case 16: _t->slotManageBanksOfPlaybackDevice(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:173:22: error: request for member 'slotEditControllerDefinitions' in '* _t', which is of non-class type 'int' 173 | case 17: _t->slotEditControllerDefinitions(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:174:22: error: request for member 'show' in '* _t', which is of non-class type 'int' 174 | case 18: _t->show(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:175:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 175 | case 19: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:176:22: error: request for member 'slotResyncDevicesReceived' in '* _t', which is of non-class type 'int' 176 | case 20: _t->slotResyncDevicesReceived(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:177:22: error: request for member 'slotCloseButtonPress' in '* _t', which is of non-class type 'int' 177 | case 21: _t->slotCloseButtonPress(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:183:19: error: expected nested-name-specifier before '_t' 183 | using _t = void (DeviceManagerDialog::*)(DeviceId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:35: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:38: error: expected '>' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:38: error: expected '(' before '*' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:39: error: expected primary-expression before '>' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:63: error: '_t' does not name a type; did you mean 'Qt'? 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:184:100: error: expected ')' before '{' token 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editBanks)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:188:9: error: expected primary-expression before '}' token 188 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:190:19: error: expected nested-name-specifier before '_t' 190 | using _t = void (DeviceManagerDialog::*)(DeviceId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:35: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:38: error: expected '>' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:38: error: expected '(' before '*' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:39: error: expected primary-expression before '>' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:63: error: '_t' does not name a type; did you mean 'Qt'? 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:191:106: error: expected ')' before '{' token 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::editControllers)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:195:9: error: expected primary-expression before '}' token 195 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:197:19: error: expected nested-name-specifier before '_t' 197 | using _t = void (DeviceManagerDialog::*)(DeviceId ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:35: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:38: error: expected '>' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:38: error: expected '(' before '*' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:39: error: expected primary-expression before '>' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:63: error: '_t' does not name a type; did you mean 'Qt'? 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:198:108: error: expected ')' before '{' token 198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNameChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:202:9: error: expected primary-expression before '}' token 202 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:204:19: error: expected nested-name-specifier before '_t' 204 | using _t = void (DeviceManagerDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:35: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:38: error: expected '>' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:38: error: expected '(' before '*' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:39: error: expected primary-expression before '>' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:63: error: '_t' does not name a type; did you mean 'Qt'? 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:205:109: error: expected ')' before '{' token 205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeviceManagerDialog::deviceNamesChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:209:9: error: expected primary-expression before '}' token 209 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:181:14: warning: unused variable 'result' [-Wunused-variable] 181 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:218:5: error: 'nullptr' was not declared in this scope 218 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:219:5: error: 'nullptr' was not declared in this scope 219 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In member function 'virtual void* Rosegarden::DeviceManagerDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:230:26: error: 'nullptr' was not declared in this scope 230 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In member function 'void Rosegarden::DeviceManagerDialog::editBanks(Rosegarden::DeviceId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:258:20: error: 'nullptr' was not declared in this scope 258 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In member function 'void Rosegarden::DeviceManagerDialog::editControllers(Rosegarden::DeviceId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:265:20: error: 'nullptr' was not declared in this scope 265 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In member function 'void Rosegarden::DeviceManagerDialog::deviceNameChanged(Rosegarden::DeviceId)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:272:20: error: 'nullptr' was not declared in this scope 272 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp: In member function 'void Rosegarden::DeviceManagerDialog::deviceNamesChanged()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_DeviceManagerDialog.cpp:279:55: error: 'nullptr' was not declared in this scope 279 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtoolbutton.h: At global scope: /usr/include/qt5/QtWidgets/qtoolbutton.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbutton.h:57:5: error: 'nullptr' was not declared in this scope 57 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QToolButton:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/NameSetEditor.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiKeyMappingEditor.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:190: /usr/include/qt5/QtWidgets/qtoolbutton.h:74:44: error: 'nullptr' was not declared in this scope 74 | explicit QToolButton(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qtoolbutton.h: In member function 'QToolButtonPrivate* QToolButton::d_func()': /usr/include/qt5/QtWidgets/qtoolbutton.h:126:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 126 | Q_DECLARE_PRIVATE(QToolButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbutton.h:126:5: note: mismatched types 'T*' and 'QScopedPointer' 126 | Q_DECLARE_PRIVATE(QToolButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qtoolbutton.h: In member function 'const QToolButtonPrivate* QToolButton::d_func() const': /usr/include/qt5/QtWidgets/qtoolbutton.h:126:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 126 | Q_DECLARE_PRIVATE(QToolButton) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qtoolbutton.h:126:5: note: mismatched types 'T*' and 'QScopedPointer' 126 | Q_DECLARE_PRIVATE(QToolButton) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/NameSetEditor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/NameSetEditor.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/NameSetEditor.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiKeyMappingEditor.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiKeyMappingEditor.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:190: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp: In static member function 'static void Rosegarden::MidiKeyMappingEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:72:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 72 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:72:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 72 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:72:20: error: cannot convert 'Rosegarden::MidiKeyMappingEditor*' to 'int*' in initialization 72 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MidiKeyMappingEditor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:75:21: error: request for member 'slotNameChanged' in '* _t', which is of non-class type 'int' 75 | case 0: _t->slotNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:76:21: error: request for member 'slotKeyMapButtonPressed' in '* _t', which is of non-class type 'int' 76 | case 1: _t->slotKeyMapButtonPressed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:87:5: error: 'nullptr' was not declared in this scope 87 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:88:5: error: 'nullptr' was not declared in this scope 88 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp: In member function 'virtual void* Rosegarden::MidiKeyMappingEditor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiKeyMappingEditor.cpp:99:26: error: 'nullptr' was not declared in this scope 99 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MixerWindow.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MixerWindow.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MixerWindow.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiMixerWindow.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiMixerWindow.h:48:5: error: 'nullptr' was not declared in this scope 48 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:191: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In static member function 'static void Rosegarden::MidiMixerWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:135:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 135 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:135:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 135 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:135:20: error: cannot convert 'Rosegarden::MidiMixerWindow*' to 'int*' in initialization 135 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MidiMixerWindow* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:138:21: error: request for member 'play' in '* _t', which is of non-class type 'int' 138 | case 0: _t->play(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:139:21: error: request for member 'stop' in '* _t', which is of non-class type 'int' 139 | case 1: _t->stop(); break; | ^~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:140:21: error: request for member 'fastForwardPlayback' in '* _t', which is of non-class type 'int' 140 | case 2: _t->fastForwardPlayback(); break; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:141:21: error: request for member 'rewindPlayback' in '* _t', which is of non-class type 'int' 141 | case 3: _t->rewindPlayback(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:142:21: error: request for member 'fastForwardPlaybackToEnd' in '* _t', which is of non-class type 'int' 142 | case 4: _t->fastForwardPlaybackToEnd(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:143:21: error: request for member 'rewindPlaybackToBeginning' in '* _t', which is of non-class type 'int' 143 | case 5: _t->rewindPlaybackToBeginning(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:144:21: error: request for member 'record' in '* _t', which is of non-class type 'int' 144 | case 6: _t->record(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:145:21: error: request for member 'panic' in '* _t', which is of non-class type 'int' 145 | case 7: _t->panic(); break; | ^~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:146:21: error: request for member 'slotSynchronise' in '* _t', which is of non-class type 'int' 146 | case 8: _t->slotSynchronise(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:147:21: error: request for member 'slotControllerDeviceEventReceived' in '* _t', which is of non-class type 'int' 147 | case 9: _t->slotControllerDeviceEventReceived((*reinterpret_cast< MappedEvent*(*)>(_a[1])),(*reinterpret_cast< const void*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:191: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:148:22: error: request for member 'slotCurrentTabChanged' in '* _t', which is of non-class type 'int' 148 | case 10: _t->slotCurrentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:149:22: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 149 | case 11: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:150:22: error: request for member 'slotHelpAbout' in '* _t', which is of non-class type 'int' 150 | case 12: _t->slotHelpAbout(); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:151:22: error: request for member 'slotInstrumentChanged' in '* _t', which is of non-class type 'int' 151 | case 13: _t->slotInstrumentChanged((*reinterpret_cast< Instrument*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:152:22: error: request for member 'slotControlChange' in '* _t', which is of non-class type 'int' 152 | case 14: _t->slotControlChange((*reinterpret_cast< Instrument*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:153:22: error: request for member 'slotFaderLevelChanged' in '* _t', which is of non-class type 'int' 153 | case 15: _t->slotFaderLevelChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:154:22: error: request for member 'slotControllerChanged' in '* _t', which is of non-class type 'int' 154 | case 16: _t->slotControllerChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:178:19: error: expected nested-name-specifier before '_t' 178 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:35: error: '_t' does not name a type; did you mean 'Qt'? 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:38: error: expected '>' before '*' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:38: error: expected '(' before '*' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:39: error: expected primary-expression before '>' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:63: error: '_t' does not name a type; did you mean 'Qt'? 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:179:91: error: expected ')' before '{' token 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::play)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:183:9: error: expected primary-expression before '}' token 183 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:185:19: error: expected nested-name-specifier before '_t' 185 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:35: error: '_t' does not name a type; did you mean 'Qt'? 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:38: error: expected '>' before '*' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:38: error: expected '(' before '*' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:39: error: expected primary-expression before '>' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:63: error: '_t' does not name a type; did you mean 'Qt'? 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:186:91: error: expected ')' before '{' token 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::stop)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:190:9: error: expected primary-expression before '}' token 190 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:192:19: error: expected nested-name-specifier before '_t' 192 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:35: error: '_t' does not name a type; did you mean 'Qt'? 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:38: error: expected '>' before '*' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:38: error: expected '(' before '*' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:39: error: expected primary-expression before '>' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:63: error: '_t' does not name a type; did you mean 'Qt'? 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:193:106: error: expected ')' before '{' token 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:197:9: error: expected primary-expression before '}' token 197 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:199:19: error: expected nested-name-specifier before '_t' 199 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:35: error: '_t' does not name a type; did you mean 'Qt'? 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:38: error: expected '>' before '*' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:38: error: expected '(' before '*' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:39: error: expected primary-expression before '>' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:63: error: '_t' does not name a type; did you mean 'Qt'? 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:200:101: error: expected ')' before '{' token 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlayback)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:204:9: error: expected primary-expression before '}' token 204 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:206:19: error: expected nested-name-specifier before '_t' 206 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:35: error: '_t' does not name a type; did you mean 'Qt'? 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:38: error: expected '>' before '*' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:38: error: expected '(' before '*' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:39: error: expected primary-expression before '>' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:63: error: '_t' does not name a type; did you mean 'Qt'? 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:207:111: error: expected ')' before '{' token 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::fastForwardPlaybackToEnd)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:211:9: error: expected primary-expression before '}' token 211 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:213:19: error: expected nested-name-specifier before '_t' 213 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:35: error: '_t' does not name a type; did you mean 'Qt'? 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:38: error: expected '>' before '*' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:38: error: expected '(' before '*' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:39: error: expected primary-expression before '>' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:63: error: '_t' does not name a type; did you mean 'Qt'? 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:214:112: error: expected ')' before '{' token 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::rewindPlaybackToBeginning)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:218:9: error: expected primary-expression before '}' token 218 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:220:19: error: expected nested-name-specifier before '_t' 220 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:35: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:38: error: expected '>' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:38: error: expected '(' before '*' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:39: error: expected primary-expression before '>' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:63: error: '_t' does not name a type; did you mean 'Qt'? 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:221:93: error: expected ')' before '{' token 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::record)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:225:9: error: expected primary-expression before '}' token 225 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:227:19: error: expected nested-name-specifier before '_t' 227 | using _t = void (MidiMixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:35: error: '_t' does not name a type; did you mean 'Qt'? 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:38: error: expected '>' before '*' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:38: error: expected '(' before '*' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:39: error: expected primary-expression before '>' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:63: error: '_t' does not name a type; did you mean 'Qt'? 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:228:92: error: expected ')' before '{' token 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiMixerWindow::panic)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:232:9: error: expected primary-expression before '}' token 232 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:176:14: warning: unused variable 'result' [-Wunused-variable] 176 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:241:5: error: 'nullptr' was not declared in this scope 241 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:242:5: error: 'nullptr' was not declared in this scope 242 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'virtual void* Rosegarden::MidiMixerWindow::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:253:26: error: 'nullptr' was not declared in this scope 253 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::play()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:281:55: error: 'nullptr' was not declared in this scope 281 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::stop()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:287:55: error: 'nullptr' was not declared in this scope 287 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::fastForwardPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:293:55: error: 'nullptr' was not declared in this scope 293 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::rewindPlayback()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:299:55: error: 'nullptr' was not declared in this scope 299 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::fastForwardPlaybackToEnd()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:305:55: error: 'nullptr' was not declared in this scope 305 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::rewindPlaybackToBeginning()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:311:55: error: 'nullptr' was not declared in this scope 311 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::record()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:317:55: error: 'nullptr' was not declared in this scope 317 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp: In member function 'void Rosegarden::MidiMixerWindow::panic()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiMixerWindow.cpp:323:55: error: 'nullptr' was not declared in this scope 323 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiProgramsEditor.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiProgramsEditor.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/MidiProgramsEditor.h:44:5: error: 'nullptr' was not declared in this scope 44 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:192: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp: In static member function 'static void Rosegarden::MidiProgramsEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:91:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 91 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:91:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 91 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:91:20: error: cannot convert 'Rosegarden::MidiProgramsEditor*' to 'int*' in initialization 91 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MidiProgramsEditor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:94:21: error: request for member 'slotNewMSB' in '* _t', which is of non-class type 'int' 94 | case 0: _t->slotNewMSB((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:95:21: error: request for member 'slotNewLSB' in '* _t', which is of non-class type 'int' 95 | case 1: _t->slotNewLSB((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:96:21: error: request for member 'slotNewPercussion' in '* _t', which is of non-class type 'int' 96 | case 2: _t->slotNewPercussion(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:97:21: error: request for member 'slotNameChanged' in '* _t', which is of non-class type 'int' 97 | case 3: _t->slotNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:98:21: error: request for member 'slotKeyMapButtonPressed' in '* _t', which is of non-class type 'int' 98 | case 4: _t->slotKeyMapButtonPressed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:99:21: error: request for member 'slotKeyMapMenuItemSelected' in '* _t', which is of non-class type 'int' 99 | case 5: _t->slotKeyMapMenuItemSelected((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:100:21: error: request for member 'slotKeyMapMenuItemSelected' in '* _t', which is of non-class type 'int' 100 | case 6: _t->slotKeyMapMenuItemSelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp: In member function 'virtual void* Rosegarden::MidiProgramsEditor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MidiProgramsEditor.cpp:123:26: error: 'nullptr' was not declared in this scope 123 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:193: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp: In static member function 'static void Rosegarden::MixerWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:79:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 79 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:79:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 79 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:79:20: error: cannot convert 'Rosegarden::MixerWindow*' to 'int*' in initialization 79 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::MixerWindow* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:82:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 82 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:83:21: error: request for member 'windowActivated' in '* _t', which is of non-class type 'int' 83 | case 1: _t->windowActivated(); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:84:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 84 | case 2: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:90:19: error: expected nested-name-specifier before '_t' 90 | using _t = void (MixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:35: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:38: error: expected '>' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:38: error: expected '(' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:39: error: expected primary-expression before '>' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:63: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:91:90: error: expected ')' before '{' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:95:9: error: expected primary-expression before '}' token 95 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:97:19: error: expected nested-name-specifier before '_t' 97 | using _t = void (MixerWindow::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:35: error: '_t' does not name a type; did you mean 'Qt'? 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:38: error: expected '>' before '*' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:38: error: expected '(' before '*' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:39: error: expected primary-expression before '>' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:63: error: '_t' does not name a type; did you mean 'Qt'? 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:98:98: error: expected ')' before '{' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MixerWindow::windowActivated)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:102:9: error: expected primary-expression before '}' token 102 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:88:14: warning: unused variable 'result' [-Wunused-variable] 88 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:113:5: error: 'nullptr' was not declared in this scope 113 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp: In member function 'virtual void* Rosegarden::MixerWindow::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:124:26: error: 'nullptr' was not declared in this scope 124 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp: In member function 'void Rosegarden::MixerWindow::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:150:55: error: 'nullptr' was not declared in this scope 150 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp: In member function 'void Rosegarden::MixerWindow::windowActivated()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_MixerWindow.cpp:156:55: error: 'nullptr' was not declared in this scope 156 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:194: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp: In static member function 'static void Rosegarden::NameSetEditor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:76:20: error: cannot convert 'Rosegarden::NameSetEditor*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::NameSetEditor* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:79:21: error: request for member 'slotNameChanged' in '* _t', which is of non-class type 'int' 79 | case 0: _t->slotNameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:80:21: error: request for member 'slotKeyMapButtonPressed' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotKeyMapButtonPressed(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:81:21: error: request for member 'slotToggleInitialLabel' in '* _t', which is of non-class type 'int' 81 | case 2: _t->slotToggleInitialLabel(); break; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:92:5: error: 'nullptr' was not declared in this scope 92 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp: In member function 'virtual void* Rosegarden::NameSetEditor::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_NameSetEditor.cpp:104:26: error: 'nullptr' was not declared in this scope 104 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/RemapInstrumentDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/RemapInstrumentDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/RemapInstrumentDialog.h:41:5: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:195: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp: In static member function 'static void Rosegarden::RemapInstrumentDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:83:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 83 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:83:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 83 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:83:20: error: cannot convert 'Rosegarden::RemapInstrumentDialog*' to 'int*' in initialization 83 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::RemapInstrumentDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:86:21: error: request for member 'applyClicked' in '* _t', which is of non-class type 'int' 86 | case 0: _t->applyClicked(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:87:21: error: request for member 'slotRemapReleased' in '* _t', which is of non-class type 'int' 87 | case 1: _t->slotRemapReleased(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:88:21: error: request for member 'accept' in '* _t', which is of non-class type 'int' 88 | case 2: _t->accept(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:89:21: error: request for member 'slotApply' in '* _t', which is of non-class type 'int' 89 | case 3: _t->slotApply(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:95:19: error: expected nested-name-specifier before '_t' 95 | using _t = void (RemapInstrumentDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:35: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:38: error: expected '>' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:38: error: expected '(' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:39: error: expected primary-expression before '>' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:63: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:96:105: error: expected ')' before '{' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RemapInstrumentDialog::applyClicked)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:100:9: error: expected primary-expression before '}' token 100 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:93:14: warning: unused variable 'result' [-Wunused-variable] 93 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:110:5: error: 'nullptr' was not declared in this scope 110 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp: In member function 'virtual void* Rosegarden::RemapInstrumentDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:122:26: error: 'nullptr' was not declared in this scope 122 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp: In member function 'void Rosegarden::RemapInstrumentDialog::applyClicked()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_RemapInstrumentDialog.cpp:148:55: error: 'nullptr' was not declared in this scope 148 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/SynthPluginManagerDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/SynthPluginManagerDialog.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/SynthPluginManagerDialog.h:50:5: error: 'nullptr' was not declared in this scope 50 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:196: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In static member function 'static void Rosegarden::SynthPluginManagerDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:107:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 107 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:107:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 107 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:107:20: error: cannot convert 'Rosegarden::SynthPluginManagerDialog*' to 'int*' in initialization 107 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::SynthPluginManagerDialog* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:110:21: error: request for member 'closing' in '* _t', which is of non-class type 'int' 110 | case 0: _t->closing(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:111:21: error: request for member 'pluginSelected' in '* _t', which is of non-class type 'int' 111 | case 1: _t->pluginSelected((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:112:21: error: request for member 'showPluginDialog' in '* _t', which is of non-class type 'int' 112 | case 2: _t->showPluginDialog((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< InstrumentId(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:113:21: error: request for member 'showPluginGUI' in '* _t', which is of non-class type 'int' 113 | case 3: _t->showPluginGUI((*reinterpret_cast< InstrumentId(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:114:21: error: request for member 'slotClose' in '* _t', which is of non-class type 'int' 114 | case 4: _t->slotClose(); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:115:21: error: request for member 'slotPluginChanged' in '* _t', which is of non-class type 'int' 115 | case 5: _t->slotPluginChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:116:21: error: request for member 'slotControlsButtonClicked' in '* _t', which is of non-class type 'int' 116 | case 6: _t->slotControlsButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:117:21: error: request for member 'slotGUIButtonClicked' in '* _t', which is of non-class type 'int' 117 | case 7: _t->slotGUIButtonClicked(); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:118:21: error: request for member 'slotHelpRequested' in '* _t', which is of non-class type 'int' 118 | case 8: _t->slotHelpRequested(); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:135:19: error: expected nested-name-specifier before '_t' 135 | using _t = void (SynthPluginManagerDialog::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:35: error: '_t' does not name a type; did you mean 'Qt'? 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:38: error: expected '>' before '*' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:38: error: expected '(' before '*' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:39: error: expected primary-expression before '>' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:63: error: '_t' does not name a type; did you mean 'Qt'? 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:136:103: error: expected ')' before '{' token 136 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::closing)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:140:9: error: expected primary-expression before '}' token 140 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:142:19: error: expected nested-name-specifier before '_t' 142 | using _t = void (SynthPluginManagerDialog::*)(InstrumentId , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:35: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:38: error: expected '>' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:38: error: expected '(' before '*' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:39: error: expected primary-expression before '>' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:63: error: '_t' does not name a type; did you mean 'Qt'? 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:143:110: error: expected ')' before '{' token 143 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::pluginSelected)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:147:9: error: expected primary-expression before '}' token 147 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:149:19: error: expected nested-name-specifier before '_t' 149 | using _t = void (SynthPluginManagerDialog::*)(QWidget * , InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:35: error: '_t' does not name a type; did you mean 'Qt'? 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:38: error: expected '>' before '*' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:38: error: expected '(' before '*' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:39: error: expected primary-expression before '>' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:63: error: '_t' does not name a type; did you mean 'Qt'? 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:150:112: error: expected ')' before '{' token 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginDialog)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:154:9: error: expected primary-expression before '}' token 154 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:156:19: error: expected nested-name-specifier before '_t' 156 | using _t = void (SynthPluginManagerDialog::*)(InstrumentId , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:35: error: '_t' does not name a type; did you mean 'Qt'? 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:38: error: expected '>' before '*' token 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:38: error: expected '(' before '*' token 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:39: error: expected primary-expression before '>' token 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:63: error: '_t' does not name a type; did you mean 'Qt'? 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:157:109: error: expected ')' before '{' token 157 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SynthPluginManagerDialog::showPluginGUI)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:161:9: error: expected primary-expression before '}' token 161 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:133:14: warning: unused variable 'result' [-Wunused-variable] 133 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:170:5: error: 'nullptr' was not declared in this scope 170 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:171:5: error: 'nullptr' was not declared in this scope 171 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In member function 'virtual void* Rosegarden::SynthPluginManagerDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:182:26: error: 'nullptr' was not declared in this scope 182 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In member function 'void Rosegarden::SynthPluginManagerDialog::closing()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:210:55: error: 'nullptr' was not declared in this scope 210 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In member function 'void Rosegarden::SynthPluginManagerDialog::pluginSelected(Rosegarden::InstrumentId, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:216:20: error: 'nullptr' was not declared in this scope 216 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In member function 'void Rosegarden::SynthPluginManagerDialog::showPluginDialog(QWidget*, Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:223:20: error: 'nullptr' was not declared in this scope 223 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp: In member function 'void Rosegarden::SynthPluginManagerDialog::showPluginGUI(Rosegarden::InstrumentId, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_SynthPluginManagerDialog.cpp:230:20: error: 'nullptr' was not declared in this scope 230 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/TimerCallbackAssistant.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/TimerCallbackAssistant.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/studio/TimerCallbackAssistant.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:197: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp: In static member function 'static void Rosegarden::TimerCallbackAssistant::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:69:20: error: cannot convert 'Rosegarden::TimerCallbackAssistant*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::TimerCallbackAssistant* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:72:21: error: request for member 'slotCallback' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotCallback(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp: In member function 'virtual void* Rosegarden::TimerCallbackAssistant::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CJKKGESP6Q/moc_TimerCallbackAssistant.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PluginPushButton.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PluginPushButton.h:41:1: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/PluginPushButton.h:41:1: error: 'nullptr' was not declared in this scope 41 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioFaderBox.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioFaderBox.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:198: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp: In static member function 'static void Rosegarden::AudioFaderBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:85:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 85 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:85:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 85 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:85:20: error: cannot convert 'Rosegarden::AudioFaderBox*' to 'int*' in initialization 85 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioFaderBox* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:88:21: error: request for member 'audioChannelsChanged' in '* _t', which is of non-class type 'int' 88 | case 0: _t->audioChannelsChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:89:21: error: request for member 'slotSetInstrument' in '* _t', which is of non-class type 'int' 89 | case 1: _t->slotSetInstrument((*reinterpret_cast< Studio*(*)>(_a[1])),(*reinterpret_cast< Instrument*(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:198: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:90:21: error: request for member 'slotChannelStateChanged' in '* _t', which is of non-class type 'int' 90 | case 2: _t->slotChannelStateChanged(); break; | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:96:19: error: expected nested-name-specifier before '_t' 96 | using _t = void (AudioFaderBox::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:35: error: '_t' does not name a type; did you mean 'Qt'? 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:38: error: expected '>' before '*' token 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:38: error: expected '(' before '*' token 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:39: error: expected primary-expression before '>' token 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:63: error: '_t' does not name a type; did you mean 'Qt'? 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:97:105: error: expected ')' before '{' token 97 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioFaderBox::audioChannelsChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:101:9: error: expected primary-expression before '}' token 101 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:94:14: warning: unused variable 'result' [-Wunused-variable] 94 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:110:5: error: 'nullptr' was not declared in this scope 110 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp: In member function 'virtual void* Rosegarden::AudioFaderBox::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:122:26: error: 'nullptr' was not declared in this scope 122 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp: In member function 'void Rosegarden::AudioFaderBox::audioChannelsChanged(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioFaderBox.cpp:148:20: error: 'nullptr' was not declared in this scope 148 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioListView.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioListView.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioListView.h:28:5: error: 'nullptr' was not declared in this scope 28 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:199: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp: In static member function 'static void Rosegarden::AudioListView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:73:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 73 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:73:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 73 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:73:20: error: cannot convert 'Rosegarden::AudioListView*' to 'int*' in initialization 73 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioListView* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:76:21: error: request for member 'dropped' in '* _t', which is of non-class type 'int' 76 | case 0: _t->dropped((*reinterpret_cast< QDropEvent*(*)>(_a[1])),(*reinterpret_cast< QTreeWidget*(*)>(_a[2])),(*reinterpret_cast< const QList(*)>(_a[3]))); break; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:199: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:95:19: error: expected nested-name-specifier before '_t' 95 | using _t = void (AudioListView::*)(QDropEvent * , QTreeWidget * , const QList & ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:35: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:38: error: expected '>' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:38: error: expected '(' before '*' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:39: error: expected primary-expression before '>' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:63: error: '_t' does not name a type; did you mean 'Qt'? 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:96:92: error: expected ')' before '{' token 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioListView::dropped)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:100:9: error: expected primary-expression before '}' token 100 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:93:14: warning: unused variable 'result' [-Wunused-variable] 93 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:109:5: error: 'nullptr' was not declared in this scope 109 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:110:5: error: 'nullptr' was not declared in this scope 110 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp: In member function 'virtual void* Rosegarden::AudioListView::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:121:26: error: 'nullptr' was not declared in this scope 121 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp: In member function 'void Rosegarden::AudioListView::dropped(QDropEvent*, QTreeWidget*, const QList&)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioListView.cpp:147:20: error: 'nullptr' was not declared in this scope 147 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioRouteMenu.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioRouteMenu.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/AudioRouteMenu.h:47:5: error: 'nullptr' was not declared in this scope 47 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:200: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp: In static member function 'static void Rosegarden::AudioRouteMenu::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:80:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 80 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:80:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 80 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:80:20: error: cannot convert 'Rosegarden::AudioRouteMenu*' to 'int*' in initialization 80 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::AudioRouteMenu* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:83:21: error: request for member 'slotWheel' in '* _t', which is of non-class type 'int' 83 | case 0: _t->slotWheel((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:84:21: error: request for member 'slotShowMenu' in '* _t', which is of non-class type 'int' 84 | case 1: _t->slotShowMenu(); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:85:21: error: request for member 'slotEntrySelected' in '* _t', which is of non-class type 'int' 85 | case 2: _t->slotEntrySelected((*reinterpret_cast< QAction*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:86:21: error: request for member 'slotEntrySelected' in '* _t', which is of non-class type 'int' 86 | case 3: _t->slotEntrySelected((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:97:5: error: 'nullptr' was not declared in this scope 97 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:98:5: error: 'nullptr' was not declared in this scope 98 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp: In member function 'virtual void* Rosegarden::AudioRouteMenu::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_AudioRouteMenu.cpp:109:26: error: 'nullptr' was not declared in this scope 109 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/BaseTextFloat.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/BaseTextFloat.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/BaseTextFloat.h:59:5: error: 'nullptr' was not declared in this scope 59 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:201: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp: In static member function 'static void Rosegarden::BaseTextFloat::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:69:20: error: cannot convert 'Rosegarden::BaseTextFloat*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::BaseTextFloat* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:72:21: error: request for member 'slotTimeout' in '* _t', which is of non-class type 'int' 72 | case 0: _t->slotTimeout(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:85:5: error: 'nullptr' was not declared in this scope 85 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp: In member function 'virtual void* Rosegarden::BaseTextFloat::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_BaseTextFloat.cpp:96:26: error: 'nullptr' was not declared in this scope 96 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CheckButton.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CheckButton.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CheckButton.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:202: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp: In static member function 'static void Rosegarden::CheckButton::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:69:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 69 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:69:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 69 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:69:20: error: cannot convert 'Rosegarden::CheckButton*' to 'int*' in initialization 69 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CheckButton* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:72:21: error: request for member 'toggle' in '* _t', which is of non-class type 'int' 72 | case 0: _t->toggle((*reinterpret_cast< bool(*)>(_a[1]))); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:83:5: error: 'nullptr' was not declared in this scope 83 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp: In member function 'virtual void* Rosegarden::CheckButton::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CheckButton.cpp:95:26: error: 'nullptr' was not declared in this scope 95 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CollapsingFrame.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CollapsingFrame.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/CollapsingFrame.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:203: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp: In static member function 'static void Rosegarden::CollapsingFrame::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:68:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 68 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:68:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 68 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:68:20: error: cannot convert 'Rosegarden::CollapsingFrame*' to 'int*' in initialization 68 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::CollapsingFrame* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:71:21: error: request for member 'toggle' in '* _t', which is of non-class type 'int' 71 | case 0: _t->toggle(); break; | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:83:5: error: 'nullptr' was not declared in this scope 83 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp: In member function 'virtual void* Rosegarden::CollapsingFrame::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_CollapsingFrame.cpp:95:26: error: 'nullptr' was not declared in this scope 95 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:204: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp: In static member function 'static void Rosegarden::ColourTable::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:79:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 79 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:79:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 79 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:79:20: error: cannot convert 'Rosegarden::ColourTable*' to 'int*' in initialization 79 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::ColourTable* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:82:21: error: request for member 'entryTextChanged' in '* _t', which is of non-class type 'int' 82 | case 0: _t->entryTextChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:83:21: error: request for member 'entryColourChanged' in '* _t', which is of non-class type 'int' 83 | case 1: _t->entryColourChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< QColor(*)>(_a[2]))); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:84:21: error: request for member 'slotEditEntry' in '* _t', which is of non-class type 'int' 84 | case 2: _t->slotEditEntry((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:90:19: error: expected nested-name-specifier before '_t' 90 | using _t = void (ColourTable::*)(unsigned int , QString ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:35: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:38: error: expected '>' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:38: error: expected '(' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:39: error: expected primary-expression before '>' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:63: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:91:99: error: expected ')' before '{' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryTextChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:95:9: error: expected primary-expression before '}' token 95 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:97:19: error: expected nested-name-specifier before '_t' 97 | using _t = void (ColourTable::*)(unsigned int , QColor ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:35: error: '_t' does not name a type; did you mean 'Qt'? 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:38: error: expected '>' before '*' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:38: error: expected '(' before '*' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:39: error: expected primary-expression before '>' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:63: error: '_t' does not name a type; did you mean 'Qt'? 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:98:101: error: expected ')' before '{' token 98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColourTable::entryColourChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:102:9: error: expected primary-expression before '}' token 102 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:88:14: warning: unused variable 'result' [-Wunused-variable] 88 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:111:5: error: 'nullptr' was not declared in this scope 111 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:112:5: error: 'nullptr' was not declared in this scope 112 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp: In member function 'virtual void* Rosegarden::ColourTable::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:123:26: error: 'nullptr' was not declared in this scope 123 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp: In member function 'void Rosegarden::ColourTable::entryTextChanged(unsigned int, QString)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:149:20: error: 'nullptr' was not declared in this scope 149 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:204: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp: In member function 'void Rosegarden::ColourTable::entryColourChanged(unsigned int, QColor)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_ColourTable.cpp:156:20: error: 'nullptr' was not declared in this scope 156 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:205: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp: In static member function 'static void Rosegarden::DeferScrollArea::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:70:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 70 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:70:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 70 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:70:20: error: cannot convert 'Rosegarden::DeferScrollArea*' to 'int*' in initialization 70 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::DeferScrollArea* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:73:21: error: request for member 'gotWheelEvent' in '* _t', which is of non-class type 'int' 73 | case 0: _t->gotWheelEvent((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:79:19: error: expected nested-name-specifier before '_t' 79 | using _t = void (DeferScrollArea::*)(QWheelEvent * ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:35: error: '_t' does not name a type; did you mean 'Qt'? 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:38: error: expected '>' before '*' token 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:38: error: expected '(' before '*' token 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:39: error: expected primary-expression before '>' token 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:63: error: '_t' does not name a type; did you mean 'Qt'? 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:80:100: error: expected ')' before '{' token 80 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DeferScrollArea::gotWheelEvent)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:84:9: error: expected primary-expression before '}' token 84 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:77:14: warning: unused variable 'result' [-Wunused-variable] 77 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:93:5: error: 'nullptr' was not declared in this scope 93 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:94:5: error: 'nullptr' was not declared in this scope 94 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp: In member function 'virtual void* Rosegarden::DeferScrollArea::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:105:26: error: 'nullptr' was not declared in this scope 105 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp: In member function 'void Rosegarden::DeferScrollArea::gotWheelEvent(QWheelEvent*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DeferScrollArea.cpp:131:20: error: 'nullptr' was not declared in this scope 131 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:206: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: In static member function 'static void Rosegarden::DiatonicPitchChooser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:100:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 100 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:100:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 100 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:100:20: error: cannot convert 'Rosegarden::DiatonicPitchChooser*' to 'int*' in initialization 100 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::DiatonicPitchChooser* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:103:21: error: request for member 'pitchChanged' in '* _t', which is of non-class type 'int' 103 | case 0: _t->pitchChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:104:21: error: request for member 'noteChanged' in '* _t', which is of non-class type 'int' 104 | case 1: _t->noteChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:206: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:105:21: error: request for member 'preview' in '* _t', which is of non-class type 'int' 105 | case 2: _t->preview((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:106:21: error: request for member 'slotSetPitch' in '* _t', which is of non-class type 'int' 106 | case 3: _t->slotSetPitch((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:107:21: error: request for member 'slotSetNote' in '* _t', which is of non-class type 'int' 107 | case 4: _t->slotSetNote((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:108:21: error: request for member 'slotSetStep' in '* _t', which is of non-class type 'int' 108 | case 5: _t->slotSetStep((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:109:21: error: request for member 'slotSetOctave' in '* _t', which is of non-class type 'int' 109 | case 6: _t->slotSetOctave((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:110:21: error: request for member 'slotSetAccidental' in '* _t', which is of non-class type 'int' 110 | case 7: _t->slotSetAccidental((*reinterpret_cast< int(*)>(_a[1]))); break; | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:111:21: error: request for member 'slotResetToDefault' in '* _t', which is of non-class type 'int' 111 | case 8: _t->slotResetToDefault(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:117:19: error: expected nested-name-specifier before '_t' 117 | using _t = void (DiatonicPitchChooser::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:35: error: '_t' does not name a type; did you mean 'Qt'? 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:38: error: expected '>' before '*' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:38: error: expected '(' before '*' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:39: error: expected primary-expression before '>' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:63: error: '_t' does not name a type; did you mean 'Qt'? 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:118:104: error: expected ')' before '{' token 118 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::pitchChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:122:9: error: expected primary-expression before '}' token 122 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:124:19: error: expected nested-name-specifier before '_t' 124 | using _t = void (DiatonicPitchChooser::*)(int , int , int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:35: error: '_t' does not name a type; did you mean 'Qt'? 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:38: error: expected '>' before '*' token 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:38: error: expected '(' before '*' token 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:39: error: expected primary-expression before '>' token 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:63: error: '_t' does not name a type; did you mean 'Qt'? 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:125:103: error: expected ')' before '{' token 125 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::noteChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:129:9: error: expected primary-expression before '}' token 129 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:131:19: error: expected nested-name-specifier before '_t' 131 | using _t = void (DiatonicPitchChooser::*)(int ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:35: error: '_t' does not name a type; did you mean 'Qt'? 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:38: error: expected '>' before '*' token 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:38: error: expected '(' before '*' token 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:39: error: expected primary-expression before '>' token 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:63: error: '_t' does not name a type; did you mean 'Qt'? 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:132:99: error: expected ')' before '{' token 132 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DiatonicPitchChooser::preview)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:136:9: error: expected primary-expression before '}' token 136 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:115:14: warning: unused variable 'result' [-Wunused-variable] 115 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:145:5: error: 'nullptr' was not declared in this scope 145 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:146:5: error: 'nullptr' was not declared in this scope 146 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: In member function 'virtual void* Rosegarden::DiatonicPitchChooser::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:157:26: error: 'nullptr' was not declared in this scope 157 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: In member function 'void Rosegarden::DiatonicPitchChooser::pitchChanged(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:183:20: error: 'nullptr' was not declared in this scope 183 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: In member function 'void Rosegarden::DiatonicPitchChooser::noteChanged(int, int, int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:190:20: error: 'nullptr' was not declared in this scope 190 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)), const_cast(reinterpret_cast(&_t3)) }; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp: In member function 'void Rosegarden::DiatonicPitchChooser::preview(int)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_DiatonicPitchChooser.cpp:197:20: error: 'nullptr' was not declared in this scope 197 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Fader.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Fader.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/Fader.h:40:5: error: 'nullptr' was not declared in this scope 40 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:207: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp: In static member function 'static void Rosegarden::Fader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:77:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 77 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:77:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 77 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:77:20: error: cannot convert 'Rosegarden::Fader*' to 'int*' in initialization 77 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::Fader* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:80:21: error: request for member 'faderChanged' in '* _t', which is of non-class type 'int' 80 | case 0: _t->faderChanged((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:81:21: error: request for member 'setFader' in '* _t', which is of non-class type 'int' 81 | case 1: _t->setFader((*reinterpret_cast< float(*)>(_a[1]))); break; | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:87:19: error: expected nested-name-specifier before '_t' 87 | using _t = void (Fader::*)(float ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:35: error: '_t' does not name a type; did you mean 'Qt'? 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:38: error: expected '>' before '*' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:38: error: expected '(' before '*' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:39: error: expected primary-expression before '>' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:63: error: '_t' does not name a type; did you mean 'Qt'? 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:88:89: error: expected ')' before '{' token 88 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Fader::faderChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:92:9: error: expected primary-expression before '}' token 92 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:85:14: warning: unused variable 'result' [-Wunused-variable] 85 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:102:5: error: 'nullptr' was not declared in this scope 102 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp: In member function 'virtual void* Rosegarden::Fader::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:113:26: error: 'nullptr' was not declared in this scope 113 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp: In member function 'void Rosegarden::Fader::faderChanged(float)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Fader.cpp:139:20: error: 'nullptr' was not declared in this scope 139 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qfiledialog.h: At global scope: /usr/include/qt5/QtWidgets/qfiledialog.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:63:5: error: 'nullptr' was not declared in this scope 63 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QFileDialog:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FileDialog.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FileDialog.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:208: /usr/include/qt5/QtWidgets/qfiledialog.h:101:44: error: 'nullptr' was not declared in this scope 101 | explicit QFileDialog(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:210:54: error: 'nullptr' was not declared in this scope 210 | static QString getOpenFileName(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:214:62: error: 'nullptr' was not declared in this scope 214 | QString *selectedFilter = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:217:50: error: 'nullptr' was not declared in this scope 217 | static QUrl getOpenFileUrl(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:221:58: error: 'nullptr' was not declared in this scope 221 | QString *selectedFilter = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:225:54: error: 'nullptr' was not declared in this scope 225 | static QString getSaveFileName(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:229:62: error: 'nullptr' was not declared in this scope 229 | QString *selectedFilter = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:232:50: error: 'nullptr' was not declared in this scope 232 | static QUrl getSaveFileUrl(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:236:58: error: 'nullptr' was not declared in this scope 236 | QString *selectedFilter = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:240:59: error: 'nullptr' was not declared in this scope 240 | static QString getExistingDirectory(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:245:59: error: 'nullptr' was not declared in this scope 245 | static QUrl getExistingDirectoryUrl(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:251:59: error: 'nullptr' was not declared in this scope 251 | static QStringList getOpenFileNames(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:255:67: error: 'nullptr' was not declared in this scope 255 | QString *selectedFilter = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:258:58: error: 'nullptr' was not declared in this scope 258 | static QList getOpenFileUrls(QWidget *parent = nullptr, | ^~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h:262:66: error: 'nullptr' was not declared in this scope 262 | QString *selectedFilter = nullptr, | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qfiledialog.h: In member function 'QFileDialogPrivate* QFileDialog::d_func()': /usr/include/qt5/QtWidgets/qfiledialog.h:274:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 274 | Q_DECLARE_PRIVATE(QFileDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qfiledialog.h:274:5: note: mismatched types 'T*' and 'QScopedPointer' 274 | Q_DECLARE_PRIVATE(QFileDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qfiledialog.h: In member function 'const QFileDialogPrivate* QFileDialog::d_func() const': /usr/include/qt5/QtWidgets/qfiledialog.h:274:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 274 | Q_DECLARE_PRIVATE(QFileDialog) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qfiledialog.h:274:5: note: mismatched types 'T*' and 'QScopedPointer' 274 | Q_DECLARE_PRIVATE(QFileDialog) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FileDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FileDialog.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FileDialog.h:51:5: error: 'nullptr' was not declared in this scope 51 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:208: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FileDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FileDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FileDialog.cpp: In member function 'virtual void* Rosegarden::FileDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FileDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FontRequester.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FontRequester.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/FontRequester.h:36:5: error: 'nullptr' was not declared in this scope 36 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:209: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp: In static member function 'static void Rosegarden::FontRequester::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:76:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 76 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:76:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 76 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:76:20: error: cannot convert 'Rosegarden::FontRequester*' to 'int*' in initialization 76 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::FontRequester* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:79:21: error: request for member 'fontChanged' in '* _t', which is of non-class type 'int' 79 | case 0: _t->fontChanged((*reinterpret_cast< QFont(*)>(_a[1]))); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:80:21: error: request for member 'slotChoose' in '* _t', which is of non-class type 'int' 80 | case 1: _t->slotChoose(); break; | ^~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:86:19: error: expected nested-name-specifier before '_t' 86 | using _t = void (FontRequester::*)(QFont ); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:35: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:38: error: expected '>' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:38: error: expected '(' before '*' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:39: error: expected primary-expression before '>' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:63: error: '_t' does not name a type; did you mean 'Qt'? 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:87:96: error: expected ')' before '{' token 87 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FontRequester::fontChanged)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:91:9: error: expected primary-expression before '}' token 91 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:84:14: warning: unused variable 'result' [-Wunused-variable] 84 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:100:5: error: 'nullptr' was not declared in this scope 100 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:101:5: error: 'nullptr' was not declared in this scope 101 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp: In member function 'virtual void* Rosegarden::FontRequester::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:112:26: error: 'nullptr' was not declared in this scope 112 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp: In member function 'void Rosegarden::FontRequester::fontChanged(QFont)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_FontRequester.cpp:138:20: error: 'nullptr' was not declared in this scope 138 | void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconButton.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconButton.h:27:5: error: 'nullptr' was not declared in this scope 27 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconButton.h:27:5: error: 'nullptr' was not declared in this scope 27 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:210: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconButton.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconButton.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconButton.cpp: In member function 'virtual void* IconButton::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconButton.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qstackedwidget.h: At global scope: /usr/include/qt5/QtWidgets/qstackedwidget.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ /usr/include/qt5/QtWidgets/qstackedwidget.h:54:5: error: 'nullptr' was not declared in this scope 54 | Q_OBJECT | ^~~~~~~~ In file included from /usr/include/qt5/QtWidgets/QStackedWidget:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconStackedWidget.h:26, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:211: /usr/include/qt5/QtWidgets/qstackedwidget.h:59:47: error: 'nullptr' was not declared in this scope 59 | explicit QStackedWidget(QWidget *parent = nullptr); | ^~~~~~~ In file included from /usr/include/qt5/QtCore/QtGlobal:1, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_export.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/RealTime.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/ChannelInterval.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:21, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtWidgets/qstackedwidget.h: In member function 'QStackedWidgetPrivate* QStackedWidget::d_func()': /usr/include/qt5/QtWidgets/qstackedwidget.h:86:5: error: no matching function for call to 'qGetPtrHelper(QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QStackedWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qstackedwidget.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QStackedWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtWidgets/qstackedwidget.h: In member function 'const QStackedWidgetPrivate* QStackedWidget::d_func() const': /usr/include/qt5/QtWidgets/qstackedwidget.h:86:5: error: no matching function for call to 'qGetPtrHelper(const QScopedPointer&)' 86 | Q_DECLARE_PRIVATE(QStackedWidget) | ^~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: candidate: 'template T* qGetPtrHelper(T*)' 1037 | template inline T *qGetPtrHelper(T *ptr) { return ptr; } | ^~~~~~~~~~~~~ /usr/include/qt5/QtCore/qglobal.h:1037:33: note: template argument deduction/substitution failed: /usr/include/qt5/QtWidgets/qstackedwidget.h:86:5: note: mismatched types 'T*' and 'QScopedPointer' 86 | Q_DECLARE_PRIVATE(QStackedWidget) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconStackedWidget.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconStackedWidget.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/IconStackedWidget.h:33:5: error: 'nullptr' was not declared in this scope 33 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:211: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp: In static member function 'static void IconStackedWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:68:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 68 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:68:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 68 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:68:20: error: cannot convert 'IconStackedWidget*' to 'int*' in initialization 68 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | IconStackedWidget* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:71:21: error: request for member 'slotPageSelect' in '* _t', which is of non-class type 'int' 71 | case 0: _t->slotPageSelect(); break; | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:83:5: error: 'nullptr' was not declared in this scope 83 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:84:5: error: 'nullptr' was not declared in this scope 84 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp: In member function 'virtual void* IconStackedWidget::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_IconStackedWidget.cpp:95:26: error: 'nullptr' was not declared in this scope 95 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InputDialog.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InputDialog.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InputDialog.h:61:5: error: 'nullptr' was not declared in this scope 61 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:212: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InputDialog.cpp:70:5: error: 'nullptr' was not declared in this scope 70 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InputDialog.cpp:71:5: error: 'nullptr' was not declared in this scope 71 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InputDialog.cpp: In member function 'virtual void* Rosegarden::InputDialog::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InputDialog.cpp:82:26: error: 'nullptr' was not declared in this scope 82 | if (!_clname) return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qobject.h:46, from /usr/include/qt5/QtCore/qsharedpointer_impl.h:64, from /usr/include/qt5/QtCore/qsharedpointer.h:48, from /usr/include/qt5/QtCore/QSharedPointer:1, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Instrument.h:27, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Track.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Segment.h:24, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/Composition.h:23, from /usr/src/RPM/BUILD/rosegarden-17.12/src/base/AllocateChannels.h:22, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/CZ4SVKUTXB/moc_AllocateChannels.cpp:9, from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InstrumentAliasButton.h: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InstrumentAliasButton.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/src/gui/widgets/InstrumentAliasButton.h:37:5: error: 'nullptr' was not declared in this scope 37 | Q_OBJECT | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:213: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp: In static member function 'static void Rosegarden::InstrumentAliasButton::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:79:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 79 | auto *_t = static_cast(_o); | ^~~~ | ---- /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:79:15: error: ISO C++ forbids declaration of '_t' with no type [-fpermissive] 79 | auto *_t = static_cast(_o); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:79:20: error: cannot convert 'Rosegarden::InstrumentAliasButton*' to 'int*' in initialization 79 | auto *_t = static_cast(_o); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Rosegarden::InstrumentAliasButton* /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:82:21: error: request for member 'changed' in '* _t', which is of non-class type 'int' 82 | case 0: _t->changed(); break; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:83:21: error: request for member 'slotPressed' in '* _t', which is of non-class type 'int' 83 | case 1: _t->slotPressed(); break; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:84:21: error: request for member 'slotInstrumentGone' in '* _t', which is of non-class type 'int' 84 | case 2: _t->slotInstrumentGone(); break; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:90:19: error: expected nested-name-specifier before '_t' 90 | using _t = void (InstrumentAliasButton::*)(); | ^~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:35: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:38: error: expected '>' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:38: error: expected '(' before '*' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ^ | ( /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:39: error: expected primary-expression before '>' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:63: error: '_t' does not name a type; did you mean 'Qt'? 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ^~ | Qt /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:91:100: error: expected ')' before '{' token 91 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&InstrumentAliasButton::changed)) { | ~ ^~ | ) /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:95:9: error: expected primary-expression before '}' token 95 | } | ^ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:88:14: warning: unused variable 'result' [-Wunused-variable] 88 | int *result = reinterpret_cast(_a[0]); | ^~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp: At global scope: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:105:5: error: 'nullptr' was not declared in this scope 105 | nullptr, | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:106:5: error: 'nullptr' was not declared in this scope 106 | nullptr | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp: In member function 'virtual void* Rosegarden::InstrumentAliasButton::qt_metacast(const char*)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:117:26: error: 'nullptr' was not declared in this scope 117 | if (!_clname) return nullptr; | ^~~~~~~ /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp: In member function 'void Rosegarden::InstrumentAliasButton::changed()': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_InstrumentAliasButton.cpp:143:55: error: 'nullptr' was not declared in this scope 143 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | ^~~~~~~ In file included from /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/mocs_compilation.cpp:214: /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Label.cpp: In static member function 'static void Rosegarden::Label::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)': /usr/src/RPM/BUILD/rosegarden-17.12/BUILD/src/rosegardenprivate_autogen/WJQGMJHSF5/moc_Label.cpp:75:9: warning: 'auto' changes meaning in C++11; please remove it [-Wc++11-compat] 75 | auto *_t = static_cast