Hi,

On ubuntu gcc-4.4.3 has an issue with strncmp()  in 
source/Plugins/SymbolFile/DWARFDWARFDefines.cpp.
The quick fix is to  add #include <string.h> in addtion to the  #include 
<string> .
Better way might be to avoid the strncmp() and use string::compare()

Thanks,
Pawel

-------------------------cut here K 
----------------------------------------------------------------
Index: DWARFDefines.cpp
===================================================================
--- DWARFDefines.cpp    (revision 107733)
+++ DWARFDefines.cpp    (working copy)
@@ -10,6 +10,7 @@
  #include "DWARFDefines.h"
  #include <stdio.h>
  #include <string>
+#include <string.h>
  #include "lldb/Core/ConstString.h"

  namespace lldb_private {


_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to