http://llvm.org/bugs/show_bug.cgi?id=19557
Bug ID: 19557
Summary: Can't preprocess and compile file with float.h include
Product: clang
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Modules
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Preprocessing file with content:
<code>
#include <float.h>
</code>
and passing "-fmodules" attribute, include gets converted to following code:
<code>
@import Darwin.C.float; /* clang -E: implicit import for
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/float.h"
*/
</code>
Problem is, that compiling preprcessed code, it throws error:
error: expected a module name after module import
@import Darwin.C.float; /* clang -E: implicit import for
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/float.h"
*/
^
1 error generated.
I guess, problem is in module name parsing.
--
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