Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.8
-
None
Description
This is because cpuidFeatures07_00 takes uint, but uses qregisteruint internally:
static void cpuidFeatures07_00(uint &ebx, uint &ecx, uint &edx) { #if defined(Q_CC_GNU) && !defined(Q_CC_EMSCRIPTEN) qregisteruint rbx; // in case it's 64-bit qregisteruint rcx = 0; qregisteruint rdx = 0;
src/corelib/global/qsimd.cpp:355:11: warning: implicit conversion loses integer precision: 'qregisteruint' (aka 'unsigned long long') to 'uint' (aka 'unsigned int') [-Wshorten-64-to-32] 355 | ebx = rbx; | ~ ^~~ src/corelib/global/qsimd.cpp:356:11: warning: implicit conversion loses integer precision: 'qregisteruint' (aka 'unsigned long long') to 'uint' (aka 'unsigned int') [-Wshorten-64-to-32] 356 | ecx = rcx; | ~ ^~~ src/corelib/global/qsimd.cpp:357:11: warning: implicit conversion loses integer precision: 'qregisteruint' (aka 'unsigned long long') to 'uint' (aka 'unsigned int') [-Wshorten-64-to-32] 357 | edx = rdx; | ~ ^~~