Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.4.0
-
None
-
MacOS X 10.7
XCode 4.6.3
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Description
The clang error:
../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1943:1: error: copying variable of type 'QBasicAtomicInt' (aka 'QBasicAtomicInteger<int>') invokes deleted constructor Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1808:32: note: expanded from macro 'Q_DECLARE_METATYPE_TEMPLATE_2ARG' static QBasicAtomicInt metatype_id = Q_BASIC_ATOMIC_INITIALIZER(o); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:1509:82: note: in instantiation of member function 'QMetaTypeId<QPair<QVariant, QVariant> >::qt_metatype_id' requested here static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); } ^ ../../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:229:5: note: function has been explicitly marked deleted here QBasicAtomicInteger(const QBasicAtomicInteger &) = delete;
My configuration:
./configure -platform macx-clang-32 -debug-and-release -opensource -plugin-sql-sqlite -skip qtwebkit -skip qtwebkit-examples -nomake examples -nomake tests
This problem related with QTBUG-43279
Attachments
Issue Links
- is replaced by
-
QTBUG-43279 wrong detection on apple clang version
-
- Closed
-