[Development] Switching Qt default builds to C++20 where supported

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Tue Oct 29 12:30:38 CET 2024


Hello,

Il 28/10/24 16:39, Fabian Kosmale via Development ha scritto:
> However, if it comes to ABI, I'm not convinced that we have a solution.
> As long as e.g. libstdc++ declares its support experimental, are we
> really willing to export C++20 symbols from Qt? If not, do we have
> strategy to prevent this from happening?

This isn't just about exporting C++20 symbols from Qt, is it? The very 
fact that Qt _consumes_ C++20 symbols makes Qt exposed to an ABI break 
by libstdc++.

In other words, even we use C++20 as a mere "implementation detail" for 
us, we'd still be exposed to this issue.

(It's still a bit unclear to me which C++20 datatypes we'd actually 
expose through an API/ABI boundary).

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 - Trusted Software Excellence

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


More information about the Development mailing list