https://bugs.winehq.org/show_bug.cgi?id=56692
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Alistair Leslie-Hughes from comment #2)
Fixed by https://gitlab.winehq.org/wine/wine-staging/-/commit/ 7adaca8b1b943ac33303d4c6bd730d753d65a9f7
That fixes the first problem, but now it fails with:
[ 411s] dlls/d2d1/effect.c: In function 'impl_from_ID2D1OffsetTransform': [ 411s] include/winnt.h:888:46: error: initialization of 'const ID2D1TransformNode *' from incompatible pointer type 'ID2D1OffsetTransform *' [-Wincompatible-pointer-types] [ 411s] 888 | const typeof(((type *)0)->field) *__ptr = (address); \ [ 411s] | ^ [ 411s] dlls/d2d1/effect.c:25:12: note: in expansion of macro 'CONTAINING_RECORD' [ 411s] 25 | return CONTAINING_RECORD(iface, struct d2d_transform, ID2D1TransformNode_iface); [ 411s] | ^~~~~~~~~~~~~~~~~ [ 411s] dlls/d2d1/effect.c: In function 'impl_from_ID2D1BlendTransform': [ 411s] include/winnt.h:888:46: error: initialization of 'const ID2D1TransformNode *' from incompatible pointer type 'ID2D1BlendTransform *' [-Wincompatible-pointer-types] [ 411s] 888 | const typeof(((type *)0)->field) *__ptr = (address); \ [ 411s] | ^ [ 411s] dlls/d2d1/effect.c:30:12: note: in expansion of macro 'CONTAINING_RECORD' [ 411s] 30 | return CONTAINING_RECORD(iface, struct d2d_transform, ID2D1TransformNode_iface); [ 411s] | ^~~~~~~~~~~~~~~~~ [ 411s] dlls/d2d1/effect.c: In function 'impl_from_ID2D1BorderTransform': [ 411s] include/winnt.h:888:46: error: initialization of 'const ID2D1TransformNode *' from incompatible pointer type 'ID2D1BorderTransform *' [-Wincompatible-pointer-types] [ 411s] 888 | const typeof(((type *)0)->field) *__ptr = (address); \ [ 411s] | ^ [ 411s] dlls/d2d1/effect.c:35:12: note: in expansion of macro 'CONTAINING_RECORD' [ 411s] 35 | return CONTAINING_RECORD(iface, struct d2d_transform, ID2D1TransformNode_iface); [ 411s] | ^~~~~~~~~~~~~~~~~ [ 411s] dlls/d2d1/effect.c: In function 'impl_from_ID2D1BoundsAdjustmentTransform': [ 411s] include/winnt.h:888:46: error: initialization of 'const ID2D1TransformNode *' from incompatible pointer type 'ID2D1BoundsAdjustmentTransform *' [-Wincompatible-pointer-types] [ 411s] 888 | const typeof(((type *)0)->field) *__ptr = (address); \ [ 411s] | ^ [ 411s] dlls/d2d1/effect.c:41:12: note: in expansion of macro 'CONTAINING_RECORD' [ 411s] 41 | return CONTAINING_RECORD(iface, struct d2d_transform, ID2D1TransformNode_iface);
I had already tried appending "-Wno-error=incompatible-pointer-types" to %{optflags} in the spec file, but it didn't work.