http://llvm.org/bugs/show_bug.cgi?id=21626

jh <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from jh <[email protected]> ---
There is no module map in /usr/include (see below).

I can write one, but there are C and C++ linkages for different header files, I
can't assume they are all entern_c.

Xcode 6.1's clang (Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM
3.5svn)) compiles the code successfully with `-fmodules`.

------

$ cd /
$ find . -name \*modulemap\*

# System frameworks

./System/Library/PrivateFrameworks/ExchangeWebServices.framework/Versions/A/Modules/module.modulemap


# Below are the module maps in /Application/Xcode.app:

./Applications/Utilities/Tower.app/Contents/Frameworks/FNAppKit.framework/Versions/A/Modules/module.modulemap
./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/DVTPlaygroundCommunication.framework/Modules/module.modulemap
./Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/Metal.framework/Modules/module.modulemap
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/DVTPlaygroundCommunication.framework/Modules/module.modulemap
./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/PrivateFrameworks/ExchangeWebServices.framework/Versions/A/Modules/module.modulemap
./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/A/Modules/module.modulemap

# Below are clang's installation directory

./opt/include/clang-c/module.modulemap
./opt/lib/clang/3.6.0/include/module.modulemap

-- 
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

Reply via email to