Skip to content

🍒[cxx-interop] Workaround compiler error when importing AppKit/UIKit with C++ interop #78741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

porglezomp
Copy link
Contributor

@porglezomp porglezomp commented Jan 19, 2025

Setting this on the wrong branch initially blew up the reviewer list. Re-opened as: #78742

…ith C++ interop

The AppKit/UIKit overlay refers to symbols declared via NS_OPTIONS
macro, which is causing issues in C++ language mode due to the macro
definition being different. This teaches the module interface loader to
drop the C++ interop flag when rebuilding the AppKit and UIKit overlay
from its interface.

This is the same fix as swiftlang#78636, but for different modules.

rdar://143033209
(cherry picked from commit 7323a75)
@porglezomp porglezomp changed the base branch from main to release/6.1 January 19, 2025 12:59
@porglezomp porglezomp requested a review from a team as a code owner January 19, 2025 12:59
@porglezomp porglezomp closed this Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant