http://llvm.org/bugs/show_bug.cgi?id=12035
Bug #: 12035
Summary: Preprocessor inserts spaces in macro expansions
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
clang 3.1 which is shipping with Xcode 4.3 ("based on LLVM 3.1svn") seems to
insert extra spaces in macro expansions.
A test case:
$ cat foo.h
#define VALUE 2012-02-19
Output: VALUE
$ clang -E -P foo.h
Output: 2012 -02 -19
$ gcc -E -P foo.h
Output: 2012-02-19
$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
Notes:
- Apple Radar #10883862
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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