./re2/re2.h:1002:40: error: 'cb' was not declared in this scope void Set##type##Hook(type##Callback* cb); \ ^ ./re2/re2.h:1005:1: note: in expansion of macro 'DECLARE_HOOK' DECLARE_HOOK(DFAStateCacheReset) ^ ./re2/re2.h:1005:14: error: 'DFAStateCacheResetCallback' does not name a type DECLARE_HOOK(DFAStateCacheReset) ^ ./re2/re2.h:1003:3: note: in definition of macro 'DECLARE_HOOK' type##Callback* Get##type##Hook(); ^ ./re2/re2.h:1006:14: error: expected nested-name-specifier before 'DFASearchFailureCallback' DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1001:9: note: in definition of macro 'DECLARE_HOOK' using type##Callback = void(const type&); \ ^ ./re2/re2.h:1006:14: error: 'DFASearchFailureCallback' has not been declared DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1001:9: note: in definition of macro 'DECLARE_HOOK' using type##Callback = void(const type&); \ ^ ./re2/re2.h:1001:24: error: expected ';' before '=' token using type##Callback = void(const type&); \ ^ ./re2/re2.h:1006:1: note: in expansion of macro 'DECLARE_HOOK' DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1001:24: error: expected unqualified-id before '=' token using type##Callback = void(const type&); \ ^ ./re2/re2.h:1006:1: note: in expansion of macro 'DECLARE_HOOK' DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1006:14: error: variable or field 'SetDFASearchFailureHook' declared void DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1002:24: note: in definition of macro 'DECLARE_HOOK' void Set##type##Hook(type##Callback* cb); \ ^ ./re2/re2.h:1006:14: error: 'DFASearchFailureCallback' was not declared in this scope DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1002:24: note: in definition of macro 'DECLARE_HOOK' void Set##type##Hook(type##Callback* cb); \ ^ ./re2/re2.h:1002:40: error: 'cb' was not declared in this scope void Set##type##Hook(type##Callback* cb); \ ^ ./re2/re2.h:1006:1: note: in expansion of macro 'DECLARE_HOOK' DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1006:14: error: 'DFASearchFailureCallback' does not name a type DECLARE_HOOK(DFASearchFailure) ^ ./re2/re2.h:1003:3: note: in definition of macro 'DECLARE_HOOK' type##Callback* Get##type##Hook(); ^ In file included from ./re2/prog.h:23:0, from re2/dfa.cc:44: ./re2/sparse_array.h:123:26: error: expected ',' or '...' before '&&' token SparseArray(SparseArray&& src); ^ ./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 [enabled by default] int size_ = 0; ^ ./re2/sparse_array.h:266:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] 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 [enabled by default] int size_ = 0; ^ ./re2/sparse_set.h:191:35: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] 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 [enabled by default] Inst() = default; ^ ./re2/prog.h:68:25: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] Inst(const Inst&) = default; ^ ./re2/prog.h:69:36: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] 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:304:9: error: using-declaration for non-member at class scope ./re2/prog.h:304:26: error: expected ';' before '=' token using DFAStateCallback = std::function; ^ ./re2/prog.h:304:26: error: expected unqualified-id before '=' token ./re2/prog.h:312:44: error: 'DFAStateCallback' does not name a type int BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb); ^ ./re2/prog.h:312:62: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] 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:3: error: 'once_flag' in namespace 'std' does not name a type std::once_flag dfa_first_once_; ^ ./re2/prog.h:449:3: 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 [enabled by default] Prog(const Prog&) = delete; ^ ./re2/prog.h:452:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] Prog& operator=(const Prog&) = delete; ^ re2/dfa.cc:99:28: error: 'DFAStateCallback' in 'class re2::Prog' does not name a type int BuildAllStates(const Prog::DFAStateCallback& cb); ^ re2/dfa.cc:99:52: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] int BuildAllStates(const Prog::DFAStateCallback& cb); ^ re2/dfa.cc:171:11: error: 'unordered_set' in namespace 'std' does not name a type typedef std::unordered_set StateSet; ^ re2/dfa.cc:175:9: error: expected nested-name-specifier before 'CacheMutex' using CacheMutex = Mutex; ^ re2/dfa.cc:175:9: error: using-declaration for non-member at class scope re2/dfa.cc:175:20: error: expected ';' before '=' token using CacheMutex = Mutex; ^ re2/dfa.cc:175:20: error: expected unqualified-id before '=' token re2/dfa.cc:268:41: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] SearchParams(const SearchParams&) = delete; ^ re2/dfa.cc:269:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] SearchParams& operator=(const SearchParams&) = delete; ^ 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 [enabled by default] DFA(const DFA&) = delete; ^ re2/dfa.cc:348:32: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] DFA& operator=(const DFA&) = delete; ^ re2/dfa.cc: In constructor 're2::DFA::StartInfo::StartInfo()': re2/dfa.cc:275:29: error: no matching function for call to 'std::atomic::atomic(NULL)' StartInfo() : start(NULL) {} ^ re2/dfa.cc:275:29: note: candidate is: In file included from re2/dfa.cc:29:0: /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/atomic:296:7: note: std::atomic<_Tp*>::atomic() [with _Tp = re2::DFA::State] atomic() noexcept = default; ^ /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/atomic:296:7: note: candidate expects 0 arguments, 1 provided 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 [enabled by default] Workq(const Workq&) = delete; ^ re2/dfa.cc:420:36: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] Workq& operator=(const Workq&) = delete; ^ 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:740:22: error: expected ';' before 'it' 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:768:55: error: no matching function for call to 'std::atomic::atomic(NULL)' (void) new (s->next_ + i) std::atomic(NULL); ^ re2/dfa.cc:768:55: note: candidate is: In file included from re2/dfa.cc:29:0: /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/atomic:296:7: note: std::atomic<_Tp*>::atomic() [with _Tp = re2::DFA::State] atomic() noexcept = default; ^ /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/atomic:296:7: note: candidate expects 0 arguments, 1 provided 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:783:22: error: expected ';' before 'begin' 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:784:22: error: expected ';' before 'end' 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:786:24: error: expected ';' before 'tmp' StateSet::iterator tmp = begin; ^ re2/dfa.cc:790:19: error: 'tmp' was not declared in this scope int ninst = (*tmp)->ninst_; ^ re2/dfa.cc:796:3: error: 'state_cache_' was not declared in this scope state_cache_.clear(); ^ 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 [enabled by default] RWLocker(const RWLocker&) = delete; ^ re2/dfa.cc:1130:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] 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:37: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] hooks::GetDFAStateCacheResetHook()({ ^ re2/dfa.cc:1172:7: error: 'state_cache_' was not declared in this scope state_cache_.size(), ^ 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 [enabled by default] StateSaver(const StateSaver&) = delete; ^ re2/dfa.cc:1220:46: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default] StateSaver& operator=(const StateSaver&) = delete; ^ re2/dfa.cc: In member function 'bool re2::DFA::InlinedSearchLoop(re2::DFA::SearchParams*)': 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: 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 [enabled by default] }, 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 [enabled by default] }, 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 [enabled by default] }, 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:37: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default] hooks::GetDFASearchFailureHook()({ ^ re2/dfa.cc: At global scope: re2/dfa.cc:1901:31: error: 'DFAStateCallback' in 'class re2::Prog' does not name a type int DFA::BuildAllStates(const Prog::DFAStateCallback& cb) { ^ re2/dfa.cc:1901:55: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] 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:1918:30: error: expected ';' before 'int' 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: error: range-based 'for' loops are not allowed in C++98 mode 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:1969:66: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] int Prog::BuildEntireDFA(MatchKind kind, const DFAStateCallback& cb) { ^ re2/dfa.cc: In member function 'bool re2::DFA::PossibleMatchRange(std::string*, std::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:1992:30: error: expected ';' before 'int' 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(); ^ In file included from re2/dfa.cc:43:0: ./re2/pod_array.h: In member function 'T* re2::PODArray::data() const [with T = int]': ./re2/pod_array.h:26:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./re2/pod_array.h: In member function 'T& re2::PODArray::operator[](int) const [with T = re2::Prog::Inst]': ./re2/pod_array.h:34:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./re2/pod_array.h: In member function 'T& re2::PODArray::operator[](int) const [with T = int]': ./re2/pod_array.h:34:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ ./re2/pod_array.h: In member function 'int re2::PODArray::size() const [with T = int]': ./re2/pod_array.h:30:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ re2/dfa.cc: In member function 'int re2::DFA::BuildAllStates(const int&)': re2/dfa.cc:1966:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [Makefile:183: obj/re2/dfa.o] Error 1 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/re2-2022-02-01' make: *** [package/pkg-generic.mk:292: /home/peko/autobuild/instance-0/output-1/build/re2-2022-02-01/.stamp_built] Error 2 make: Leaving directory '/home/peko/autobuild/instance-0/buildroot'