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.
Attachments
For Gerrit Dashboard: QTBUG-71862 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
245848,1 | Fix signed/unsigned warning in VS 2017 | 5.9 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
245849,2 | Fix signed/unsigned warning in VS 2017 | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |