Hi!
I'm working on building Qt-5.8.0 with mingw-w64 + GCC 6.3.0 and now have
issue:
In file included from
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl.h:10:0,
from qwindowsdirect2dpaintengine.cpp:62:
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl/client.h: In
instantiation of
'Microsoft::WRL::ComPtr<T>::ComPtr(Microsoft::WRL::ComPtr<U>&&) [with U =
ID2D1PathGeometry1; T = ID2D1Geometry]':
qwindowsdirect2dpaintengine.cpp:956:80: required from here
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl/client.h:101:60:
error: 'Microsoft::WRL::ComPtr<ID2D1PathGeometry1>::InterfaceType*
Microsoft::WRL::ComPtr<ID2D1PathGeometry1>::ptr_' is protected within this
context
ComPtr(ComPtr<U>&& other) throw() : ptr_(other.ptr_) {
~~~~~~^~~~
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl/client.h:254:28:
note: declared protected here
InterfaceType *ptr_;
^~~~
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl/client.h:102:23:
error: 'Microsoft::WRL::ComPtr<ID2D1PathGeometry1>::InterfaceType*
Microsoft::WRL::ComPtr<ID2D1PathGeometry1>::ptr_' is protected within this
context
other.ptr_ = nullptr;
~~~~~~^~~~
C:/building/msys64/mingw64/x86_64-w64-mingw32/include/wrl/client.h:254:28:
note: declared protected here
InterfaceType *ptr_;
^~~~
Seems some inconsistence in header or maybe GCC bug.
Best regards,
Alexey.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public