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   

Description echassiers.09-regards 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.
Comment 1 Michael Catanzaro 2022-08-10 06:53:41 PDT
See bug #152720 for why that patch was reverted.
Comment 2 echassiers.09-regards 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.