http://llvm.org/bugs/show_bug.cgi?id=21626
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Richard Smith <[email protected]> --- The next problem is with the CoreFoundation module map. Again, this is an Apple problem not a Clang one. The reason why this "works" with XCode 6.1 is that -fmodules does nothing in C++ mode there. Ultimately, the problem is that the module maps you're using have not been made to work with C++, and they don't. The point of [extern_c] is twofold: (1) it builds the target module in an implicit extern "C" context (which affects its semantics in lots of ways), and (2) it allows the module to be imported in an extern "C" context. You don't want (2) without (1), because that can lead to silent and hard-to-diagnose build breaks. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
