Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from server/runtime/regexp.cpp:29:0:
- /usr/local/include/re2/re2.h:365:66: error: expected ‘,’ or ‘...’ before ‘&&’ token
- static bool FullMatch(const StringPiece& text, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:365:73: error: parameter packs not expanded with ‘...’:
- static bool FullMatch(const StringPiece& text, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:365:73: note: ‘A’
- /usr/local/include/re2/re2.h:370:69: error: expected ‘,’ or ‘...’ before ‘&&’ token
- static bool PartialMatch(const StringPiece& text, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:370:76: error: parameter packs not expanded with ‘...’:
- static bool PartialMatch(const StringPiece& text, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:370:76: note: ‘A’
- /usr/local/include/re2/re2.h:375:59: error: expected ‘,’ or ‘...’ before ‘&&’ token
- static bool Consume(StringPiece* input, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:375:66: error: parameter packs not expanded with ‘...’:
- static bool Consume(StringPiece* input, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:375:66: note: ‘A’
- /usr/local/include/re2/re2.h:380:66: error: expected ‘,’ or ‘...’ before ‘&&’ token
- static bool FindAndConsume(StringPiece* input, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:380:73: error: parameter packs not expanded with ‘...’:
- static bool FindAndConsume(StringPiece* input, const RE2& re, A&&... a) {
- ^
- /usr/local/include/re2/re2.h:380:73: note: ‘A’
- /usr/local/include/re2/re2.h:747:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
- mutable std::once_flag rprog_once_;
- ^
- /usr/local/include/re2/re2.h:748:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
- mutable std::once_flag num_captures_once_;
- ^
- /usr/local/include/re2/re2.h:749:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
- mutable std::once_flag named_groups_once_;
- ^
- /usr/local/include/re2/re2.h:750:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
- mutable std::once_flag group_names_once_;
- ^
- /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::FullMatch(const re2::StringPiece&, const re2::RE2&, <type error>)’:
- /usr/local/include/re2/re2.h:366:44: error: ‘forward’ is not a member of ‘std’
- return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:366:60: error: ‘a’ was not declared in this scope
- return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:366:43: error: expected primary-expression before ‘(’ token
- return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:366:44: error: ‘forward’ is not a member of ‘std’
- return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:366:58: error: expected primary-expression before ‘>’ token
- return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::PartialMatch(const re2::StringPiece&, const re2::RE2&, <type error>)’:
- /usr/local/include/re2/re2.h:371:47: error: ‘forward’ is not a member of ‘std’
- return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:371:63: error: ‘a’ was not declared in this scope
- return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:371:46: error: expected primary-expression before ‘(’ token
- return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:371:47: error: ‘forward’ is not a member of ‘std’
- return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:371:61: error: expected primary-expression before ‘>’ token
- return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::Consume(re2::StringPiece*, const re2::RE2&, <type error>)’:
- /usr/local/include/re2/re2.h:376:43: error: ‘forward’ is not a member of ‘std’
- return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:376:59: error: ‘a’ was not declared in this scope
- return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:376:42: error: expected primary-expression before ‘(’ token
- return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:376:43: error: ‘forward’ is not a member of ‘std’
- return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:376:57: error: expected primary-expression before ‘>’ token
- return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::FindAndConsume(re2::StringPiece*, const re2::RE2&, <type error>)’:
- /usr/local/include/re2/re2.h:381:50: error: ‘forward’ is not a member of ‘std’
- return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:381:66: error: ‘a’ was not declared in this scope
- return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:381:49: error: expected primary-expression before ‘(’ token
- return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:381:50: error: ‘forward’ is not a member of ‘std’
- return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h:381:64: error: expected primary-expression before ‘>’ token
- return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
- ^
- /usr/local/include/re2/re2.h: At global scope:
- /usr/local/include/re2/re2.h:919:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
- mutable std::once_flag once_;
- ^
- /usr/local/include/re2/re2.h: In member function ‘re2::RE2* re2::LazyRE2::get() const’:
- /usr/local/include/re2/re2.h:909:5: error: ‘call_once’ is not a member of ‘std’
- std::call_once(once_, [this]() { LazyRE2::Init(this); });
- ^
- /usr/local/include/re2/re2.h:909:20: error: ‘once_’ was not declared in this scope
- std::call_once(once_, [this]() { LazyRE2::Init(this); });
- ^
- Makefile:280: recipe for target 'objs/server/runtime/regexp.o' failed
- make: *** [objs/server/runtime/regexp.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement