[Development] Another integer typedef OR how to prepare for 64-bit in Qt 5
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Mon Dec 3 11:02:31 CET 2018
Il 03/12/18 00:01, Thiago Macieira ha scritto:
>> Has anyone actually tried changing size_type to a 64bit datatype, and
>> checking how many warnings start appearing in user code? (E.g. just try
>> with QString, QList, QVector; and build Creator, or some KDE libs). I've
>> got the gut feeling that it will be an absolutely gigantic number,
>> especially on Windows...
> Not yet. Yes, it will be a huge number.
Which compels the questions:
1) is it worth it?
2) should we offer users some way (configure time switch, template
parameter, ...) to keep int-based indexes and avoid all these warnings
while they fix their code to use a ssize_t-like index?
Cheers,
--
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: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181203/f71c13a4/attachment.bin>
More information about the Development
mailing list