Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.7
-
None
-
-
75937c9da7910ce41b4b3207d66d844ed9624df8
Description
When compiling QML with qtquickcompiler on Windows 8.1 using Visual Studio 2017, the following warning occurs:
>...\include\qtqml\5.9.7\qtqml\private\qv4value_p.h(263): error C2220: warning treated as error - no 'object' file generated >...\include\qtqml\5.9.7\qtqml\private\qv4value_p.h(263): warning C4245: 'initializing': conversion from '__int64' to 'const quint64', signed/unsigned mismatch
It is fixed by the following change to qv4value_p.h:
- static const quint64 NaNEncodeMask = 0xfffc000000000000ll; + static const quint64 NaNEncodeMask = 0xfffc000000000000ull;
I will submit this in a code review shortly.