[Development] QtCS2019 Notes: QtCore

Thiago Macieira thiago.macieira at intel.com
Mon Nov 25 06:48:46 CET 2019


On Sunday, 24 November 2019 00:50:14 PST André Pönitz wrote:
> Regarding the risk of "introduce subtle bugs by truncating sizes": That risk
> _is_ there in general for some of the proposed porting strategies, but not
> for the case of using a 32bit count(): We can assume that an existing
> application using QContainers is fine with 32bit, otherwise it wouldn't
> work right now. So continuing using 32bit interfaces does not introduce
> bugs. Immediate truncation on the user code sode is also riskless, just
> ugly.

I'm not talking about porting code.

I'm talking about new code written in 2024. If we choose now to have 32-bit 
count(), that will still be the case in 2024, possibly beyond, which means as 
a result code written at that time needs to be careful not to use the 32-bit 
methods. That's what I am referring to when I say a problem down the road.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list