Bug 243763

Summary: WebKit-GTK 2.36.5 fails to build on macOS - Conflicting type
Product: WebKit Reporter: echassiers.09-regards
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   

echassiers.09-regards
Reported 2022-08-09 19:32:49 PDT
Same error (error: reference to 'Rect' is ambiguous) as in Bug 126433, and the same patch fixes the issue.
Attachments
Michael Catanzaro
Comment 1 2022-08-10 06:53:41 PDT
See bug #152720 for why that patch was reverted.
echassiers.09-regards
Comment 2 2022-08-10 07:46:15 PDT
Bug #152720 resolves the usage of the CF_AVAILABLE macro on OS X <= 10.9. While CF_AVAILABLE does not even exist in the repo now, support for macOS < 10.13 has also been removed. I'm sure there is a regression afterwards. I actually hold the same idea as Philip Chimento in that thread: CoreFoundation.h should not be included there when building WebKitGTK, due to type conflicts.
Note You need to log in before you can comment on or make changes to this bug.