./re2/sparse_array.h:123:32: error: invalid constructor; you probably meant 're2::SparseArray (const re2::SparseArray&)' SparseArray(SparseArray&& src); ^ ./re2/sparse_array.h:126:37: error: expected ',' or '...' before '&&' token SparseArray& operator=(SparseArray&& src); ^ ./re2/sparse_array.h:260:15: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 int size_ = 0; ^ ./re2/sparse_array.h:266:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 SparseArray::SparseArray() = default; ^ ./re2/sparse_array.h: In copy constructor 're2::SparseArray::SparseArray(const re2::SparseArray&)': ./re2/sparse_array.h:273:3: error: 'copy_n' is not a member of 'std' std::copy_n(src.sparse_.data(), src.max_size(), sparse_.data()); ^ ./re2/sparse_array.h:274:3: error: 'copy_n' is not a member of 'std' std::copy_n(src.dense_.data(), src.max_size(), dense_.data()); ^ ./re2/sparse_array.h: At global scope: ./re2/sparse_array.h:278:44: error: expected ',' or '...' before '&&' token SparseArray::SparseArray(SparseArray&& src) ^ ./re2/sparse_array.h:278:1: error: prototype for 're2::SparseArray::SparseArray(re2::SparseArray)' does not match any in class 're2::SparseArray' SparseArray::SparseArray(SparseArray&& src) ^ ./re2/sparse_array.h:269:1: error: candidates are: re2::SparseArray::SparseArray(const re2::SparseArray&) SparseArray::SparseArray(const SparseArray& src) ^ ./re2/sparse_array.h:113:12: error: re2::SparseArray::SparseArray(int) explicit SparseArray(int max_size); ^ ./re2/sparse_array.h:266:1: error: re2::SparseArray::SparseArray() SparseArray::SparseArray() = default; ^ ./re2/sparse_array.h: In member function 're2::SparseArray& re2::SparseArray::operator=(const re2::SparseArray&)': ./re2/sparse_array.h:292:13: error: 'move' is not a member of 'std' sparse_ = std::move(a); ^ ./re2/sparse_array.h:293:12: error: 'move' is not a member of 'std' dense_ = std::move(b); ^ ./re2/sparse_array.h:294:3: error: 'copy_n' is not a member of 'std' std::copy_n(src.sparse_.data(), src.max_size(), sparse_.data()); ^ ./re2/sparse_array.h:295:3: error: 'copy_n' is not a member of 'std' std::copy_n(src.dense_.data(), src.max_size(), dense_.data()); ^ ./re2/sparse_array.h: At global scope: ./re2/sparse_array.h:300:62: error: expected ',' or '...' before '&&' token SparseArray& SparseArray::operator=(SparseArray&& src) { ^ ./re2/sparse_array.h: In member function 're2::SparseArray& re2::SparseArray::operator=(re2::SparseArray)': ./re2/sparse_array.h:301:11: error: 'src' was not declared in this scope size_ = src.size_; ^ ./re2/sparse_array.h:302:13: error: 'move' is not a member of 'std' sparse_ = std::move(src.sparse_); ^ ./re2/sparse_array.h:303:12: error: 'move' is not a member of 'std' dense_ = std::move(src.dense_); ^ ./re2/sparse_array.h: In member function 'void re2::SparseArray::resize(int)': ./re2/sparse_array.h:334:5: error: 'copy_n' is not a member of 'std' std::copy_n(sparse_.data(), old_max_size, a.data()); ^ ./re2/sparse_array.h:335:5: error: 'copy_n' is not a member of 'std' std::copy_n(dense_.data(), old_max_size, b.data()); ^ ./re2/sparse_array.h:337:15: error: 'move' is not a member of 'std' sparse_ = std::move(a); ^ ./re2/sparse_array.h:338:14: error: 'move' is not a member of 'std' dense_ = std::move(b); ^ In file included from ./re2/prog.h:24:0, from re2/dfa.cc:44: ./re2/sparse_set.h: At global scope: ./re2/sparse_set.h:185:15: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 int size_ = 0; ^ ./re2/sparse_set.h:191:35: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 SparseSetT::SparseSetT() = default; ^ ./re2/sparse_set.h: In member function 'void re2::SparseSetT::resize(int)': ./re2/sparse_set.h:205:5: error: 'copy_n' is not a member of 'std' std::copy_n(sparse_.data(), old_max_size, a.data()); ^ ./re2/sparse_set.h:206:5: error: 'copy_n' is not a member of 'std' std::copy_n(dense_.data(), old_max_size, b.data()); ^ ./re2/sparse_set.h:208:15: error: 'move' is not a member of 'std' sparse_ = std::move(a); ^ ./re2/sparse_set.h:209:14: error: 'move' is not a member of 'std' dense_ = std::move(b); ^ In file included from re2/dfa.cc:44:0: ./re2/prog.h: At global scope: ./re2/prog.h:65:14: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Inst() = default; ^ ./re2/prog.h:68:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Inst(const Inst&) = default; ^ ./re2/prog.h:69:36: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Inst& operator=(const Inst&) = default; ^ ./re2/prog.h:172:22: error: 'std::is_trivial' has not been declared static_assert(std::is_trivial::value, "Inst must be trivial"); ^ ./re2/prog.h:172:32: error: expected ',' or '...' before '<' token static_assert(std::is_trivial::value, "Inst must be trivial"); ^ ./re2/prog.h:172:69: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] static_assert(std::is_trivial::value, "Inst must be trivial"); ^ ./re2/prog.h:304:9: error: expected nested-name-specifier before 'DFAStateCallback' using DFAStateCallback = std::function; ^ ./re2/prog.h:312:44: error: 'DFAStateCallback' does not name a type int BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb); ^ ./re2/prog.h:381:50: error: '>>' should be '> >' within a nested template argument list std::vector>* predvec, ^ ./re2/prog.h:389:49: error: '>>' should be '> >' within a nested template argument list std::vector>* predvec, ^ ./re2/prog.h:448:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_first_once_; ^ ./re2/prog.h:449:8: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_longest_once_; ^ ./re2/prog.h:451:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Prog(const Prog&) = delete; ^ ./re2/prog.h:452:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Prog& operator=(const Prog&) = delete; ^ Makefile:182: recipe for target 'obj/re2/compile.o' failed make[1]: *** [obj/re2/compile.o] Error 1 re2/dfa.cc:99:34: error: 'DFAStateCallback' in 'class re2::Prog' does not name a type int BuildAllStates(const Prog::DFAStateCallback& cb); ^ re2/dfa.cc:128:10: error: 'atomic' in namespace 'std' does not name a template type std::atomic next_[]; // Outgoing arrows from State, ^ re2/dfa.cc:171:16: error: 'unordered_set' in namespace 'std' does not name a template type typedef std::unordered_set StateSet; ^ re2/dfa.cc:175:9: error: expected nested-name-specifier before 'CacheMutex' using CacheMutex = Mutex; ^ re2/dfa.cc:268:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 SearchParams(const SearchParams&) = delete; ^ re2/dfa.cc:269:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 SearchParams& operator=(const SearchParams&) = delete; ^ re2/dfa.cc:276:10: error: 'atomic' in namespace 'std' does not name a template type std::atomic start; ^ re2/dfa.cc:341:3: error: 'CacheMutex' does not name a type CacheMutex cache_mutex_; ^ re2/dfa.cc:344:3: error: 'StateSet' does not name a type StateSet state_cache_; // All States computed so far. ^ re2/dfa.cc:347:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 DFA(const DFA&) = delete; ^ re2/dfa.cc:348:32: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 DFA& operator=(const DFA&) = delete; ^ re2/dfa.cc: In constructor 're2::DFA::StartInfo::StartInfo()': re2/dfa.cc:275:19: error: class 're2::DFA::StartInfo' does not have any field named 'start' StartInfo() : start(NULL) {} ^ re2/dfa.cc: At global scope: re2/dfa.cc:419:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Workq(const Workq&) = delete; ^ re2/dfa.cc:420:36: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Workq& operator=(const Workq&) = delete; ^ re2/dfa.cc: In constructor 're2::DFA::DFA(re2::Prog*, re2::Prog::MatchKind, int64_t)': re2/dfa.cc:460:52: error: 'atomic' is not a member of 'std' int64_t one_state = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:460:69: error: expected primary-expression before '*' token int64_t one_state = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:460:70: error: expected primary-expression before '>' token int64_t one_state = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:460:71: error: expected primary-expression before ')' token int64_t one_state = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc: In member function 're2::DFA::State* re2::DFA::CachedState(int*, int, uint32_t)': re2/dfa.cc:740:3: error: 'StateSet' has not been declared StateSet::iterator it = state_cache_.find(&state); ^ re2/dfa.cc:741:7: error: 'it' was not declared in this scope if (it != state_cache_.end()) { ^ re2/dfa.cc:741:13: error: 'state_cache_' was not declared in this scope if (it != state_cache_.end()) { ^ re2/dfa.cc:753:42: error: 'atomic' is not a member of 'std' int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:753:59: error: expected primary-expression before '*' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:753:60: error: expected primary-expression before '>' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:753:61: error: expected primary-expression before ')' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:764:18: error: 'struct re2::DFA::State' has no member named 'next_' (void) new (s->next_) std::atomic[nnext]; ^ re2/dfa.cc:764:30: error: 'atomic' in namespace 'std' does not name a template type (void) new (s->next_) std::atomic[nnext]; ^ re2/dfa.cc:764:42: error: expected primary-expression before '*' token (void) new (s->next_) std::atomic[nnext]; ^ re2/dfa.cc:764:43: error: expected primary-expression before '>' token (void) new (s->next_) std::atomic[nnext]; ^ re2/dfa.cc: In lambda function: re2/dfa.cc:764:51: error: expected '{' before ';' token (void) new (s->next_) std::atomic[nnext]; ^ re2/dfa.cc: In member function 're2::DFA::State* re2::DFA::CachedState(int*, int, uint32_t)': re2/dfa.cc:764:51: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 re2/dfa.cc:768:20: error: 'struct re2::DFA::State' has no member named 'next_' (void) new (s->next_ + i) std::atomic(NULL); ^ re2/dfa.cc:768:36: error: 'atomic' in namespace 'std' does not name a template type (void) new (s->next_ + i) std::atomic(NULL); ^ re2/dfa.cc:768:48: error: expected primary-expression before '*' token (void) new (s->next_ + i) std::atomic(NULL); ^ re2/dfa.cc:768:49: error: expected primary-expression before '>' token (void) new (s->next_ + i) std::atomic(NULL); ^ re2/dfa.cc:769:22: error: 'struct re2::DFA::State' has no member named 'next_' s->inst_ = new (s->next_ + nnext) int[ninst]; ^ re2/dfa.cc:777:3: error: 'state_cache_' was not declared in this scope state_cache_.insert(s); ^ re2/dfa.cc: In member function 'void re2::DFA::ClearCache()': re2/dfa.cc:783:3: error: 'StateSet' has not been declared StateSet::iterator begin = state_cache_.begin(); ^ re2/dfa.cc:784:3: error: 'StateSet' has not been declared StateSet::iterator end = state_cache_.end(); ^ re2/dfa.cc:785:10: error: 'begin' was not declared in this scope while (begin != end) { ^ re2/dfa.cc:785:19: error: 'end' was not declared in this scope while (begin != end) { ^ re2/dfa.cc:786:5: error: 'StateSet' has not been declared StateSet::iterator tmp = begin; ^ re2/dfa.cc:790:19: error: 'tmp' was not declared in this scope int ninst = (*tmp)->ninst_; ^ re2/dfa.cc:792:44: error: 'atomic' is not a member of 'std' int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:792:61: error: expected primary-expression before '*' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:792:62: error: expected primary-expression before '>' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:792:63: error: expected primary-expression before ')' token int mem = sizeof(State) + nnext*sizeof(std::atomic) + ^ re2/dfa.cc:796:3: error: 'state_cache_' was not declared in this scope state_cache_.clear(); ^ re2/dfa.cc: In member function 're2::DFA::State* re2::DFA::RunStateOnByte(re2::DFA::State*, int)': re2/dfa.cc:1026:22: error: 'struct re2::DFA::State' has no member named 'next_' State* ns = state->next_[ByteMap(c)].load(std::memory_order_relaxed); ^ re2/dfa.cc:1026:45: error: 'memory_order_relaxed' is not a member of 'std' State* ns = state->next_[ByteMap(c)].load(std::memory_order_relaxed); ^ re2/dfa.cc:1091:10: error: 'struct re2::DFA::State' has no member named 'next_' state->next_[ByteMap(c)].store(ns, std::memory_order_release); ^ re2/dfa.cc:1091:38: error: 'memory_order_release' is not a member of 'std' state->next_[ByteMap(c)].store(ns, std::memory_order_release); ^ re2/dfa.cc: At global scope: re2/dfa.cc:1116:31: error: expected ')' before '*' token explicit RWLocker(CacheMutex* mu); ^ re2/dfa.cc:1126:3: error: 'CacheMutex' does not name a type CacheMutex* mu_; ^ re2/dfa.cc:1129:31: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 RWLocker(const RWLocker&) = delete; ^ re2/dfa.cc:1130:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 RWLocker& operator=(const RWLocker&) = delete; ^ re2/dfa.cc:1133:24: error: expected constructor, destructor, or type conversion before '(' token DFA::RWLocker::RWLocker(CacheMutex* mu) : mu_(mu), writing_(false) { ^ re2/dfa.cc: In member function 'void re2::DFA::RWLocker::LockForWriting()': re2/dfa.cc:1141:5: error: 'mu_' was not declared in this scope mu_->ReaderUnlock(); ^ re2/dfa.cc: In destructor 're2::DFA::RWLocker::~RWLocker()': re2/dfa.cc:1149:5: error: 'mu_' was not declared in this scope mu_->ReaderUnlock(); ^ re2/dfa.cc:1151:5: error: 'mu_' was not declared in this scope mu_->WriterUnlock(); ^ re2/dfa.cc: In member function 'void re2::DFA::ResetCache(re2::DFA::RWLocker*)': re2/dfa.cc:1170:3: error: 'GetDFAStateCacheResetHook' is not a member of 're2::hooks' hooks::GetDFAStateCacheResetHook()({ ^ re2/dfa.cc:1170:38: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 hooks::GetDFAStateCacheResetHook()({ ^ re2/dfa.cc:1172:7: error: 'state_cache_' was not declared in this scope state_cache_.size(), ^ re2/dfa.cc:1177:15: error: 'struct re2::DFA::StartInfo' has no member named 'start' start_[i].start.store(NULL, std::memory_order_relaxed); ^ re2/dfa.cc:1177:33: error: 'memory_order_relaxed' is not a member of 'std' start_[i].start.store(NULL, std::memory_order_relaxed); ^ re2/dfa.cc: At global scope: re2/dfa.cc:1219:35: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 StateSaver(const StateSaver&) = delete; ^ re2/dfa.cc:1220:46: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 StateSaver& operator=(const StateSaver&) = delete; ^ re2/dfa.cc: In member function 'bool re2::DFA::InlinedSearchLoop(re2::DFA::SearchParams*)': re2/dfa.cc:1405:20: error: 'struct re2::DFA::State' has no member named 'next_' State* ns = s->next_[bytemap[c]].load(std::memory_order_acquire); ^ re2/dfa.cc:1405:43: error: 'memory_order_acquire' is not a member of 'std' State* ns = s->next_[bytemap[c]].load(std::memory_order_acquire); ^ re2/dfa.cc:1419:50: error: 'state_cache_' was not declared in this scope static_cast(p - resetp) < 10*state_cache_.size() && ^ re2/dfa.cc:1502:18: error: 'struct re2::DFA::State' has no member named 'next_' State* ns = s->next_[ByteMap(lastbyte)].load(std::memory_order_acquire); ^ re2/dfa.cc:1502:48: error: 'memory_order_acquire' is not a member of 'std' State* ns = s->next_[ByteMap(lastbyte)].load(std::memory_order_acquire); ^ re2/dfa.cc: In member function 'bool re2::DFA::AnalyzeSearch(re2::DFA::SearchParams*)': re2/dfa.cc:1684:25: error: 'struct re2::DFA::StartInfo' has no member named 'start' params->start = info->start.load(std::memory_order_acquire); ^ re2/dfa.cc:1684:36: error: 'memory_order_acquire' is not a member of 'std' params->start = info->start.load(std::memory_order_acquire); ^ re2/dfa.cc: In member function 'bool re2::DFA::AnalyzeSearchHelper(re2::DFA::SearchParams*, re2::DFA::StartInfo*, uint32_t)': re2/dfa.cc:1708:24: error: 'struct re2::DFA::StartInfo' has no member named 'start' State* start = info->start.load(std::memory_order_acquire); ^ re2/dfa.cc:1708:35: error: 'memory_order_acquire' is not a member of 'std' State* start = info->start.load(std::memory_order_acquire); ^ re2/dfa.cc:1713:17: error: 'struct re2::DFA::StartInfo' has no member named 'start' start = info->start.load(std::memory_order_relaxed); ^ re2/dfa.cc:1713:28: error: 'memory_order_relaxed' is not a member of 'std' start = info->start.load(std::memory_order_relaxed); ^ re2/dfa.cc:1726:9: error: 'struct re2::DFA::StartInfo' has no member named 'start' info->start.store(start, std::memory_order_release); ^ re2/dfa.cc:1726:28: error: 'memory_order_release' is not a member of 'std' info->start.store(start, std::memory_order_release); ^ re2/dfa.cc: In member function 'bool re2::DFA::Search(const re2::StringPiece&, const re2::StringPiece&, bool, bool, bool, bool*, const char**, re2::SparseSet*)': re2/dfa.cc:1752:15: error: 'cache_mutex_' was not declared in this scope RWLocker l(&cache_mutex_); ^ re2/dfa.cc: In member function 're2::DFA* re2::Prog::GetDFA(re2::Prog::MatchKind)': re2/dfa.cc:1792:5: error: 'call_once' is not a member of 'std' std::call_once(dfa_first_once_, [](Prog* prog) { ^ re2/dfa.cc:1792:20: error: 'dfa_first_once_' was not declared in this scope std::call_once(dfa_first_once_, [](Prog* prog) { ^ re2/dfa.cc:1794:5: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 }, this); ^ re2/dfa.cc:1797:5: error: 'call_once' is not a member of 'std' std::call_once(dfa_first_once_, [](Prog* prog) { ^ re2/dfa.cc:1797:20: error: 'dfa_first_once_' was not declared in this scope std::call_once(dfa_first_once_, [](Prog* prog) { ^ re2/dfa.cc:1799:5: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 }, this); ^ re2/dfa.cc:1802:5: error: 'call_once' is not a member of 'std' std::call_once(dfa_longest_once_, [](Prog* prog) { ^ re2/dfa.cc:1802:20: error: 'dfa_longest_once_' was not declared in this scope std::call_once(dfa_longest_once_, [](Prog* prog) { ^ re2/dfa.cc:1807:5: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 }, this); ^ re2/dfa.cc: In member function 'bool re2::Prog::SearchDFA(const re2::StringPiece&, const re2::StringPiece&, re2::Prog::Anchor, re2::Prog::MatchKind, re2::StringPiece*, bool*, re2::SparseSet*)': re2/dfa.cc:1876:5: error: 'GetDFASearchFailureHook' is not a member of 're2::hooks' hooks::GetDFASearchFailureHook()({ ^ re2/dfa.cc:1876:38: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 hooks::GetDFASearchFailureHook()({ ^ re2/dfa.cc: At global scope: re2/dfa.cc:1901:37: error: 'DFAStateCallback' in 'class re2::Prog' does not name a type int DFA::BuildAllStates(const Prog::DFAStateCallback& cb) { ^ re2/dfa.cc: In member function 'int re2::DFA::BuildAllStates(const int&)': re2/dfa.cc:1907:15: error: 'cache_mutex_' was not declared in this scope RWLocker l(&cache_mutex_); ^ re2/dfa.cc:1918:3: error: 'unordered_map' is not a member of 'std' std::unordered_map m; ^ re2/dfa.cc:1918:27: error: expected primary-expression before '*' token std::unordered_map m; ^ re2/dfa.cc:1918:28: error: expected primary-expression before ',' token std::unordered_map m; ^ re2/dfa.cc:1918:30: error: expected primary-expression before 'int' std::unordered_map m; ^ re2/dfa.cc:1920:3: error: 'm' was not declared in this scope m.emplace(params.start, static_cast(m.size())); ^ re2/dfa.cc:1942:18: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (int c : input) { ^ re2/dfa.cc:1960:45: error: expression cannot be used as a function s == FullMatchState || s->IsMatch()); ^ re2/dfa.cc: At global scope: re2/dfa.cc:1969:48: error: 'DFAStateCallback' does not name a type int Prog::BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb) { ^ re2/dfa.cc: In member function 'bool re2::DFA::PossibleMatchRange(std::__cxx11::string*, std::__cxx11::string*, int)': re2/dfa.cc:1992:3: error: 'unordered_map' is not a member of 'std' std::unordered_map previously_visited_states; ^ re2/dfa.cc:1992:27: error: expected primary-expression before '*' token std::unordered_map previously_visited_states; ^ re2/dfa.cc:1992:28: error: expected primary-expression before ',' token std::unordered_map previously_visited_states; ^ re2/dfa.cc:1992:30: error: expected primary-expression before 'int' std::unordered_map previously_visited_states; ^ re2/dfa.cc:1995:15: error: 'cache_mutex_' was not declared in this scope RWLocker l(&cache_mutex_); ^ re2/dfa.cc:2038:9: error: 'previously_visited_states' was not declared in this scope if (previously_visited_states[s] > kMaxEltRepetitions) ^ re2/dfa.cc:2040:5: error: 'previously_visited_states' was not declared in this scope previously_visited_states[s]++; ^ re2/dfa.cc:2068:3: error: 'previously_visited_states' was not declared in this scope previously_visited_states.clear(); ^ Makefile:182: recipe for target 'obj/re2/dfa.o' failed make[1]: *** [obj/re2/dfa.o] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/re2-2022-02-01' package/pkg-generic.mk:289: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/re2-2022-02-01/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/re2-2022-02-01/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'