Bug 243763 - WebKit-GTK 2.36.5 fails to build on macOS - Conflicting type
Summary: WebKit-GTK 2.36.5 fails to build on macOS - Conflicting type
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 19:32 PDT by echassiers.09-regards
Modified: 2022-08-10 07:46 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.