Hi!
I ran to the same problem earlier and I posted patches here on the list on 2nd
December 2016 for this problem.
In short, the CompPtr has specialized constructors that can't access the
protected members as they are not working on class level. The fix was trivial,
changing the direct member variable access to use the already available
accessor methods.
Other problem I encountered was a missing BitmapBrushProperties1 in the
d2d1_1helper1.h, for which I also posted a patch.
With these patches I'm able to build the Qt-5.8.0 just fine : )
Have I not followed some step of providing patches as these have not been
commented at all so far... ?
Best regards,
Petri
Lähettäjä: Alexey Pavlov <[email protected]>
Vastaanottaja: "[email protected]"
<[email protected]>
Lähetetty: torstai 26. tammikuuta 2017 12.28
Aihe: [Mingw-w64-public] Issue with headers.
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
------------------------------------------------------------------------------
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