[Development] Qt 4.8 clang and libc++

Sylvain Pointeau sylvain.pointeau at gmail.com
Sat Sep 8 14:02:45 CEST 2012


and now I have

In file included from animation/qabstractanimation.cpp:1434:
.moc/release-shared/moc_qabstractanimation.cpp:37:1: error: initialization
of non-aggregate type 'QBasicAtomicInt'
      (aka 'QBasicAtomicInteger<int>') with an initializer list
QT_MOC_LITERAL(4, 42, 25),
^~~~~~~~~~~~~~~~~~~~~~~~~
.moc/release-shared/moc_qabstractanimation.cpp:27:5: note: expanded from
macro 'QT_MOC_LITERAL'
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    ^
/Users/sylvain/development/lib/qt-5.0/qtbase/src/corelib/../../include/QtCore/../../src/corelib/tools/qbytearray.h:143:5:
note:
      expanded from macro
'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET'
    Q_STATIC_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(size, offset)


I am now commenting the initializer list in the compiler detection file.


I am under the impression that clang-libc++ will not be possible soon....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120908/bacdd68a/attachment.html>


More information about the Development mailing list