http://llvm.org/bugs/show_bug.cgi?id=19867

            Bug ID: 19867
           Summary: header inclusion problems while compiling lldb for
                    MacOSX
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

I tried to build lldb from git on my MacOSX 10.9.3 using Clang 3.4-svn (XCode
5.1). I encountered two problems with header inclusion:

1. stropts.h not present in MacOSX (even with MacPorts installed) - I removed
its inclusion from tools/lldb-mi/MICmnStreamStdin.cpp and it compiled fine. Is
that #include <stropts.h> really needed?
2. errno.h inclusion is missing in tools/lldb-mi/MIUtilFileStd.cpp - I placed
#include <errno.h> before #include <string.h> line and it compiled fine.
With these two changes I was able to build lldb along with llvm, clang and
compiler-rt all fetched from their git repositories.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to