[lldb-dev] source/Utility/StringLexer.cpp does not compile

Paul Osmialowski pawelo at king.net.pl
Sat Aug 23 01:16:45 PDT 2014


Someone used std::find and did not include header for it.

Proposed patch that solves compilation problem:

diff --git a/source/Utility/StringLexer.cpp 
b/source/Utility/StringLexer.cpp
index 4889ed7..4639500 100644
--- a/source/Utility/StringLexer.cpp
+++ b/source/Utility/StringLexer.cpp
@@ -7,6 +7,8 @@
  //

//===----------------------------------------------------------------------===//

+#include <algorithm>
+
  #include "lldb/Utility/StringLexer.h"

  using namespace lldb_utility;



More information about the lldb-dev mailing list