Building d29797f on macOS Monterey 12.7.6 fails with
/Users/bro/Documents/repositories/ladybird/Ladybird/AppKit/UI/SearchPanel.mm:66:36: error: use of undeclared identifier 'NSBezelStyleAccessoryBarAction'
66 | [search_done setBezelStyle:NSBezelStyleAccessoryBarAction];
| ^
NSBezelStyleAccessoryBarAction
got introduced with macOS v14. AFAICT this is the only constant which prevents a successful build for earlier versions.
Currently I use this hack:
- [search_done setBezelStyle:NSBezelStyleAccessoryBarAction];
-
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ [search_done setBezelStyle:NSBezelStyleRoundRect];
+#pragma clang diagnostic pop
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too