[Slackbuilds-users] BUG: gst-plugins-bad building fails with Qt 5.7; workaround
Eduardo Sanchez
sombragris at sombragris.org
Sun Sep 25 18:28:13 UTC 2016
Building gst-plugins-bad fails on libqtsink_la-gstqsgtexture.lo in my
system (-current).
The compiler output is actually quite large at the point, but the crux
of the matter seems to be this message:
# error "Qt requires C++11 support"
Upon some investigation, it looks like the culprit is Qt 5.7, which
requires C+11.
The workaround would be to explictly enable the compiler to use C++11
during compilation. That is achieved by adding "-std=c++11" to
SLKCFLAGS. After that step, gst-plugins-bad builds correctly.
Below is the output of the failed build with the stock SlackBuild.
Thanks
Eduardo
CXX libqtsink_la-gstqsgtexture.lo
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1,
from gstqsgtexture.h:25,
from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires
C++11 support" # error "Qt requires C++11 support"
^
In file included from /usr/include/qt5/QtCore/QObject:1:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:44,
from /usr/include/qt5/QtQuick/QSGTexture:1,
from gstqsgtexture.h:25,
from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qobject.h:322:9: warning: identifier 'decltype'
is a keyword in C++11 [-Wc++0x-compat] typedef
QtPrivate::FunctionPointer<decltype(&Func2::operator())> SlotType ; ^
In file included from /usr/include/qt5/QtQuick/qtquickglobal.h:43:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1,
from gstqsgtexture.h:25,
from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qglobal.h:1133:23: error: expected ',' or '...'
before '&&' token void qAsConst(const T &&) Q_DECL_EQ_DELETE;
^
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1,
from gstqsgtexture.h:25,
from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:90:13: error: 'QAtomicOps' does
not name a type typedef QAtomicOps<T> Ops;
^
In file included from /usr/include/qt5/QtQuick/qtquickglobal.h:43:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1,
from gstqsgtexture.h:25,
from gstqsgtexture.cc:29:
/usr/include/qt5/QtCore/qbasicatomic.h:93:23: error:
'QAtomicOpsSupport' was not declared in this scope
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported,
"template parameter is an integral of a size not supported on this
platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:110: note: in
definition of macro 'Q_STATIC_ASSERT' enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported,
"template parameter is an integral of a size not supported on this
platform"); ^ /usr/include/qt5/QtCore/qbasicatomic.h:93:51: error:
'::IsSupported' has not been declared
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported,
"template parameter is an integral of a size not supported on this
platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:110: note: in
definition of macro 'Q_STATIC_ASSERT' enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported,
"template parameter is an integral of a size not supported on this
platform"); ^ /usr/include/qt5/QtCore/qglobal.h:756:120: error:
template argument 1 is invalid enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qglobal.h:761:47: note: in expansion of
macro 'Q_STATIC_ASSERT' #define Q_STATIC_ASSERT_X(Condition, Message)
Q_STATIC_ASSERT(Condition)
^ /usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of
macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::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:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from
gstqsgtexture.cc:29: /usr/include/qt5/QtCore/qbasicatomic.h:95:14:
error: 'Ops' has not been declared typename Ops::Type _q_value;
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::load()
const': /usr/include/qt5/QtCore/qbasicatomic.h:99:44: error: 'Ops'
has not been declared T load() const Q_DECL_NOTHROW { return
Ops::load(_q_value); } ^ /usr/include/qt5/QtCore/qbasicatomic.h: In
member function 'void
QBasicAtomicInteger<T>::store(T)': /usr/include/qt5/QtCore/qbasicatomic.h:100:45:
error: 'Ops' has not been declared void store(T newValue)
Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::loadAcquire()
const': /usr/include/qt5/QtCore/qbasicatomic.h:102:51: error: 'Ops'
has not been declared T loadAcquire() const Q_DECL_NOTHROW { return
Ops::loadAcquire(_q_value); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void
QBasicAtomicInteger<T>::storeRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:103:52:
error: 'Ops' has not been declared 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<T>::isReferenceCountingNative()': /usr/include/qt5/QtCore/qbasicatomic.h:107:86:
error: 'Ops' has not been declared 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<T>::isReferenceCountingWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:108:88:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isReferenceCountingWaitFree() Q_DECL_NOTHROW { return
Ops::isReferenceCountingWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicInteger<T>::ref()': /usr/include/qt5/QtCore/qbasicatomic.h:110:40:
error: 'Ops' has not been declared bool ref() Q_DECL_NOTHROW { return
Ops::ref(_q_value); } ^ /usr/include/qt5/QtCore/qbasicatomic.h: In
member function 'bool
QBasicAtomicInteger<T>::deref()': /usr/include/qt5/QtCore/qbasicatomic.h:111:42:
error: 'Ops' has not been declared bool deref() Q_DECL_NOTHROW
{ return Ops::deref(_q_value); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function
'static bool
QBasicAtomicInteger<T>::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:113:79:
error: 'Ops' has not been declared 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<T>::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:114:81:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isTestAndSetWaitFree() Q_DECL_NOTHROW { return
Ops::isTestAndSetWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicInteger<T>::testAndSetRelaxed(T,
T)': /usr/include/qt5/QtCore/qbasicatomic.h:117:14: error: 'Ops' has
not been declared { return Ops::testAndSetRelaxed(_q_value,
expectedValue, newValue); } ^ /usr/include/qt5/QtCore/qbasicatomic.h:
In member function 'bool QBasicAtomicInteger<T>::testAndSetAcquire(T,
T)': /usr/include/qt5/QtCore/qbasicatomic.h:119:14: error: 'Ops' has
not been declared { return Ops::testAndSetAcquire(_q_value,
expectedValue, newValue); } ^ /usr/include/qt5/QtCore/qbasicatomic.h:
In member function 'bool QBasicAtomicInteger<T>::testAndSetRelease(T,
T)': /usr/include/qt5/QtCore/qbasicatomic.h:121:14: error: 'Ops' has
not been declared { return Ops::testAndSetRelease(_q_value,
expectedValue, newValue); } ^ /usr/include/qt5/QtCore/qbasicatomic.h:
In member function 'bool QBasicAtomicInteger<T>::testAndSetOrdered(T,
T)': /usr/include/qt5/QtCore/qbasicatomic.h:123:14: error: 'Ops' has
not been declared { return Ops::testAndSetOrdered(_q_value,
expectedValue, newValue); } ^ /usr/include/qt5/QtCore/qbasicatomic.h:
In member function 'bool QBasicAtomicInteger<T>::testAndSetRelaxed(T,
T, T&)': /usr/include/qt5/QtCore/qbasicatomic.h:126:14: error: 'Ops'
has not been declared { return Ops::testAndSetRelaxed(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicInteger<T>::testAndSetAcquire(T, T,
T&)': /usr/include/qt5/QtCore/qbasicatomic.h:128:14: error: 'Ops' has
not been declared { return Ops::testAndSetAcquire(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicInteger<T>::testAndSetRelease(T, T,
T&)': /usr/include/qt5/QtCore/qbasicatomic.h:130:14: error: 'Ops' has
not been declared { return Ops::testAndSetRelease(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicInteger<T>::testAndSetOrdered(T, T,
T&)': /usr/include/qt5/QtCore/qbasicatomic.h:132:14: error: 'Ops' has
not been declared { return Ops::testAndSetOrdered(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function
'static bool
QBasicAtomicInteger<T>::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:134:82:
error: 'Ops' has not been declared 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<T>::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:135:84:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return
Ops::isFetchAndStoreWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndStoreRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:138:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreRelaxed(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndStoreAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:140:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreAcquire(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndStoreRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:142:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreRelease(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndStoreOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:144:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreOrdered(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function
'static bool
QBasicAtomicInteger<T>::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:146:80:
error: 'Ops' has not been declared 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<T>::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:147:82:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isFetchAndAddWaitFree() Q_DECL_NOTHROW { return
Ops::isFetchAndAddWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAddRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:150:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAddAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:152:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAddRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:154:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAddOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:156:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndSubRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:159:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndSubAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:161:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndSubRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:163:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndSubOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:165:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAndRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:168:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAndRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAndAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:170:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAndAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAndRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:172:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAndRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndAndOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:174:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAndOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndOrRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:177:14:
error: 'Ops' has not been declared { return
Ops::fetchAndOrRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndOrAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:179:14:
error: 'Ops' has not been declared { return
Ops::fetchAndOrAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndOrRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:181:14:
error: 'Ops' has not been declared { return
Ops::fetchAndOrRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndOrOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:183:14:
error: 'Ops' has not been declared { return
Ops::fetchAndOrOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndXorRelaxed(T)': /usr/include/qt5/QtCore/qbasicatomic.h:186:14:
error: 'Ops' has not been declared { return
Ops::fetchAndXorRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndXorAcquire(T)': /usr/include/qt5/QtCore/qbasicatomic.h:188:14:
error: 'Ops' has not been declared { return
Ops::fetchAndXorAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndXorRelease(T)': /usr/include/qt5/QtCore/qbasicatomic.h:190:14:
error: 'Ops' has not been declared { return
Ops::fetchAndXorRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T
QBasicAtomicInteger<T>::fetchAndXorOrdered(T)': /usr/include/qt5/QtCore/qbasicatomic.h:192:14:
error: 'Ops' has not been declared { return
Ops::fetchAndXorOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: At global
scope: /usr/include/qt5/QtCore/qbasicatomic.h:230:13: error:
'QAtomicOps' does not name a type typedef QAtomicOps<Type> Ops;
^ /usr/include/qt5/QtCore/qbasicatomic.h:231:22: error: 'Ops' has not
been declared typedef typename Ops::Type AtomicType;
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::load()
const': /usr/include/qt5/QtCore/qbasicatomic.h:235:47: error: 'Ops'
has not been declared Type load() const Q_DECL_NOTHROW { return
Ops::load(_q_value); } ^ /usr/include/qt5/QtCore/qbasicatomic.h: In
member function 'void
QBasicAtomicPointer<X>::store(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:236:48:
error: 'Ops' has not been declared void store(Type newValue)
Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::loadAcquire()
const': /usr/include/qt5/QtCore/qbasicatomic.h:241:54: error: 'Ops'
has not been declared Type loadAcquire() const Q_DECL_NOTHROW
{ return Ops::loadAcquire(_q_value); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void
QBasicAtomicPointer<X>::storeRelease(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:242:55:
error: 'Ops' has not been declared 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<X>::isTestAndSetNative()': /usr/include/qt5/QtCore/qbasicatomic.h:244:79:
error: 'Ops' has not been declared 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<X>::isTestAndSetWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:245:81:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isTestAndSetWaitFree() Q_DECL_NOTHROW { return
Ops::isTestAndSetWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetRelaxed(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:248:14:
error: 'Ops' has not been declared { return
Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetAcquire(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:250:14:
error: 'Ops' has not been declared { return
Ops::testAndSetAcquire(_q_value, expectedValue, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetRelease(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:252:14:
error: 'Ops' has not been declared { return
Ops::testAndSetRelease(_q_value, expectedValue, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetOrdered(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:254:14:
error: 'Ops' has not been declared { return
Ops::testAndSetOrdered(_q_value, expectedValue, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetRelaxed(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type,
X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:257:14: error: 'Ops'
has not been declared { return Ops::testAndSetRelaxed(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetAcquire(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type,
X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:259:14: error: 'Ops'
has not been declared { return Ops::testAndSetAcquire(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetRelease(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type,
X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops'
has not been declared { return Ops::testAndSetRelease(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool
QBasicAtomicPointer<X>::testAndSetOrdered(QBasicAtomicPointer<X>::Type,
QBasicAtomicPointer<X>::Type,
X*&)': /usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops'
has not been declared { return Ops::testAndSetOrdered(_q_value,
expectedValue, newValue, ¤tValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function
'static bool
QBasicAtomicPointer<X>::isFetchAndStoreNative()': /usr/include/qt5/QtCore/qbasicatomic.h:265:82:
error: 'Ops' has not been declared 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<X>::isFetchAndStoreWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:266:84:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return
Ops::isFetchAndStoreWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndStoreRelaxed(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:269:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreRelaxed(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndStoreAcquire(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:271:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreAcquire(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndStoreRelease(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:273:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreRelease(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndStoreOrdered(QBasicAtomicPointer<X>::Type)': /usr/include/qt5/QtCore/qbasicatomic.h:275:14:
error: 'Ops' has not been declared { return
Ops::fetchAndStoreOrdered(_q_value, newValue); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In static member function
'static bool
QBasicAtomicPointer<X>::isFetchAndAddNative()': /usr/include/qt5/QtCore/qbasicatomic.h:277:80:
error: 'Ops' has not been declared 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<X>::isFetchAndAddWaitFree()': /usr/include/qt5/QtCore/qbasicatomic.h:278:82:
error: 'Ops' has not been declared static Q_DECL_CONSTEXPR bool
isFetchAndAddWaitFree() Q_DECL_NOTHROW { return
Ops::isFetchAndAddWaitFree(); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndAddRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:281:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndAddAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:283:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndAddRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:285:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndAddOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:287:14:
error: 'Ops' has not been declared { return
Ops::fetchAndAddOrdered(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndSubRelaxed(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:290:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubRelaxed(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndSubAcquire(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:292:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubAcquire(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndSubRelease(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:294:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubRelease(_q_value, valueToAdd); }
^ /usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X*
QBasicAtomicPointer<X>::fetchAndSubOrdered(qptrdiff)': /usr/include/qt5/QtCore/qbasicatomic.h:296:14:
error: 'Ops' has not been declared { return
Ops::fetchAndSubOrdered(_q_value, valueToAdd); } ^ In file included
from /usr/include/qt5/QtCore/QObject:1:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:44,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtCore/qobject.h: In
static member function 'static typename
QtPrivate::QEnableIf<(QtPrivate::FunctionPointer<Func2>::ArgumentCount
== (-1)), QMetaObject::Connection>::Type QObject::connect(const
typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const
QObject*, Func2,
Qt::ConnectionType)': /usr/include/qt5/QtCore/qobject.h:322:70:
error: '&' cannot appear in a constant-expression typedef
QtPrivate::FunctionPointer<decltype(&Func2::operator())> SlotType ;
^ /usr/include/qt5/QtCore/qobject.h:322:71: error: a function call
cannot appear in a constant-expression typedef
QtPrivate::FunctionPointer<decltype(&Func2::operator())> SlotType ;
^ /usr/include/qt5/QtCore/qobject.h:322:72: error: template argument
1 is invalid typedef
QtPrivate::FunctionPointer<decltype(&Func2::operator())> SlotType ;
^ /usr/include/qt5/QtCore/qobject.h:324:26: error: 'SlotType' is not
a class or namespace typedef typename SlotType::ReturnType
SlotReturnType; ^ /usr/include/qt5/QtCore/qobject.h:325:39: error:
'SlotType' is not a class or namespace const int SlotArgumentCount =
SlotType::ArgumentCount; ^ In file included
from /usr/include/qt5/QtQuick/qtquickglobal.h:43:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtCore/qglobal.h:756:120:
error: template argument 1 is invalid enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qglobal.h:761:47: note: in expansion of
macro 'Q_STATIC_ASSERT' #define Q_STATIC_ASSERT_X(Condition, Message)
Q_STATIC_ASSERT(Condition) ^ /usr/include/qt5/QtCore/qobject.h:327:9:
note: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(int(SignalType::ArgumentCount) >=
SlotArgumentCount, ^ /usr/include/qt5/QtCore/qobject.h:329:124:
error: template argument 2 is invalid
Q_STATIC_ASSERT_X((QtPrivate::CheckCompatibleArguments<typename
SignalType::Arguments, typename SlotType::Arguments>::value),
^ /usr/include/qt5/QtCore/qglobal.h:756:110: note: in definition of
macro 'Q_STATIC_ASSERT' enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qobject.h:329:9: note: in expansion of
macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X((QtPrivate::CheckCompatibleArguments<typename
SignalType::Arguments, typename SlotType::Arguments>::value),
^ /usr/include/qt5/QtCore/qglobal.h:756:120: error: template argument
1 is invalid enum
{Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) =
sizeof(QStaticAssertFailure<!!(Condition)>)}
^ /usr/include/qt5/QtCore/qglobal.h:761:47: note: in expansion of
macro 'Q_STATIC_ASSERT' #define Q_STATIC_ASSERT_X(Condition, Message)
Q_STATIC_ASSERT(Condition) ^ /usr/include/qt5/QtCore/qobject.h:329:9:
note: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X((QtPrivate::CheckCompatibleArguments<typename
SignalType::Arguments, typename SlotType::Arguments>::value), ^ In
file included from /usr/include/qt5/QtCore/QObject:1:0,
from /usr/include/qt5/QtQuick/qsgtexture.h:44,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtCore/qobject.h:346:64:
error: template argument 3 is invalid typename
SignalType::ReturnType>(slot),
^ /usr/include/qt5/QtCore/qobject.h:346:65: error: expected '::'
before '(' token typename SignalType::ReturnType>(slot),
^ /usr/include/qt5/QtCore/qobject.h:346:65: error: expected
identifier before '(' token In file included
from /usr/include/qt5/QtGui/qmatrix.h:44:0,
from /usr/include/qt5/QtGui/qtransform.h:42,
from /usr/include/qt5/QtGui/qimage.h:47,
from /usr/include/qt5/QtGui/QImage:1,
from /usr/include/qt5/QtQuick/qsgtexture.h:45,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtGui/qregion.h: At global
scope: /usr/include/qt5/QtGui/qregion.h:71:21: error: expected ',' or
'...' before '&&' token QRegion(QRegion &&other) Q_DECL_NOTHROW
^ /usr/include/qt5/QtGui/qregion.h:71:28: error: invalid constructor;
you probably meant 'QRegion (const QRegion&)' QRegion(QRegion
&&other) Q_DECL_NOTHROW ^ In file included
from /usr/include/qt5/QtGui/qtransform.h:42:0,
from /usr/include/qt5/QtGui/qimage.h:47,
from /usr/include/qt5/QtGui/QImage:1,
from /usr/include/qt5/QtQuick/qsgtexture.h:45,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtGui/qmatrix.h:66:32:
error: expected ',' or '...' before '&&' token QMatrix
&operator=(QMatrix &&other) Q_DECL_NOTHROW // = default
^ /usr/include/qt5/QtGui/qmatrix.h:69:21: error: expected ',' or
'...' before '&&' token QMatrix(QMatrix &&other) Q_DECL_NOTHROW // =
default ^ /usr/include/qt5/QtGui/qmatrix.h:69:28: error: invalid
constructor; you probably meant 'QMatrix (const QMatrix&)'
QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default
^ /usr/include/qt5/QtGui/qmatrix.h: In member function 'QMatrix&
QMatrix::operator=(QMatrix)': /usr/include/qt5/QtGui/qmatrix.h:67:21:
error: 'other' was not declared in this scope { memcpy(this, &other,
sizeof(QMatrix)); return *this; } ^ In file included
from /usr/include/qt5/QtGui/qimage.h:47:0,
from /usr/include/qt5/QtGui/QImage:1,
from /usr/include/qt5/QtQuick/qsgtexture.h:45,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from gstqsgtexture.cc:29: /usr/include/qt5/QtGui/qtransform.h: At
global scope: /usr/include/qt5/QtGui/qtransform.h:79:38: error:
expected ',' or '...' before '&&' token QTransform
&operator=(QTransform &&other) Q_DECL_NOTHROW // = default
^ /usr/include/qt5/QtGui/qtransform.h:82:27: error: expected ',' or
'...' before '&&' token QTransform(QTransform &&other)
Q_DECL_NOTHROW // = default
^ /usr/include/qt5/QtGui/qtransform.h:82:34: error: invalid
constructor; you probably meant 'QTransform (const QTransform&)'
QTransform(QTransform &&other) Q_DECL_NOTHROW // = default
^ /usr/include/qt5/QtGui/qtransform.h: In member function
'QTransform&
QTransform::operator=(QTransform)': /usr/include/qt5/QtGui/qtransform.h:80:21:
error: 'other' was not declared in this scope { memcpy(this, &other,
sizeof(QTransform)); return *this; } ^ In file included
from /usr/include/qt5/QtGui/qopenglversionfunctions.h:58:0,
from /usr/include/qt5/QtGui/qopenglcontext.h:61,
from /usr/include/qt5/QtGui/qopenglfunctions.h:55,
from /usr/include/qt5/QtGui/QOpenGLFunctions:1, from
gstqsgtexture.h:26, from
gstqsgtexture.cc:29: /usr/include/qt5/QtCore/qhash.h: In member
function 'QPair<QHash<K, V>::iterator, QHash<K, V>::iterator>
QHash<K, V>::equal_range(const
Key&)': /usr/include/qt5/QtCore/qhash.h:957:5: warning: 'auto'
changes meaning in C++11; please remove it [-Wc++0x-compat] auto pair
= qAsConst(*this).equal_range(akey);
^ /usr/include/qt5/QtCore/qhash.h:957:10: error: 'pair' does not name
a type auto pair = qAsConst(*this).equal_range(akey);
^ /usr/include/qt5/QtCore/qhash.h:958:31: error: 'pair' was not
declared in this scope return qMakePair(iterator(pair.first.i),
iterator(pair.second.i)); ^ /usr/include/qt5/QtCore/qhash.h:958:31:
note: suggested alternative: In file included
from /usr/include/c++/5.4.0/utility:70:0,
from /usr/include/qt5/QtCore/qcompilerdetection.h:991,
from /usr/include/qt5/QtCore/qglobal.h:83,
from /usr/include/qt5/QtQuick/qtquickglobal.h:43,
from /usr/include/qt5/QtQuick/qsgtexture.h:43,
from /usr/include/qt5/QtQuick/QSGTexture:1, from gstqsgtexture.h:25,
from
gstqsgtexture.cc:29: /usr/include/c++/5.4.0/bits/stl_pair.h:96:12:
note: 'std::pair' struct pair ^ Makefile:940: recipe for target
'libqtsink_la-gstqsgtexture.lo' failed make[4]: ***
[libqtsink_la-gstqsgtexture.lo] Error 1 make[4]: Leaving directory
'/tmp/SBo/gst-plugins-bad-1.6.2/ext/qt' Makefile:830: recipe for
target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving
directory '/tmp/SBo/gst-plugins-bad-1.6.2/ext/qt' Makefile:1361:
recipe for target 'qt' failed make[2]: *** [qt] Error 2 make[2]:
Leaving directory '/tmp/SBo/gst-plugins-bad-1.6.2/ext' Makefile:954:
recipe for target 'all-recursive' failed make[1]: *** [all-recursive]
Error 1 make[1]: Leaving directory '/tmp/SBo/gst-plugins-bad-1.6.2'
Makefile:883: recipe for target 'all' failed make: *** [all] Error 2
--
Eduardo Sánchez Gauto, Abog., Th.M.
Abogado - Traductor Público Matriculado Inglés - Español
Web: http://sombragris.org - Blog: http://shadow.sombragris.org
TW: @thegreyshadow - FB: /thegreyshadow
Teléfono: (0991) 755-355 - Asunción, Paraguay
==================================================================
More information about the SlackBuilds-users
mailing list