MSVC uses the #import directive in a far different way than the
language extension clang supports.  Instead of including the target
into the source, it parses a type library and generates C++ classes
from the definitions.  This difference in behavior is large enough
that we should be warning users in MS compatibility mode so they can
understand what's happening.

This patch addresses PR 10727.

~Aaron

Attachment: MicrosoftImport.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to