Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
6.0
-
None
Description
QT5 build failed due to error C2440 on MSVC. Could you help look at this? Thanks in advance! We use latest source version a8d35913 of QT5 dev branch.
Repro steps:
1. open a clean x86_amd64 prompt
2. git clone git://code.qt.io/qt/qt5.git D:\QT5\src
3. cd D:\QT5\src
4. git checkout dev
5. set PATH=F:\gitP\qt\jom_1_1_2;%PATH%
6. set PATH="F:\tools\qt\gnuwin32\bin";%PATH%
7. set CL=/D_ENABLE_EXTENDED_ALIGNED_STORAGE
8. configure -developer-build -opensource -release -nomake examples -nomake tests -skip qtwebengine -confirm-license
9. jom
Acutal result:
qaxobject.cpp
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxobject.cpp(95): error C2440: 'initializing': cannot convert from 'const QByteArrayData [13]' to 'const uint *'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxobject.cpp(95): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
qaxbase.cpp
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(134): error C2440: 'const_cast': cannot convert from 'const uint *' to 'QByteArrayData *'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(134): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3168): error C2440: '=': cannot convert from 'const QByteArrayData *' to 'const uint *'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3168): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3201): error C2440: 'initializing': cannot convert from 'initializer list' to 'QByteArrayData'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3218): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3202): error C2440: 'initializing': cannot convert from 'initializer list' to 'QByteArrayData'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3218): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3203): error C2440: 'initializing': cannot convert from 'initializer list' to 'QByteArrayData'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3218): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3204): error C2440: 'initializing': cannot convert from 'initializer list' to 'QByteArrayData'
F:\gitP\qt\qt5\qtactiveqt\src\activeqt\container\qaxbase.cpp(3218): note: No constructor could take the source type, or constructor overload resolution was ambiguous