Advertisement
Guest User

Untitled

a guest
Aug 12th, 2016
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.67 KB | None | 0 0
  1. /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.
  2. #error This file requires compiler and library support \
  3. ^
  4. In file included from server/runtime/regexp.cpp:29:0:
  5. /usr/local/include/re2/re2.h:365:66: error: expected ‘,’ or ‘...’ before ‘&&’ token
  6. static bool FullMatch(const StringPiece& text, const RE2& re, A&&... a) {
  7. ^
  8. /usr/local/include/re2/re2.h:365:73: error: parameter packs not expanded with ‘...’:
  9. static bool FullMatch(const StringPiece& text, const RE2& re, A&&... a) {
  10. ^
  11. /usr/local/include/re2/re2.h:365:73: note: ‘A’
  12. /usr/local/include/re2/re2.h:370:69: error: expected ‘,’ or ‘...’ before ‘&&’ token
  13. static bool PartialMatch(const StringPiece& text, const RE2& re, A&&... a) {
  14. ^
  15. /usr/local/include/re2/re2.h:370:76: error: parameter packs not expanded with ‘...’:
  16. static bool PartialMatch(const StringPiece& text, const RE2& re, A&&... a) {
  17. ^
  18. /usr/local/include/re2/re2.h:370:76: note: ‘A’
  19. /usr/local/include/re2/re2.h:375:59: error: expected ‘,’ or ‘...’ before ‘&&’ token
  20. static bool Consume(StringPiece* input, const RE2& re, A&&... a) {
  21. ^
  22. /usr/local/include/re2/re2.h:375:66: error: parameter packs not expanded with ‘...’:
  23. static bool Consume(StringPiece* input, const RE2& re, A&&... a) {
  24. ^
  25. /usr/local/include/re2/re2.h:375:66: note: ‘A’
  26. /usr/local/include/re2/re2.h:380:66: error: expected ‘,’ or ‘...’ before ‘&&’ token
  27. static bool FindAndConsume(StringPiece* input, const RE2& re, A&&... a) {
  28. ^
  29. /usr/local/include/re2/re2.h:380:73: error: parameter packs not expanded with ‘...’:
  30. static bool FindAndConsume(StringPiece* input, const RE2& re, A&&... a) {
  31. ^
  32. /usr/local/include/re2/re2.h:380:73: note: ‘A’
  33. /usr/local/include/re2/re2.h:747:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
  34. mutable std::once_flag rprog_once_;
  35. ^
  36. /usr/local/include/re2/re2.h:748:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
  37. mutable std::once_flag num_captures_once_;
  38. ^
  39. /usr/local/include/re2/re2.h:749:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
  40. mutable std::once_flag named_groups_once_;
  41. ^
  42. /usr/local/include/re2/re2.h:750:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
  43. mutable std::once_flag group_names_once_;
  44. ^
  45. /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::FullMatch(const re2::StringPiece&, const re2::RE2&, <type error>)’:
  46. /usr/local/include/re2/re2.h:366:44: error: ‘forward’ is not a member of ‘std’
  47. return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
  48. ^
  49. /usr/local/include/re2/re2.h:366:60: error: ‘a’ was not declared in this scope
  50. return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
  51. ^
  52. /usr/local/include/re2/re2.h:366:43: error: expected primary-expression before ‘(’ token
  53. return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
  54. ^
  55. /usr/local/include/re2/re2.h:366:44: error: ‘forward’ is not a member of ‘std’
  56. return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
  57. ^
  58. /usr/local/include/re2/re2.h:366:58: error: expected primary-expression before ‘>’ token
  59. return Apply(FullMatchN, text, re, Arg(std::forward<A>(a))...);
  60. ^
  61. /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::PartialMatch(const re2::StringPiece&, const re2::RE2&, <type error>)’:
  62. /usr/local/include/re2/re2.h:371:47: error: ‘forward’ is not a member of ‘std’
  63. return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
  64. ^
  65. /usr/local/include/re2/re2.h:371:63: error: ‘a’ was not declared in this scope
  66. return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
  67. ^
  68. /usr/local/include/re2/re2.h:371:46: error: expected primary-expression before ‘(’ token
  69. return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
  70. ^
  71. /usr/local/include/re2/re2.h:371:47: error: ‘forward’ is not a member of ‘std’
  72. return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
  73. ^
  74. /usr/local/include/re2/re2.h:371:61: error: expected primary-expression before ‘>’ token
  75. return Apply(PartialMatchN, text, re, Arg(std::forward<A>(a))...);
  76. ^
  77. /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::Consume(re2::StringPiece*, const re2::RE2&, <type error>)’:
  78. /usr/local/include/re2/re2.h:376:43: error: ‘forward’ is not a member of ‘std’
  79. return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
  80. ^
  81. /usr/local/include/re2/re2.h:376:59: error: ‘a’ was not declared in this scope
  82. return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
  83. ^
  84. /usr/local/include/re2/re2.h:376:42: error: expected primary-expression before ‘(’ token
  85. return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
  86. ^
  87. /usr/local/include/re2/re2.h:376:43: error: ‘forward’ is not a member of ‘std’
  88. return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
  89. ^
  90. /usr/local/include/re2/re2.h:376:57: error: expected primary-expression before ‘>’ token
  91. return Apply(ConsumeN, input, re, Arg(std::forward<A>(a))...);
  92. ^
  93. /usr/local/include/re2/re2.h: In static member function ‘static bool re2::RE2::FindAndConsume(re2::StringPiece*, const re2::RE2&, <type error>)’:
  94. /usr/local/include/re2/re2.h:381:50: error: ‘forward’ is not a member of ‘std’
  95. return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
  96. ^
  97. /usr/local/include/re2/re2.h:381:66: error: ‘a’ was not declared in this scope
  98. return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
  99. ^
  100. /usr/local/include/re2/re2.h:381:49: error: expected primary-expression before ‘(’ token
  101. return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
  102. ^
  103. /usr/local/include/re2/re2.h:381:50: error: ‘forward’ is not a member of ‘std’
  104. return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
  105. ^
  106. /usr/local/include/re2/re2.h:381:64: error: expected primary-expression before ‘>’ token
  107. return Apply(FindAndConsumeN, input, re, Arg(std::forward<A>(a))...);
  108. ^
  109. /usr/local/include/re2/re2.h: At global scope:
  110. /usr/local/include/re2/re2.h:919:16: error: ‘once_flag’ in namespace ‘std’ does not name a type
  111. mutable std::once_flag once_;
  112. ^
  113. /usr/local/include/re2/re2.h: In member function ‘re2::RE2* re2::LazyRE2::get() const’:
  114. /usr/local/include/re2/re2.h:909:5: error: ‘call_once’ is not a member of ‘std’
  115. std::call_once(once_, [this]() { LazyRE2::Init(this); });
  116. ^
  117. /usr/local/include/re2/re2.h:909:20: error: ‘once_’ was not declared in this scope
  118. std::call_once(once_, [this]() { LazyRE2::Init(this); });
  119. ^
  120. Makefile:280: recipe for target 'objs/server/runtime/regexp.o' failed
  121. make: *** [objs/server/runtime/regexp.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement