Advertisement
Guest User

Untitled

a guest
May 9th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.31 KB | None | 0 0
  1. root@stacked-crooked ~/wide # make
  2. ./make.sh
  3. + COMMAND='g++-4.8 -std=c++11 -Wall -Wextra -O2 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__debugbreak=__builtin_trap -c -Wno-unused-parameter -Wno-unknown-pragmas -Wno-reorder '
  4. + INCLUDES='-IClangExperiments -IClangExperiments/Stages -I/root/stacked-crooked/LLVM/Clang/build/include/llvm -I/root/stacked-crooked/LLVM/Clang/llvm/tools/clang/lib -I/usr/local/include/clang -o '
  5. ++ find . -name '*\.cpp'
  6. + for cpp_file in '$(find . -name "*\.cpp")'
  7. + obj_file=./ClangExperiments/Stages/Semantic/FunctionType.cpp.o
  8. + '[' '!' -f ./ClangExperiments/Stages/Semantic/FunctionType.cpp.o ']'
  9. + for cpp_file in '$(find . -name "*\.cpp")'
  10. + obj_file=./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o
  11. + '[' '!' -f ./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o ']'
  12. + for cpp_file in '$(find . -name "*\.cpp")'
  13. + obj_file=./ClangExperiments/Stages/Semantic/Analyzer.cpp.o
  14. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Analyzer.cpp.o ']'
  15. + for cpp_file in '$(find . -name "*\.cpp")'
  16. + obj_file=./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o
  17. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o ']'
  18. + for cpp_file in '$(find . -name "*\.cpp")'
  19. + obj_file=./ClangExperiments/Stages/Semantic/ClangType.cpp.o
  20. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangType.cpp.o ']'
  21. + for cpp_file in '$(find . -name "*\.cpp")'
  22. + obj_file=./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o
  23. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o ']'
  24. + for cpp_file in '$(find . -name "*\.cpp")'
  25. + obj_file=./ClangExperiments/Stages/Semantic/LvalueType.cpp.o
  26. + '[' '!' -f ./ClangExperiments/Stages/Semantic/LvalueType.cpp.o ']'
  27. + for cpp_file in '$(find . -name "*\.cpp")'
  28. + obj_file=./ClangExperiments/Stages/Semantic/Util.cpp.o
  29. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Util.cpp.o ']'
  30. + for cpp_file in '$(find . -name "*\.cpp")'
  31. + obj_file=./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o
  32. + '[' '!' -f ./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o ']'
  33. + for cpp_file in '$(find . -name "*\.cpp")'
  34. + obj_file=./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o
  35. + '[' '!' -f ./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o ']'
  36. + for cpp_file in '$(find . -name "*\.cpp")'
  37. + obj_file=./ClangExperiments/Stages/Semantic/Type.cpp.o
  38. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Type.cpp.o ']'
  39. + for cpp_file in '$(find . -name "*\.cpp")'
  40. + obj_file=./ClangExperiments/Stages/Semantic/IntegralType.cpp.o
  41. + '[' '!' -f ./ClangExperiments/Stages/Semantic/IntegralType.cpp.o ']'
  42. + for cpp_file in '$(find . -name "*\.cpp")'
  43. + obj_file=./ClangExperiments/Stages/Semantic/RvalueType.cpp.o
  44. + '[' '!' -f ./ClangExperiments/Stages/Semantic/RvalueType.cpp.o ']'
  45. + for cpp_file in '$(find . -name "*\.cpp")'
  46. + obj_file=./ClangExperiments/Stages/Semantic/Function.cpp.o
  47. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Function.cpp.o ']'
  48. + for cpp_file in '$(find . -name "*\.cpp")'
  49. + obj_file=./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o
  50. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o ']'
  51. + for cpp_file in '$(find . -name "*\.cpp")'
  52. + obj_file=./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o
  53. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o ']'
  54. + for cpp_file in '$(find . -name "*\.cpp")'
  55. + obj_file=./ClangExperiments/Stages/Semantic/StringType.cpp.o
  56. + '[' '!' -f ./ClangExperiments/Stages/Semantic/StringType.cpp.o ']'
  57. + for cpp_file in '$(find . -name "*\.cpp")'
  58. + obj_file=./ClangExperiments/Stages/Semantic/Void.cpp.o
  59. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Void.cpp.o ']'
  60. + for cpp_file in '$(find . -name "*\.cpp")'
  61. + obj_file=./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o
  62. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o ']'
  63. + for cpp_file in '$(find . -name "*\.cpp")'
  64. + obj_file=./ClangExperiments/Stages/Semantic/Module.cpp.o
  65. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Module.cpp.o ']'
  66. + for cpp_file in '$(find . -name "*\.cpp")'
  67. + obj_file=./ClangExperiments/Stages/Semantic/ClangTU.cpp.o
  68. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTU.cpp.o ']'
  69. + for cpp_file in '$(find . -name "*\.cpp")'
  70. + obj_file=./ClangExperiments/Stages/Semantic/Bool.cpp.o
  71. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Bool.cpp.o ']'
  72. + for cpp_file in '$(find . -name "*\.cpp")'
  73. + obj_file=./ClangExperiments/Stages/Parser/Builder.cpp.o
  74. + '[' '!' -f ./ClangExperiments/Stages/Parser/Builder.cpp.o ']'
  75. + for cpp_file in '$(find . -name "*\.cpp")'
  76. + obj_file=./ClangExperiments/Stages/Codegen/Generator.cpp.o
  77. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Generator.cpp.o ']'
  78. + for cpp_file in '$(find . -name "*\.cpp")'
  79. + obj_file=./ClangExperiments/Stages/Codegen/Statement.cpp.o
  80. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Statement.cpp.o ']'
  81. + for cpp_file in '$(find . -name "*\.cpp")'
  82. + obj_file=./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o
  83. + '[' '!' -f ./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o ']'
  84. + for cpp_file in '$(find . -name "*\.cpp")'
  85. + obj_file=./ClangExperiments/Stages/Codegen/Expression.cpp.o
  86. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Expression.cpp.o ']'
  87. + for cpp_file in '$(find . -name "*\.cpp")'
  88. + obj_file=./ClangExperiments/Stages/Wide.cpp.o
  89. + '[' '!' -f ./ClangExperiments/Stages/Wide.cpp.o ']'
  90. + g++-4.8 -std=c++11 -Wall -Wextra -O2 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__debugbreak=__builtin_trap -c -Wno-unused-parameter -Wno-unknown-pragmas -Wno-reorder ./ClangExperiments/Stages/Wide.cpp -IClangExperiments -IClangExperiments/Stages -I/root/stacked-crooked/LLVM/Clang/build/include/llvm -I/root/stacked-crooked/LLVM/Clang/llvm/tools/clang/lib -I/usr/local/include/clang -o ./ClangExperiments/Stages/Wide.cpp.o
  91. In file included from ./ClangExperiments/Stages/Wide.cpp:6:0:
  92. ./ClangExperiments/Stages/../Util/ParallelForEach.h:9:6: warning: extra tokens at end of #else directive [enabled by default]
  93. #else*/
  94. ^
  95. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  96. from /usr/include/c++/4.8/unordered_map:47,
  97. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  98. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  99. from ./ClangExperiments/Stages/Wide.cpp:2:
  100. /usr/include/c++/4.8/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::_Hash_code_base<Wide::Lexer::TokenType, Wide::Lexer::TokenType, std::__detail::_Identity, std::hash<Wide::Lexer::TokenType>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>':
  101. /usr/include/c++/4.8/bits/hashtable_policy.h:1402:10: required from 'struct std::__detail::_Hashtable_base<Wide::Lexer::TokenType, Wide::Lexer::TokenType, std::__detail::_Identity, std::equal_to<Wide::Lexer::TokenType>, std::hash<Wide::Lexer::TokenType>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits<true, true, true> >'
  102. /usr/include/c++/4.8/bits/hashtable.h:174:11: required from 'class std::_Hashtable<Wide::Lexer::TokenType, Wide::Lexer::TokenType, std::allocator<Wide::Lexer::TokenType>, std::__detail::_Identity, std::equal_to<Wide::Lexer::TokenType>, std::hash<Wide::Lexer::TokenType>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >'
  103. /usr/include/c++/4.8/bits/unordered_set.h:96:18: required from 'class std::unordered_set<Wide::Lexer::TokenType>'
  104. ./ClangExperiments/Stages/Parser/parser.h:579:100: required from here
  105. /usr/include/c++/4.8/bits/hashtable_policy.h:1070:12: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
  106. struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
  107. ^
  108. In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
  109. from /usr/include/c++/4.8/string:52,
  110. from /usr/include/c++/4.8/stdexcept:39,
  111. from /usr/include/c++/4.8/array:38,
  112. from /usr/include/c++/4.8/tuple:39,
  113. from /usr/include/c++/4.8/functional:55,
  114. from ./ClangExperiments/Stages/ClangOptions.h:5,
  115. from ./ClangExperiments/Stages/Wide.h:1,
  116. from ./ClangExperiments/Stages/Wide.cpp:1:
  117. /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
  118. struct hash;
  119. ^
  120. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  121. from /usr/include/c++/4.8/unordered_map:47,
  122. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  123. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  124. from ./ClangExperiments/Stages/Wide.cpp:2:
  125. /usr/include/c++/4.8/bits/hashtable_policy.h:1070:12: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
  126. struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
  127. ^
  128. In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
  129. from /usr/include/c++/4.8/string:52,
  130. from /usr/include/c++/4.8/stdexcept:39,
  131. from /usr/include/c++/4.8/array:38,
  132. from /usr/include/c++/4.8/tuple:39,
  133. from /usr/include/c++/4.8/functional:55,
  134. from ./ClangExperiments/Stages/ClangOptions.h:5,
  135. from ./ClangExperiments/Stages/Wide.h:1,
  136. from ./ClangExperiments/Stages/Wide.cpp:1:
  137. /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
  138. struct hash;
  139. ^
  140. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  141. from /usr/include/c++/4.8/unordered_map:47,
  142. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  143. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  144. from ./ClangExperiments/Stages/Wide.cpp:2:
  145. /usr/include/c++/4.8/bits/hashtable_policy.h:1082:53: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
  146. using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
  147. ^
  148. In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
  149. from /usr/include/c++/4.8/string:52,
  150. from /usr/include/c++/4.8/stdexcept:39,
  151. from /usr/include/c++/4.8/array:38,
  152. from /usr/include/c++/4.8/tuple:39,
  153. from /usr/include/c++/4.8/functional:55,
  154. from ./ClangExperiments/Stages/ClangOptions.h:5,
  155. from ./ClangExperiments/Stages/Wide.h:1,
  156. from ./ClangExperiments/Stages/Wide.cpp:1:
  157. /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
  158. struct hash;
  159. ^
  160. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  161. from /usr/include/c++/4.8/unordered_map:47,
  162. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  163. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  164. from ./ClangExperiments/Stages/Wide.cpp:2:
  165. /usr/include/c++/4.8/bits/hashtable_policy.h:1082:53: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
  166. using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
  167. ^
  168. In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
  169. from /usr/include/c++/4.8/string:52,
  170. from /usr/include/c++/4.8/stdexcept:39,
  171. from /usr/include/c++/4.8/array:38,
  172. from /usr/include/c++/4.8/tuple:39,
  173. from /usr/include/c++/4.8/functional:55,
  174. from ./ClangExperiments/Stages/ClangOptions.h:5,
  175. from ./ClangExperiments/Stages/Wide.h:1,
  176. from ./ClangExperiments/Stages/Wide.cpp:1:
  177. /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
  178. struct hash;
  179. ^
  180. In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
  181. ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'void Wide::Parser::ParseUsingDefinition(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]':
  182. ./ClangExperiments/Stages/Parser/parser.h:633:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  183. ./ClangExperiments/Stages/Parser/parser.h:665:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
  184. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  185. ./ClangExperiments/Stages/Parser/parser.h:531:18: warning: unused variable 'def' [-Wunused-variable]
  186. auto def = sema.CreateUsingDefinition(std::move(val), ParseExpression(lex, sema), m);
  187. ^
  188. ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'void Wide::Parser::ParseModuleDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]':
  189. ./ClangExperiments/Stages/Parser/parser.h:637:74: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  190. ./ClangExperiments/Stages/Parser/parser.h:665:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
  191. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  192. ./ClangExperiments/Stages/Parser/parser.h:548:47: error: 'ParseModuleContents' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  193. ParseModuleContents(lex, sema, mod);
  194. ^
  195. ./ClangExperiments/Stages/Parser/parser.h:662:69: note: 'template<class Lex, class Sema, class Module> void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&)' declared here, later in the translation unit
  196. template<typename Lex, typename Sema, typename Module> void ParseModuleContents(Lex&& lex, Sema&& sema, Module&& m) {
  197. ^
  198. ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'Wide::Parser::ParseTypeDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]::__lambda4':
  199. ./ClangExperiments/Stages/Parser/parser.h:579:88: required from 'struct Wide::Parser::ParseTypeDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]::__lambda4'
  200. ./ClangExperiments/Stages/Parser/parser.h:596:23: required from 'void Wide::Parser::ParseTypeDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  201. ./ClangExperiments/Stages/Parser/parser.h:641:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  202. ./ClangExperiments/Stages/Parser/parser.h:665:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
  203. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  204. ./ClangExperiments/Stages/Parser/parser.h:595:105: error: invalid use of incomplete type 'std::unordered_set<Wide::Lexer::TokenType>::hasher {aka struct std::hash<Wide::Lexer::TokenType>}'
  205. return std::unordered_set<Lexer::TokenType>(std::begin(tokens), std::end(tokens));
  206. ^
  207. In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
  208. from /usr/include/c++/4.8/string:52,
  209. from /usr/include/c++/4.8/stdexcept:39,
  210. from /usr/include/c++/4.8/array:38,
  211. from /usr/include/c++/4.8/tuple:39,
  212. from /usr/include/c++/4.8/functional:55,
  213. from ./ClangExperiments/Stages/ClangOptions.h:5,
  214. from ./ClangExperiments/Stages/Wide.h:1,
  215. from ./ClangExperiments/Stages/Wide.cpp:1:
  216. /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'std::unordered_set<Wide::Lexer::TokenType>::hasher {aka struct std::hash<Wide::Lexer::TokenType>}'
  217. struct hash;
  218. ^
  219. In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
  220. ./ClangExperiments/Stages/Parser/parser.h:595:105: note: when instantiating default argument for call to std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(_InputIterator, _InputIterator, std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _InputIterator = Wide::Lexer::TokenType*; _Value = Wide::Lexer::TokenType; _Hash = std::hash<Wide::Lexer::TokenType>; _Pred = std::equal_to<Wide::Lexer::TokenType>; _Alloc = std::allocator<Wide::Lexer::TokenType>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::hasher = std::hash<Wide::Lexer::TokenType>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal = std::equal_to<Wide::Lexer::TokenType>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<Wide::Lexer::TokenType>]
  221. return std::unordered_set<Lexer::TokenType>(std::begin(tokens), std::end(tokens));
  222. ^
  223. ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePrimaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]':
  224. ./ClangExperiments/Stages/Parser/parser.h:135:57: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePostfixExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  225. ./ClangExperiments/Stages/Parser/parser.h:178:52: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseUnaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  226. ./ClangExperiments/Stages/Parser/parser.h:311:54: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseAssignmentExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  227. ./ClangExperiments/Stages/Parser/parser.h:322:55: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  228. ./ClangExperiments/Stages/Parser/parser.h:485:58: required from 'void Wide::Parser::ParseFunction(Lex&&, Sema&&, Token&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Token = Wide::Lexer::Token&; Module = Wide::AST::Module*&]'
  229. ./ClangExperiments/Stages/Parser/parser.h:629:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  230. ./ClangExperiments/Stages/Parser/parser.h:665:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
  231. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  232. ./ClangExperiments/Stages/Parser/parser.h:67:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  233. auto expr = ParseExpression(lex, sema);
  234. ^
  235. ./ClangExperiments/Stages/Parser/parser.h:321:77: note: 'template<class Lex, class Sema> typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&)' declared here, later in the translation unit
  236. template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
  237. ^
  238. ./ClangExperiments/Stages/Parser/parser.h:85:61: error: 'ParseFunctionArguments' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  239. auto args = ParseFunctionArguments(lex, sema);
  240. ^
  241. ./ClangExperiments/Stages/Parser/parser.h:410:52: note: 'template<class Lex, class Sema> decltype (sema.CreateFunctionArgumentGroup()) Wide::Parser::ParseFunctionArguments(Lex&&, Sema&&)' declared here, later in the translation unit
  242. template<typename Lex, typename Sema> auto ParseFunctionArguments(Lex&& lex, Sema&& sema) -> decltype(sema.CreateFunctionArgumentGroup()) {
  243. ^
  244. ./ClangExperiments/Stages/Parser/parser.h:116:59: error: 'ParseStatement' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  245. grp.push_back(ParseStatement(lex, sema));
  246. ^
  247. ./ClangExperiments/Stages/Parser/parser.h:335:77: note: 'template<class Lex, class Sema> typename Wide::Parser::StmtType<Sema>::type Wide::Parser::ParseStatement(Lex&&, Sema&&)' declared here, later in the translation unit
  248. template<typename Lex, typename Sema> typename StmtType<Sema>::type ParseStatement(Lex&& lex, Sema&& sema) {
  249. ^
  250. ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'void Wide::Parser::ParseFunctionArguments(Lex&&, Sema&&, Group&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Group = std::vector<Wide::AST::Expression*>&]':
  251. ./ClangExperiments/Stages/Parser/parser.h:147:66: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePostfixExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  252. ./ClangExperiments/Stages/Parser/parser.h:178:52: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseUnaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  253. ./ClangExperiments/Stages/Parser/parser.h:311:54: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseAssignmentExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  254. ./ClangExperiments/Stages/Parser/parser.h:322:55: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
  255. ./ClangExperiments/Stages/Parser/parser.h:485:58: required from 'void Wide::Parser::ParseFunction(Lex&&, Sema&&, Token&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Token = Wide::Lexer::Token&; Module = Wide::AST::Module*&]'
  256. ./ClangExperiments/Stages/Parser/parser.h:629:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
  257. ./ClangExperiments/Stages/Parser/parser.h:665:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
  258. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  259. ./ClangExperiments/Stages/Parser/parser.h:125:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  260. group.push_back(ParseExpression(lex, sema));
  261. ^
  262. ./ClangExperiments/Stages/Parser/parser.h:321:77: note: 'template<class Lex, class Sema> typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&)' declared here, later in the translation unit
  263. template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
  264. ^
  265. make: *** [all] Error 1
  266. root@stacked-crooked ~/wide #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement