[Development] INTEGRITY

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Sep 18 17:16:46 CEST 2019


Il 18/09/19 17:07, Thiago Macieira ha scritto:
> On Wednesday, 18 September 2019 03:29:39 PDT Mutz, Marc via Development wrote:
>> Qt 5.14 is the eighth release of Qt to require C++11. How did we get
>> into a situation where there's one platform that doesn't even support
>> basic C++11? Why wasn't it dropped when MSVC 2013 was?
> 
> We've never required C++11 Standard Library. We've only required the core
> language and the integrity compiler does support it just fine.

Not really, it also fails on constexpr:

https://codereview.qt-project.org/c/qt/qtbase/+/264550

>> Quoting https://www.ghs.com/products/compiler.html:
>>> C++11 and C++14 support
>>>
>>> Green Hills Compilers support ISO/IEC 14882:2011 (C++11) and
>>> ISO/IEC 14882:2014 (C++14) which offers a number of new
>>> language features and standard libraries. These includes
>>> standardized threading support for mutexes, atomics,
>>> future/promise, and the use of the thread_local keyword.
>>
>> So, is the CI just using a totally outdated toolchain?
> 
> More than likely we're just missing an -l flag or equivalent to link to the
> necessary implementation. If that's the case, it's no different than libstdc++
> which requires adding -lpthread to your link command-line.

 From QTBUG-78450:

> According to INTEGRITY documentation: "Namespace member std::condition_variable is not supported, along with any library functions related to it (for example, std::notify_all_at_thread_exit)."

So there's no way out of this.

My 2 c,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190918/69279550/attachment.bin>


More information about the Development mailing list