[Webkit-unassigned] [Bug 220315] New: build-webkit compilation error on macOS Catalina 10.15.7
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 5 02:35:06 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220315
Bug ID: 220315
Summary: build-webkit compilation error on macOS Catalina
10.15.7
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: ANGLE
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dario.damico at gmail.com
CC: dino at apple.com
WebKit does not build on macOS Catalina 10.15.7 because of a compilation error in the Metal Angle renderer.
/Users/dari8942/Desktop/WebKit/Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/mtl_utils.mm:530:17: error:
'setPreserveInvariance:' is only available on macOS 11.0 or newer
[-Werror,-Wunguarded-availability-new]
options.preserveInvariance = true;
^~~~~~~~~~~~~~~~~~
User ap on the Slack WebKit channel suggested to change MAX_ALLOWED to MIN_REQUIRED in the preprocessor conditions that guard the compilation of that line.
It seems like that does the trick because I tried in my local repo and it gets rid of the error; however the build still fails for some other reason that I am investigating.
In short, there seems to be a similar 10.15 vs 11.0 problem that affects Cocoa/AVAssetWriterSPI.h. Not sure whether I should create a separate bug report or just keep adding to this as I discover new compilation errors.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210105/a186f220/attachment.htm>
More information about the webkit-unassigned
mailing list