[Development] Houston, qint128 has a problem

Thiago Macieira thiago.macieira at intel.com
Sat Dec 9 18:38:05 CET 2023


On Friday, 8 December 2023 18:51:19 PST Marc Mutz via Development wrote:
> I think we need to mandate that if you want qint128 support, then you
> must compile with gnu++NN, which is actually the default on both GCC and
> Clang. We seem to switch that off (-ansi on).

Now answering the point you actually raised:

I agree. If you want to use our qint128 API, you should use a standard C++ 
library that knows about it too. You can mismatch at your own risk.

That only brings the problem that QtCore and QtTest must support int128 if the 
library *can* support it. We must either switch to non-strict mode in 
compiling those two libraries or we must ignore our own flag in them. Neither 
option is appetising.

-- 
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/20231209/998e9c56/attachment.bin>


More information about the Development mailing list