Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.0 Alpha
-
None
-
311157c3c6849e8efccd88f7594bb34c570a6780
Description
Building Qt from 5.4 branch with angle on mingw-w64 x64 fails.
Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp: In member function 'bool rx::TextureD3D::subImage(GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const gl::PixelUnpackState&, const void*, rx::Image*)':
Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp:127:68: error: cast from 'const void*' to 'unsigned int' loses precision [-fpermissive]
unsigned int offset = reinterpret_cast<unsigned int>(pixels);
^
Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp: In member function 'bool rx::TextureD3D::fastUnpackPixels(const gl::PixelUnpackState&, const void*, const gl::Box&, GLenum, GLenum, rx::RenderTarget*)':
Q:\qtbase\src\3rdparty\angle\src\libGLESv2\renderer\d3d\TextureD3D.cpp:181:64: error: cast from 'const void*' to 'unsigned int' loses precision [-fpermissive]
unsigned int offset = reinterpret_cast<unsigned int>(pixels);
^
jom: R:\build\libs\qtbase\work\mingw-w64-RelWithDebInfo-5.4\src\angle\src\libGLESv2\Makefile.Release [.obj\release\TextureD3D.o] Error 1
Attachments
For Gerrit Dashboard: QTBUG-41308 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95530,5 | ANGLE: Upgrade to 2.1~abce76206141 | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |