Advertisement
Guest User

Untitled

a guest
May 9th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.34 KB | None | 0 0
  1. root@stacked-crooked ~/wide # cat out
  2. + 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 '
  3. + 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 '
  4. ++ find . -name '*\.cpp'
  5. + for cpp_file in '$(find . -name "*\.cpp")'
  6. + obj_file=./ClangExperiments/Stages/Semantic/FunctionType.cpp.o
  7. + '[' '!' -f ./ClangExperiments/Stages/Semantic/FunctionType.cpp.o ']'
  8. + for cpp_file in '$(find . -name "*\.cpp")'
  9. + obj_file=./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o
  10. + '[' '!' -f ./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o ']'
  11. + for cpp_file in '$(find . -name "*\.cpp")'
  12. + obj_file=./ClangExperiments/Stages/Semantic/Analyzer.cpp.o
  13. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Analyzer.cpp.o ']'
  14. + for cpp_file in '$(find . -name "*\.cpp")'
  15. + obj_file=./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o
  16. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o ']'
  17. + for cpp_file in '$(find . -name "*\.cpp")'
  18. + obj_file=./ClangExperiments/Stages/Semantic/ClangType.cpp.o
  19. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangType.cpp.o ']'
  20. + for cpp_file in '$(find . -name "*\.cpp")'
  21. + obj_file=./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o
  22. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o ']'
  23. + for cpp_file in '$(find . -name "*\.cpp")'
  24. + obj_file=./ClangExperiments/Stages/Semantic/LvalueType.cpp.o
  25. + '[' '!' -f ./ClangExperiments/Stages/Semantic/LvalueType.cpp.o ']'
  26. + for cpp_file in '$(find . -name "*\.cpp")'
  27. + obj_file=./ClangExperiments/Stages/Semantic/Util.cpp.o
  28. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Util.cpp.o ']'
  29. + for cpp_file in '$(find . -name "*\.cpp")'
  30. + obj_file=./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o
  31. + '[' '!' -f ./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o ']'
  32. + for cpp_file in '$(find . -name "*\.cpp")'
  33. + obj_file=./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o
  34. + '[' '!' -f ./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o ']'
  35. + for cpp_file in '$(find . -name "*\.cpp")'
  36. + obj_file=./ClangExperiments/Stages/Semantic/Type.cpp.o
  37. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Type.cpp.o ']'
  38. + for cpp_file in '$(find . -name "*\.cpp")'
  39. + obj_file=./ClangExperiments/Stages/Semantic/IntegralType.cpp.o
  40. + '[' '!' -f ./ClangExperiments/Stages/Semantic/IntegralType.cpp.o ']'
  41. + for cpp_file in '$(find . -name "*\.cpp")'
  42. + obj_file=./ClangExperiments/Stages/Semantic/RvalueType.cpp.o
  43. + '[' '!' -f ./ClangExperiments/Stages/Semantic/RvalueType.cpp.o ']'
  44. + for cpp_file in '$(find . -name "*\.cpp")'
  45. + obj_file=./ClangExperiments/Stages/Semantic/Function.cpp.o
  46. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Function.cpp.o ']'
  47. + for cpp_file in '$(find . -name "*\.cpp")'
  48. + obj_file=./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o
  49. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o ']'
  50. + for cpp_file in '$(find . -name "*\.cpp")'
  51. + obj_file=./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o
  52. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o ']'
  53. + for cpp_file in '$(find . -name "*\.cpp")'
  54. + obj_file=./ClangExperiments/Stages/Semantic/StringType.cpp.o
  55. + '[' '!' -f ./ClangExperiments/Stages/Semantic/StringType.cpp.o ']'
  56. + for cpp_file in '$(find . -name "*\.cpp")'
  57. + obj_file=./ClangExperiments/Stages/Semantic/Void.cpp.o
  58. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Void.cpp.o ']'
  59. + for cpp_file in '$(find . -name "*\.cpp")'
  60. + obj_file=./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o
  61. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o ']'
  62. + for cpp_file in '$(find . -name "*\.cpp")'
  63. + obj_file=./ClangExperiments/Stages/Semantic/Module.cpp.o
  64. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Module.cpp.o ']'
  65. + for cpp_file in '$(find . -name "*\.cpp")'
  66. + obj_file=./ClangExperiments/Stages/Semantic/ClangTU.cpp.o
  67. + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTU.cpp.o ']'
  68. + for cpp_file in '$(find . -name "*\.cpp")'
  69. + obj_file=./ClangExperiments/Stages/Semantic/Bool.cpp.o
  70. + '[' '!' -f ./ClangExperiments/Stages/Semantic/Bool.cpp.o ']'
  71. + for cpp_file in '$(find . -name "*\.cpp")'
  72. + obj_file=./ClangExperiments/Stages/Parser/Builder.cpp.o
  73. + '[' '!' -f ./ClangExperiments/Stages/Parser/Builder.cpp.o ']'
  74. + for cpp_file in '$(find . -name "*\.cpp")'
  75. + obj_file=./ClangExperiments/Stages/Codegen/Generator.cpp.o
  76. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Generator.cpp.o ']'
  77. + for cpp_file in '$(find . -name "*\.cpp")'
  78. + obj_file=./ClangExperiments/Stages/Codegen/Statement.cpp.o
  79. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Statement.cpp.o ']'
  80. + for cpp_file in '$(find . -name "*\.cpp")'
  81. + obj_file=./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o
  82. + '[' '!' -f ./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o ']'
  83. + for cpp_file in '$(find . -name "*\.cpp")'
  84. + obj_file=./ClangExperiments/Stages/Codegen/Expression.cpp.o
  85. + '[' '!' -f ./ClangExperiments/Stages/Codegen/Expression.cpp.o ']'
  86. + for cpp_file in '$(find . -name "*\.cpp")'
  87. + obj_file=./ClangExperiments/Stages/Wide.cpp.o
  88. + '[' '!' -f ./ClangExperiments/Stages/Wide.cpp.o ']'
  89. + 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
  90. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  91. from /usr/include/c++/4.8/unordered_map:47,
  92. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  93. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  94. from ./ClangExperiments/Stages/Wide.cpp:2:
  95. /usr/include/c++/4.8/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> >':
  96. /usr/include/c++/4.8/type_traits:121:12: recursively required from 'struct std::__and_<std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > >'
  97. /usr/include/c++/4.8/type_traits:121:12: required from 'struct std::__and_<std::__is_fast_hash<std::hash<Wide::Lexer::TokenType> >, std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > >'
  98. /usr/include/c++/4.8/type_traits:127:38: required from 'struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<Wide::Lexer::TokenType> >, std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > > >'
  99. /usr/include/c++/4.8/bits/unordered_set.h:95:63: required from 'class std::unordered_set<Wide::Lexer::TokenType>'
  100. ./ClangExperiments/Stages/Parser/parser.h:580:100: required from here
  101. /usr/include/c++/4.8/bits/hashtable_policy.h:85:33: error: passing 'const std::hash<Wide::Lexer::TokenType>' as 'this' argument of 'std::size_t std::hash<Wide::Lexer::TokenType>::operator()(Wide::Lexer::TokenType)' discards qualifiers [-fpermissive]
  102. noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
  103. ^
  104. In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
  105. ./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*&]':
  106. ./ClangExperiments/Stages/Parser/parser.h:634: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*&]'
  107. ./ClangExperiments/Stages/Parser/parser.h:666: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*]'
  108. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  109. ./ClangExperiments/Stages/Parser/parser.h:532:18: warning: unused variable 'def' [-Wunused-variable]
  110. auto def = sema.CreateUsingDefinition(std::move(val), ParseExpression(lex, sema), m);
  111. ^
  112. In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
  113. from /usr/include/c++/4.8/unordered_map:47,
  114. from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
  115. from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
  116. from ./ClangExperiments/Stages/Wide.cpp:2:
  117. /usr/include/c++/4.8/bits/hashtable_policy.h: In instantiation of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_hash_code(const _Key&) const [with _Key = Wide::Lexer::TokenType; _Value = Wide::Lexer::TokenType; _ExtractKey = std::__detail::_Identity; _H1 = std::hash<Wide::Lexer::TokenType>; _H2 = std::__detail::_Mod_range_hashing; std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code = long unsigned int]':
  118. /usr/include/c++/4.8/bits/hashtable.h:1023:50: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::find(const key_type&) [with _Key = Wide::Lexer::TokenType; _Value = Wide::Lexer::TokenType; _Alloc = std::allocator<Wide::Lexer::TokenType>; _ExtractKey = std::__detail::_Identity; _Equal = std::equal_to<Wide::Lexer::TokenType>; _H1 = std::hash<Wide::Lexer::TokenType>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator = std::__detail::_Node_iterator<Wide::Lexer::TokenType, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::key_type = Wide::Lexer::TokenType]'
  119. /usr/include/c++/4.8/bits/unordered_set.h:517:29: required from 'std::unordered_set<_Value, _Hash, _Pred, _Alloc>::iterator std::unordered_set<_Value, _Hash, _Pred, _Alloc>::find(const key_type&) [with _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>::iterator = std::__detail::_Node_iterator<Wide::Lexer::TokenType, true, true>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_type = Wide::Lexer::TokenType]'
  120. ./ClangExperiments/Stages/Parser/parser.h:603:66: 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*&]'
  121. ./ClangExperiments/Stages/Parser/parser.h:642: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*&]'
  122. ./ClangExperiments/Stages/Parser/parser.h:666: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*]'
  123. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  124. /usr/include/c++/4.8/bits/hashtable_policy.h:1103:22: error: passing 'const std::hash<Wide::Lexer::TokenType>' as 'this' argument of 'std::size_t std::hash<Wide::Lexer::TokenType>::operator()(Wide::Lexer::TokenType)' discards qualifiers [-fpermissive]
  125. { return _M_h1()(__k); }
  126. ^
  127. In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
  128. ./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*]':
  129. ./ClangExperiments/Stages/Parser/parser.h:136: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*]'
  130. ./ClangExperiments/Stages/Parser/parser.h:179: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*]'
  131. ./ClangExperiments/Stages/Parser/parser.h:312: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*]'
  132. ./ClangExperiments/Stages/Parser/parser.h:323: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*]'
  133. ./ClangExperiments/Stages/Parser/parser.h:486: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*&]'
  134. ./ClangExperiments/Stages/Parser/parser.h:630: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*&]'
  135. ./ClangExperiments/Stages/Parser/parser.h:666: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*]'
  136. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  137. ./ClangExperiments/Stages/Parser/parser.h:68:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  138. auto expr = ParseExpression(lex, sema);
  139. ^
  140. ./ClangExperiments/Stages/Parser/parser.h:322: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
  141. template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
  142. ^
  143. ./ClangExperiments/Stages/Parser/parser.h:86:61: error: 'ParseFunctionArguments' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  144. auto args = ParseFunctionArguments(lex, sema);
  145. ^
  146. ./ClangExperiments/Stages/Parser/parser.h:411:52: note: 'template<class Lex, class Sema> decltype (sema.CreateFunctionArgumentGroup()) Wide::Parser::ParseFunctionArguments(Lex&&, Sema&&)' declared here, later in the translation unit
  147. template<typename Lex, typename Sema> auto ParseFunctionArguments(Lex&& lex, Sema&& sema) -> decltype(sema.CreateFunctionArgumentGroup()) {
  148. ^
  149. ./ClangExperiments/Stages/Parser/parser.h:117:59: error: 'ParseStatement' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  150. grp.push_back(ParseStatement(lex, sema));
  151. ^
  152. ./ClangExperiments/Stages/Parser/parser.h:336: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
  153. template<typename Lex, typename Sema> typename StmtType<Sema>::type ParseStatement(Lex&& lex, Sema&& sema) {
  154. ^
  155. ./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*>&]':
  156. ./ClangExperiments/Stages/Parser/parser.h:148: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*]'
  157. ./ClangExperiments/Stages/Parser/parser.h:179: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*]'
  158. ./ClangExperiments/Stages/Parser/parser.h:312: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*]'
  159. ./ClangExperiments/Stages/Parser/parser.h:323: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*]'
  160. ./ClangExperiments/Stages/Parser/parser.h:486: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*&]'
  161. ./ClangExperiments/Stages/Parser/parser.h:630: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*&]'
  162. ./ClangExperiments/Stages/Parser/parser.h:666: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*]'
  163. ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
  164. ./ClangExperiments/Stages/Parser/parser.h:126:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  165. group.push_back(ParseExpression(lex, sema));
  166. ^
  167. ./ClangExperiments/Stages/Parser/parser.h:322: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
  168. template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
  169. ^
  170. root@stacked-crooked ~/wide #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement