FAILED: qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_category.cpp.o
clang++ -Iqt/AppStreamQt@sha -Iqt/ -I../../../devel/frameworks/appstream/qt -Isrc/ -I../../../devel/frameworks/appstream/src/ -I/home/apol/devel/kde5/include/QtCore -I/home/apol/devel/kde5/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -fPIC -pthread -MMD -MQ 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_category.cpp.o' -MF 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_category.cpp.o.d' -o 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_category.cpp.o' -c 'qt/AppStreamQt@sha/moc_category.cpp'
In file included from qt/AppStreamQt@sha/moc_category.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/category.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:45:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/type_traits:35:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/c++0x_warning.h:32:2: 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.
#error This file requires compiler and library support \
^
In file included from qt/AppStreamQt@sha/moc_category.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/category.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:98:
/home/apol/devel/kde5/include/QtCore/qcompilerdetection.h:567:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
# error Qt requires a C++11 compiler and yours does not seem to be that.
^
In file included from qt/AppStreamQt@sha/moc_category.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/category.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
/home/apol/devel/kde5/include/QtCore/qglobal.h:927:23: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
void qAsConst(const T &&) Q_DECL_EQ_DELETE;
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:938:25: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {}
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:940:41: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer(QForeachContainer &&other)
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:948:52: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer &operator=(QForeachContainer &&other)
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:959:17: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
int control = 1;
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:938:39: error: no member named 'move' in namespace 'std'
QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {}
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:941:18: error: no member named 'move' in namespace 'std'
: c(std::move(other.c)),
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:944:24: error: no member named 'move' in namespace 'std'
control(std::move(other.control))
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:950:18: error: no member named 'move' in namespace 'std'
c = std::move(other.c);
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:953:24: error: no member named 'move' in namespace 'std'
control = std::move(other.control);
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:33: error: no type named 'decay' in namespace 'std'
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~~~~~~~~~~~~~^~~~~
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: error: definition or redeclaration of 'type' cannot name the global scope
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: warning: variable templates are a C++14 extension [-Wc++14-extensions]
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: error: no member named 'type' in the global namespace
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:47: error: expected ';' at end of declaration
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
^
;
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:47: error: expected unqualified-id
In file included from qt/AppStreamQt@sha/moc_category.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/category.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:1152:
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:30: error: no member named 'is_enum' in namespace 'std'
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
~~~~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:38: error: 'T' does not refer to a value
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:56:20: note: declared here
template <typename T>
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:42: error: no member named 'value' in the global namespace
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:27: error: no member named 'is_integral' in namespace 'std'
isIntegral = std::is_integral<T>::value,
~~~~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:39: error: 'T' does not refer to a value
isIntegral = std::is_integral<T>::value,
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:56:20: note: declared here
template <typename T>
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:43: error: no member named 'value' in the global namespace
isIntegral = std::is_integral<T>::value,
~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:64:42: error: no member named 'is_enum' in namespace 'std'
isComplex = !isIntegral && !std::is_enum<T>::value,
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
[70/107] Compiling C++ object 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_component.cpp.o'.
FAILED: qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_component.cpp.o
clang++ -Iqt/AppStreamQt@sha -Iqt/ -I../../../devel/frameworks/appstream/qt -Isrc/ -I../../../devel/frameworks/appstream/src/ -I/home/apol/devel/kde5/include/QtCore -I/home/apol/devel/kde5/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -fPIC -pthread -MMD -MQ 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_component.cpp.o' -MF 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_component.cpp.o.d' -o 'qt/AppStreamQt@sha/qt_AppStreamQt@sha_moc_component.cpp.o' -c 'qt/AppStreamQt@sha/moc_component.cpp'
In file included from qt/AppStreamQt@sha/moc_component.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/component.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:45:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/type_traits:35:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../include/c++/7.1.1/bits/c++0x_warning.h:32:2: 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.
#error This file requires compiler and library support \
^
In file included from qt/AppStreamQt@sha/moc_component.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/component.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:98:
/home/apol/devel/kde5/include/QtCore/qcompilerdetection.h:567:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
# error Qt requires a C++11 compiler and yours does not seem to be that.
^
In file included from qt/AppStreamQt@sha/moc_component.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/component.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
/home/apol/devel/kde5/include/QtCore/qglobal.h:927:23: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
void qAsConst(const T &&) Q_DECL_EQ_DELETE;
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:938:25: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {}
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:940:41: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer(QForeachContainer &&other)
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:948:52: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
QForeachContainer &operator=(QForeachContainer &&other)
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:959:17: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
int control = 1;
^
/home/apol/devel/kde5/include/QtCore/qglobal.h:938:39: error: no member named 'move' in namespace 'std'
QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {}
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:941:18: error: no member named 'move' in namespace 'std'
: c(std::move(other.c)),
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:944:24: error: no member named 'move' in namespace 'std'
control(std::move(other.control))
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:950:18: error: no member named 'move' in namespace 'std'
c = std::move(other.c);
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:953:24: error: no member named 'move' in namespace 'std'
control = std::move(other.control);
~~~~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:33: error: no type named 'decay' in namespace 'std'
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~~~~~~~~~~~~~^~~~~
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: error: definition or redeclaration of 'type' cannot name the global scope
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: warning: variable templates are a C++14 extension [-Wc++14-extensions]
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:43: error: no member named 'type' in the global namespace
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
~~^
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:47: error: expected ';' at end of declaration
QForeachContainer<typename std::decay<T>::type> qMakeForeachContainer(T &&t)
^
;
/home/apol/devel/kde5/include/QtCore/qglobal.h:963:47: error: expected unqualified-id
In file included from qt/AppStreamQt@sha/moc_component.cpp:9:
In file included from qt/AppStreamQt@sha/../../../../../devel/frameworks/appstream/qt/component.h:23:
In file included from /home/apol/devel/kde5/include/QtCore/QSharedDataPointer:1:
In file included from /home/apol/devel/kde5/include/QtCore/qshareddata.h:43:
In file included from /home/apol/devel/kde5/include/QtCore/qglobal.h:1152:
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:30: error: no member named 'is_enum' in namespace 'std'
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
~~~~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:38: error: 'T' does not refer to a value
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:56:20: note: declared here
template <typename T>
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:61:42: error: no member named 'value' in the global namespace
isSpecialized = std::is_enum<T>::value, // don't require every enum to be marked manually
~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:27: error: no member named 'is_integral' in namespace 'std'
isIntegral = std::is_integral<T>::value,
~~~~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:39: error: 'T' does not refer to a value
isIntegral = std::is_integral<T>::value,
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:56:20: note: declared here
template <typename T>
^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:63:43: error: no member named 'value' in the global namespace
isIntegral = std::is_integral<T>::value,
~~^
/home/apol/devel/kde5/include/QtCore/qtypeinfo.h:64:42: error: no member named 'is_enum' in namespace 'std'
isComplex = !isIntegral && !std::is_enum<T>::value,
~~~~~^
The text was updated successfully, but these errors were encountered:
Needs -std=c++11 or -std=gnu++11.
The text was updated successfully, but these errors were encountered: