[Interest] Qt 6.4.3 compiler warnings in QTaggedPointer

Hamish Moffatt hamish at risingsoftware.com
Thu Mar 23 05:19:59 CET 2023


On 23/3/23 05:00, Thiago Macieira wrote:
>
> I don't see any changes since v6.4 that would fix that. It looks trivial though
> to apply an explicit cast to silence that warning.
>
> Any chance you can contribute it?

I started with a bug report, anyway: QTBUG-112222.


static constexpr quint8 tagBits = 
QtPrivate::qConstexprCountTrailingZeroBits(alignment);

So would you fix it with a cast, or by changing the variable type to int 
to match the function?


Hamish



More information about the Interest mailing list