Building QEMU 9.0.0 fails on MacOS 10.15.7 (error: initializing 'NSEdgeInsets' (aka 'struct NSEdgeInsets') with an expression of incompatible type 'id')
Host environment
-
Operating system: MacOS Catalina (10.15.7)
-
OS/kernel version: Darwin 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64
-
Architecture: x86_64
-
QEMU flavor:
-
QEMU version: 9.0.0
Description of problem
QEMU fails to compile using Homebrew on OS X 10.15.7:
../ui/cocoa.m:542:18: error: initializing 'NSEdgeInsets' (aka 'struct NSEdgeInsets') with an expression of incompatible type 'id'
NSEdgeInsets insets = [[[self window] screen] safeAreaInsets];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Steps to reproduce
- Compile QEMU on OS X 10.15.7 using Homebrew
Additional information
Build log 02.make.zip
Edited by Tobias Markus