http://llvm.org/bugs/show_bug.cgi?id=12501
Bug #: 12501
Summary: llvm uses incomplete type in a template
Product: tools
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: llee
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
I tried to compile the svn revision 154314 of llvm using an older version of
clang and libcxx and I encountered the following problem:
The file include/llvm/CodeGen/PBQP/Graph.h contains the following code:
class NodeEntry;
typedef std::list<NodeEntry> NodeList;
typedef NodeList::iterator NodeItr;
Compiling the code with clang fails with the error:
error: field has incomplete type 'PBQP::Graph::NodeEntry'
According to this link
http://clang.llvm.org/compatibility.html#undep_incomplete clang does not
support the above code.
--
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