Skip to content

Conversation

@kastiglione
Copy link
Contributor

@kastiglione kastiglione commented Sep 29, 2016

This changes a few #import statements to #include. 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

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

    #import of type library is an unsupported Microsoft feature
@modocache
Copy link
Contributor

@swift-ci please test

@parkera parkera merged commit b0d764d into swiftlang:master Sep 29, 2016
@kastiglione kastiglione deleted the include-not-import branch September 29, 2016 21:28
kastiglione pushed a commit to kastiglione/swift-corelibs-foundation that referenced this pull request Oct 11, 2016
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
parkera pushed a commit that referenced this pull request Oct 11, 2016
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 #663
kastiglione added a commit to kastiglione/swift-corelibs-foundation that referenced this pull request Jan 31, 2017
The change made in swiftlang#663 were overwritten by swiftlang#709. This change restores the switch from `#import` to `#include`.

The reason for this change is: Clang's MSVC compatibility does not handle `#import` statements outside of of objc.

> #import of type library is an unsupported Microsoft feature
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.

3 participants