[Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 7 20:18:18 CET 2023
On Tuesday, 7 November 2023 09:07:10 PST Marc Mutz via Development wrote:
> To be clear: This is not about Qt compiled with C++17 used in projects
> compiled with C++20. This is about one .cpp file being compiled with
> C++17 and another .cpp file from, broadly speaking, the same cmake
> target, in C++20 (static builds are different; there, the whole
> application incl. all "statically-linked libraries", is one executable).
No, it's not. See my reply. Your answer still applies, just that it gets
bigger so:
> 1. Ban mixing different C++ versions in the same executable (= cmake
> target).
>
> This is probably the safest. If we allowed this instead, we'd need to
> review all of our APIs to see whether we have a similar issue already.
You must remove "cmake target" portion. This applies to the executable as
loaded into memory.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5163 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20231107/74e8b1d9/attachment.bin>
More information about the Development
mailing list