http://llvm.org/bugs/show_bug.cgi?id=11833
Bug #: 11833
Summary: recent build failure with spirit code
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 7929
--> http://llvm.org/bugs/attachment.cgi?id=7929
original source file to reproduce (requires boost trunk or release branch)
The attached file lit_char.cpp fails to build with boost release branch and
trunk.
The strange thing is: with clang 3.0 it works, with g++-4.5 and g++-4.6 it
works.
Preprocessing with g++ and feeding to clang trunk does not produce the bug.
Preprocessing with clang 3.0 and feeding to clang trunk repreoduces the bug.
The attached file lit_char.preprocessed_with_clang_3.0.cpp.bz2 does not require
boost sources to reproduce the bug.
Changing lit('!') to lit("!") fixes the problem, however as it works for other
compiler versions I suppose it is a bug nevertheless.
The attached file lit_char.preprocessed_with_clang_3.0.fixed.cpp.bz2 does not
show the buggy behavior but requires source change.
--
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