Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10
-
None
Description
Using std::future is broken on armv5 targets with gcc
| /home/sapiippo/development/yocto/master/build/tmp-glibc/work/armv5te-oe-linux-gnueabi/qtbase/5.10.0+gitAUTOINC+678ff94ff2-r0/git/src/corelib/thread/qthread.h:237:23: error: field 'm_future' has incomplete type 'std::future<void>' | std::future<void> m_future;
std:future definition is guarded in <future> with (ATOMIC_INT_LOCK_FREE > 1), and on armv5 it's defined 1.
This was recent fixed in gcc trunk: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-61546 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
198163,2 | QThread: more checks for std::future | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |