Skip to content

Use #include over #import in C souce #682

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
Oct 11, 2016

Conversation

kastiglione
Copy link
Contributor

This is because Clang's MSVC compatibility does not handle #import statements outside of of objc.

#import of type library is an unsupported Microsoft feature

This is a follow up to a similar change in #663.

This is because Clang's MSVC compatibility does not handle #import statements outside of of objc.

    #import of type library is an unsupported Microsoft feature

See also swiftlang#663
@modocache
Copy link
Contributor

Looks good to me! I defer to @parkera or @phausler, though.

@modocache
Copy link
Contributor

@swift-ci Please test.

@parkera parkera merged commit 4698b92 into swiftlang:master Oct 11, 2016
@parkera
Copy link
Contributor

parkera commented Oct 11, 2016

Thanks!

@kastiglione kastiglione deleted the just-include branch October 12, 2016 00:20
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.

4 participants