Skip to content

Platform: improve WinSDK modulemap to repair build #33823

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

Merged
merged 1 commit into from
Sep 5, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 5, 2020

The WinSDK module failed to expose WinBase properly for reuse, which the
newer clang seems to object to (via an assertion). Add a separate
module for WinBase which allows reuse of the definitions without causing
conflicts. This caused some additional fallout requiring the creation
of the WinSVC submodule (service handling, part of security and
identity) and splitting up the legacy WinSock header from the WinSock2
module. This allows building Foundation again on Windows.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

The WinSDK module failed to expose WinBase properly for reuse, which the
newer clang seems to object to (via an assertion).  Add a separate
module for WinBase which allows reuse of the definitions without causing
conflicts.  This caused some additional fallout requiring the creation
of the WinSVC submodule (service handling, part of security and
identity) and splitting up the legacy WinSock header from the WinSock2
module.  This allows building Foundation again on Windows.
@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2020

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2020

@swift-ci please test windows platform

2 similar comments
@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2020

@swift-ci please test windows platform

@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2020

@swift-ci please test windows platform

@compnerd compnerd merged commit ea5604e into swiftlang:master Sep 5, 2020
@compnerd compnerd deleted the foundation branch September 5, 2020 16:13
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