<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Seems to be working. Thanks, Lang!</div><div><br></div><br><div><div>On Oct 23, 2012, at 10:15 , Lang Hames <<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I think I've fixed this issue with r166484. Let me know if you run into further problems building PBQP with libc++ and C++11.<div><br></div><div>- Lang.<br><br><div class="gmail_quote">On Sat, Oct 20, 2012 at 2:59 PM, Lang Hames <span dir="ltr"><<a href="mailto:lhames@gmail.com" target="_blank">lhames@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a known issue with the current PBQP data structures. I'm working on an overhaul of the PBQP allocator at the moment which should address this.<span class="HOEnZb"><font color="#888888">
<br></font></span><div><span class="HOEnZb"><font color="#888888">- Lang.</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Sat, Oct 20, 2012 at 2:08 PM, Benjamin Kramer <span dir="ltr"><<a href="mailto:benny.kra@gmail.com" target="_blank">benny.kra@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On 20.10.2012, at 22:47, Jordan Rose <<a href="mailto:jordan_rose@apple.com" target="_blank">jordan_rose@apple.com</a>> wrote:<br>
<br>
> Hi, everyone. Today I was trying to build LLVM with libc++ and C++11 enabled, and I ran into this:<br>
><br>
> <a href="http://stackoverflow.com/questions/10065384/instantiation-of-a-list-with-an-incomplete-type-in-a-typedef" target="_blank">http://stackoverflow.com/questions/10065384/instantiation-of-a-list-with-an-incomplete-type-in-a-typedef</a><br>


><br>
> Basically, PBQP/Graph.h forward-declares classes, then tries to get iterators for std::lists of those classes. This is technically undefined behavior. I tried fudging with the order of declarations for a while, but gave up after realizing there's not an easy way out.<br>


><br>
> Is anyone else building LLVMCodeGen with libc++ and C++11? Is anyone else seeing this?<br>
<br>
</div>I was hitting this problem a while ago, but it's not reproducible when compiling llvm with clang trunk and libc++ trunk.<br>
<br>
- Ben<br>
<div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</blockquote></div><br></body></html>