[lldb-dev] lldb Build Error

Mool Chand Tyagi moolchand.tyagi7 at gmail.com
Thu Apr 12 04:36:52 PDT 2012


Hello,

With latest LLDB build, i am getting the below error regarding
incomplete type in Clang:

---
In file included from
/home/mtyagi/lldb/llvm_latest/llvm/include/llvm/ADT/StringRef.h:15:
In file included from
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../../../include/c++/4.5/utility:70:
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../../../include/c++/4.5/bits/stl_pair.h:77:11:
error: field has incomplete type
      'lldb_private::ClangNamespaceDecl'
      _T2 second;                ///< @c second is a copy of the second object
          ^
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/../../../../../include/c++/4.5/bits/stl_tree.h:383:26:
note: in instantiation of template class
      'std::pair<std::tr1::shared_ptr<lldb_private::Module>,
lldb_private::ClangNamespaceDecl>' requested here
        get_allocator().destroy(&__p->_M_value_field);
-- 

However, the build i tried two weeks back was building successfully.

thanks,
Tyagi



More information about the lldb-dev mailing list