September 1, 2021 4:45 AM, "Huw Davies" huw@codeweavers.com wrote:
On Tue, Aug 31, 2021 at 05:27:34PM -0500, Chip Davis wrote:
Signed-off-by: Chip Davis cdavis@codeweavers.com
dlls/winemac.drv/cocoa_window.h | 2 - dlls/winemac.drv/cocoa_window.m | 89 ++++++++++++++++----------------- 2 files changed, 44 insertions(+), 47 deletions(-)
This is producing some (additional) warnings on macOS 10.13:
gcc -m32 -c -o dlls/winemac.drv/cocoa_window.o dlls/winemac.drv/cocoa_window.m -Idlls/winemac.drv -Iinclude -D__WINESRC__ \ -D_REENTRANT -fPIC -fasynchronous-unwind-tables -Wall -pipe -fno-stack-protector \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self \ -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith -gdwarf-2 \ -gstrict-dwarf -fno-omit-frame-pointer -O2 -g -Wno-deprecated-declarations -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 dlls/winemac.drv/cocoa_window.m:2040:23: warning: incompatible pointer types initializing 'CAShapeLayer *' with an expression of type 'CALayer * _Nullable' [-Wincompatible-pointer-types] CAShapeLayer* mask = layer.mask; ^ ~~~~~~~~~~ dlls/winemac.drv/cocoa_window.m:2254:50: warning: 'CALayer' may not respond to 'isEmptyShaped' return ([[[self contentView] layer].mask isEmptyShaped]);
Huh. I guess the 10.13 SDK doesn't have __kindof there. I'll resend.
Chip