Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@stacked-crooked ~/wide # make
- ./make.sh
- + 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 '
- + 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 '
- ++ find . -name '*\.cpp'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/FunctionType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/FunctionType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Analyzer.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Analyzer.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/LvalueType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/LvalueType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Util.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Util.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Type.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Type.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/IntegralType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/IntegralType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/RvalueType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/RvalueType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Function.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Function.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/StringType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/StringType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Void.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Void.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Module.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Module.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangTU.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTU.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Bool.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Bool.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Parser/Builder.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Parser/Builder.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Generator.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Generator.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Statement.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Statement.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Expression.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Expression.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Wide.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Wide.cpp.o ']'
- + 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
- In file included from ./ClangExperiments/Stages/Wide.cpp:6:0:
- ./ClangExperiments/Stages/../Util/ParallelForEach.h:9:6: warning: extra tokens at end of #else directive [enabled by default]
- #else*/
- ^
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /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>':
- /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> >'
- /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> >'
- /usr/include/c++/4.8/bits/unordered_set.h:96:18: required from 'class std::unordered_set<Wide::Lexer::TokenType>'
- ./ClangExperiments/Stages/Parser/parser.h:579:100: required from here
- /usr/include/c++/4.8/bits/hashtable_policy.h:1070:12: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
- struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
- ^
- In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/include/c++/4.8/array:38,
- from /usr/include/c++/4.8/tuple:39,
- from /usr/include/c++/4.8/functional:55,
- from ./ClangExperiments/Stages/ClangOptions.h:5,
- from ./ClangExperiments/Stages/Wide.h:1,
- from ./ClangExperiments/Stages/Wide.cpp:1:
- /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
- struct hash;
- ^
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /usr/include/c++/4.8/bits/hashtable_policy.h:1070:12: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
- struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
- ^
- In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/include/c++/4.8/array:38,
- from /usr/include/c++/4.8/tuple:39,
- from /usr/include/c++/4.8/functional:55,
- from ./ClangExperiments/Stages/ClangOptions.h:5,
- from ./ClangExperiments/Stages/Wide.h:1,
- from ./ClangExperiments/Stages/Wide.cpp:1:
- /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
- struct hash;
- ^
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /usr/include/c++/4.8/bits/hashtable_policy.h:1082:53: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
- using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
- ^
- In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/include/c++/4.8/array:38,
- from /usr/include/c++/4.8/tuple:39,
- from /usr/include/c++/4.8/functional:55,
- from ./ClangExperiments/Stages/ClangOptions.h:5,
- from ./ClangExperiments/Stages/Wide.h:1,
- from ./ClangExperiments/Stages/Wide.cpp:1:
- /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
- struct hash;
- ^
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /usr/include/c++/4.8/bits/hashtable_policy.h:1082:53: error: invalid use of incomplete type 'struct std::hash<Wide::Lexer::TokenType>'
- using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
- ^
- In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/include/c++/4.8/array:38,
- from /usr/include/c++/4.8/tuple:39,
- from /usr/include/c++/4.8/functional:55,
- from ./ClangExperiments/Stages/ClangOptions.h:5,
- from ./ClangExperiments/Stages/Wide.h:1,
- from ./ClangExperiments/Stages/Wide.cpp:1:
- /usr/include/c++/4.8/bits/functional_hash.h:58:12: error: declaration of 'struct std::hash<Wide::Lexer::TokenType>'
- struct hash;
- ^
- In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
- ./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*&]':
- ./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*&]'
- ./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*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./ClangExperiments/Stages/Parser/parser.h:531:18: warning: unused variable 'def' [-Wunused-variable]
- auto def = sema.CreateUsingDefinition(std::move(val), ParseExpression(lex, sema), m);
- ^
- ./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*&]':
- ./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*&]'
- ./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*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./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]
- ParseModuleContents(lex, sema, mod);
- ^
- ./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
- template<typename Lex, typename Sema, typename Module> void ParseModuleContents(Lex&& lex, Sema&& sema, Module&& m) {
- ^
- ./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':
- ./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'
- ./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*&]'
- ./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*&]'
- ./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*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./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>}'
- return std::unordered_set<Lexer::TokenType>(std::begin(tokens), std::end(tokens));
- ^
- In file included from /usr/include/c++/4.8/bits/basic_string.h:3035:0,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/include/c++/4.8/array:38,
- from /usr/include/c++/4.8/tuple:39,
- from /usr/include/c++/4.8/functional:55,
- from ./ClangExperiments/Stages/ClangOptions.h:5,
- from ./ClangExperiments/Stages/Wide.h:1,
- from ./ClangExperiments/Stages/Wide.cpp:1:
- /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>}'
- struct hash;
- ^
- In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
- ./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>]
- return std::unordered_set<Lexer::TokenType>(std::begin(tokens), std::end(tokens));
- ^
- ./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*]':
- ./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*]'
- ./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*]'
- ./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*]'
- ./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*]'
- ./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*&]'
- ./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*&]'
- ./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*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./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]
- auto expr = ParseExpression(lex, sema);
- ^
- ./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
- template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
- ^
- ./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]
- auto args = ParseFunctionArguments(lex, sema);
- ^
- ./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
- template<typename Lex, typename Sema> auto ParseFunctionArguments(Lex&& lex, Sema&& sema) -> decltype(sema.CreateFunctionArgumentGroup()) {
- ^
- ./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]
- grp.push_back(ParseStatement(lex, sema));
- ^
- ./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
- template<typename Lex, typename Sema> typename StmtType<Sema>::type ParseStatement(Lex&& lex, Sema&& sema) {
- ^
- ./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*>&]':
- ./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*]'
- ./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*]'
- ./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*]'
- ./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*]'
- ./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*&]'
- ./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*&]'
- ./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*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./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]
- group.push_back(ParseExpression(lex, sema));
- ^
- ./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
- template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
- ^
- make: *** [all] Error 1
- root@stacked-crooked ~/wide #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement