Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.15.10, 5.15.5
-
None
-
Arch Linux
gcc 11.2.0
clang 13.0.1
AMD Ryzen 9 5950X
Description
In file included from ../../include/QtCore/qglobal.h:1, from /home/rutledge/dev/qt5/qtbase/src/corelib/thread/qsemaphore.h:43: ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qbasicatomic.h: In instantiation of ‘class QBasicAtomicInteger<long long unsigned int>’: /home/rutledge/dev/qt5/qtbase/src/corelib/thread/qsemaphore.h:70:39: required from here ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qglobal.h:121:63: error: static assertion failed: template parameter is an integral of a size not supported on this platform 121 | # define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message) | ^~~~~~~~~~~~~~~ ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qbasicatomic.h:97:5: note: in expansion of macro ‘Q_STATIC_ASSERT_X’ 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~ ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qglobal.h:121:63: note: ‘false’ evaluates to false 121 | # define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message) | ^~~~~~~~~~~~~~~ ../../include/QtCore/../../../../qt5/qtbase/src/corelib/thread/qbasicatomic.h:97:5: note: in expansion of macro ‘Q_STATIC_ASSERT_X’ 97 | Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform"); | ^~~~~~~~~~~~~~~~~
Attachments
Issue Links
- relates to
-
QTBUG-102129 LTS 5.15 fails to build with GCC 11 (C++17)
- Closed