SHARE
TWEET

Untitled

a guest Jan 17th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /usr/bin/cmake --build /home/ocanty/projects/mips-asm/cmake-build-debug --target mips_asm -- -j 2
  2. Scanning dependencies of target mips_asm
  3. [ 33%] Building CXX object CMakeFiles/mips_asm.dir/lexer/lexer.cpp.o
  4. In file included from /home/ocanty/projects/mips-asm/lexer/../fsm/transition_table.hpp:11,
  5.                  from /home/ocanty/projects/mips-asm/lexer/../fsm/finite_state_machine.hpp:9,
  6.                  from /home/ocanty/projects/mips-asm/lexer/lexer.hpp:12,
  7.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:7:
  8. /home/ocanty/projects/mips-asm/lexer/../fsm/transition.hpp: In instantiation of ‘as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]’:
  9. /home/ocanty/projects/mips-asm/lexer/../fsm/finite_state_machine.hpp:31:17:   required from ‘void as::finite_state_machine<States, InputsType>::add_transition(Args&& ...) [with Args = {as::lexer::states, as::lexer::states, as::lexer::setup_fsm()::<lambda(as::lexer::lexer_data&)>}; States = as::lexer::states; InputsType = as::lexer::lexer_data]’
  10. /home/ocanty/projects/mips-asm/lexer/lexer.cpp:37:5:   required from here
  11. /home/ocanty/projects/mips-asm/lexer/../fsm/transition.hpp:66:42: error: no matching function for call to ‘std::function<void(as::lexer::lexer_data&)>::function(as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]::<lambda()>)’
  12.          m_transition_callback_func([](){})
  13.                                           ^
  14. In file included from /usr/include/c++/8.2.1/regex:56,
  15.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:6:
  16. /usr/include/c++/8.2.1/bits/std_function.h:446:2: note: candidate: ‘template<class _Functor, class, class> std::function<_Res(_ArgTypes ...)>::function(_Functor)’
  17.   function(_Functor);
  18.   ^~~~~~~~
  19. /usr/include/c++/8.2.1/bits/std_function.h:446:2: note:   template argument deduction/substitution failed:
  20. /usr/include/c++/8.2.1/bits/std_function.h:445:9: error: no type named ‘type’ in ‘class std::result_of<as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]::<lambda()>&(as::lexer::lexer_data&)>’
  21.          typename = _Requires<_Callable<_Functor>, void>>
  22.          ^~~~~~~~
  23. /usr/include/c++/8.2.1/bits/std_function.h:422:7: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(std::function<_Res(_ArgTypes ...)>&&) [with _Res = void; _ArgTypes = {as::lexer::lexer_data&}]’
  24.        function(function&& __x) noexcept : _Function_base()
  25.        ^~~~~~~~
  26. /usr/include/c++/8.2.1/bits/std_function.h:422:7: note:   no known conversion for argument 1 from ‘as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]::<lambda()>’ to ‘std::function<void(as::lexer::lexer_data&)>&&’
  27. /usr/include/c++/8.2.1/bits/std_function.h:652:5: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(const std::function<_Res(_ArgTypes ...)>&) [with _Res = void; _ArgTypes = {as::lexer::lexer_data&}]’
  28.      function<_Res(_ArgTypes...)>::
  29.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. /usr/include/c++/8.2.1/bits/std_function.h:652:5: note:   no known conversion for argument 1 from ‘as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]::<lambda()>’ to ‘const std::function<void(as::lexer::lexer_data&)>&’
  31. /usr/include/c++/8.2.1/bits/std_function.h:402:7: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(std::nullptr_t) [with _Res = void; _ArgTypes = {as::lexer::lexer_data&}; std::nullptr_t = std::nullptr_t]’
  32.        function(nullptr_t) noexcept
  33.        ^~~~~~~~
  34. /usr/include/c++/8.2.1/bits/std_function.h:402:7: note:   no known conversion for argument 1 from ‘as::transition<States, InputsType>::transition(const States&, const States&, as::transition<States, InputsType>::should_transition_func) [with States = as::lexer::states; InputsType = as::lexer::lexer_data; as::transition<States, InputsType>::should_transition_func = std::function<bool(as::lexer::lexer_data&)>]::<lambda()>’ to ‘std::nullptr_t’
  35. /usr/include/c++/8.2.1/bits/std_function.h:395:7: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function() [with _Res = void; _ArgTypes = {as::lexer::lexer_data&}]’
  36.        function() noexcept
  37.        ^~~~~~~~
  38. /usr/include/c++/8.2.1/bits/std_function.h:395:7: note:   candidate expects 0 arguments, 1 provided
  39. In file included from /usr/include/c++/8.2.1/bits/unique_ptr.h:37,
  40.                  from /usr/include/c++/8.2.1/bits/locale_conv.h:41,
  41.                  from /usr/include/c++/8.2.1/locale:43,
  42.                  from /usr/include/c++/8.2.1/regex:44,
  43.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:6:
  44. /usr/include/c++/8.2.1/tuple: In instantiation of ‘std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {as::lexer::states&&}; long unsigned int ..._Indexes1 = {0}; _Args2 = {const as::transition<as::lexer::states, as::lexer::lexer_data>&}; long unsigned int ..._Indexes2 = {0}; _T1 = const as::lexer::states; _T2 = std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >]’:
  45. /usr/include/c++/8.2.1/tuple:1657:63:   required from ‘std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {as::lexer::states&&}; _Args2 = {const as::transition<as::lexer::states, as::lexer::lexer_data>&}; _T1 = const as::lexer::states; _T2 = std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >]’
  46. /usr/include/c++/8.2.1/ext/new_allocator.h:136:4:   required from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > >; _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Tp = std::_Rb_tree_node<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >]’
  47. /usr/include/c++/8.2.1/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > >; _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Tp = std::_Rb_tree_node<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > > >]’
  48. /usr/include/c++/8.2.1/bits/stl_tree.h:637:32:   required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Key = as::lexer::states; _Val = std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > >; _KeyOfValue = std::_Select1st<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; _Compare = std::less<as::lexer::states>; _Alloc = std::allocator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >*]’
  49. /usr/include/c++/8.2.1/bits/stl_tree.h:654:4:   required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Key = as::lexer::states; _Val = std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > >; _KeyOfValue = std::_Select1st<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; _Compare = std::less<as::lexer::states>; _Alloc = std::allocator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >*]’
  50. /usr/include/c++/8.2.1/bits/stl_tree.h:2414:13:   required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Key = as::lexer::states; _Val = std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > >; _KeyOfValue = std::_Select1st<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; _Compare = std::less<as::lexer::states>; _Alloc = std::allocator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >]’
  51. /usr/include/c++/8.2.1/bits/stl_map.h:607:41:   required from ‘std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<as::lexer::states&&>, std::tuple<const as::transition<as::lexer::states, as::lexer::lexer_data>&>}; _Key = as::lexer::states; _Tp = std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >; _Compare = std::less<as::lexer::states>; _Alloc = std::allocator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >]’
  52. /usr/include/c++/8.2.1/bits/stl_map.h:711:12:   required from ‘std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<std::pair<const _Key, _Tp> >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::try_emplace(std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&, _Args&& ...) [with _Args = {const as::transition<as::lexer::states, as::lexer::lexer_data>&}; _Key = as::lexer::states; _Tp = std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >; _Compare = std::less<as::lexer::states>; _Alloc = std::allocator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<std::pair<const _Key, _Tp> >::other>::iterator = std::_Rb_tree_iterator<std::pair<const as::lexer::states, std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > > > >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = as::lexer::states]’
  53. /home/ocanty/projects/mips-asm/lexer/../fsm/transition_table.hpp:25:9:   required from ‘void as::transition_table<States, InputsType>::add_transition(const as::transition<States, InputsType>&) [with States = as::lexer::states; InputsType = as::lexer::lexer_data]’
  54. /home/ocanty/projects/mips-asm/lexer/../fsm/finite_state_machine.hpp:30:9:   required from ‘void as::finite_state_machine<States, InputsType>::add_transition(Args&& ...) [with Args = {as::lexer::states, as::lexer::states, as::lexer::setup_fsm()::<lambda(as::lexer::lexer_data&)>}; States = as::lexer::states; InputsType = as::lexer::lexer_data]’
  55. /home/ocanty/projects/mips-asm/lexer/lexer.cpp:37:5:   required from here
  56. /usr/include/c++/8.2.1/tuple:1668:70: error: no matching function for call to ‘std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >::vector(const as::transition<as::lexer::states, as::lexer::lexer_data>&)’
  57.          second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  58.                                                                       ^
  59. In file included from /usr/include/c++/8.2.1/vector:64,
  60.                  from /usr/include/c++/8.2.1/regex:51,
  61.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:6:
  62. /usr/include/c++/8.2.1/bits/stl_vector.h:543:2: note: candidate: ‘template<class _InputIterator, class> std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&)’
  63.   vector(_InputIterator __first, _InputIterator __last,
  64.   ^~~~~~
  65. /usr/include/c++/8.2.1/bits/stl_vector.h:543:2: note:   template argument deduction/substitution failed:
  66. In file included from /usr/include/c++/8.2.1/bits/unique_ptr.h:37,
  67.                  from /usr/include/c++/8.2.1/bits/locale_conv.h:41,
  68.                  from /usr/include/c++/8.2.1/locale:43,
  69.                  from /usr/include/c++/8.2.1/regex:44,
  70.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:6:
  71. /usr/include/c++/8.2.1/tuple:1668:70: note:   candidate expects 3 arguments, 1 provided
  72.          second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  73.                                                                       ^
  74. In file included from /usr/include/c++/8.2.1/vector:64,
  75.                  from /usr/include/c++/8.2.1/regex:51,
  76.                  from /home/ocanty/projects/mips-asm/lexer/lexer.cpp:6:
  77. /usr/include/c++/8.2.1/bits/stl_vector.h:515:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  78.        vector(initializer_list<value_type> __l,
  79.        ^~~~~~
  80. /usr/include/c++/8.2.1/bits/stl_vector.h:515:7: note:   no known conversion for argument 1 from ‘const as::transition<as::lexer::states, as::lexer::lexer_data>’ to ‘std::initializer_list<as::transition<as::lexer::states, as::lexer::lexer_data> >’
  81. /usr/include/c++/8.2.1/bits/stl_vector.h:490:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  82.        vector(vector&& __rv, const allocator_type& __m)
  83.        ^~~~~~
  84. /usr/include/c++/8.2.1/bits/stl_vector.h:490:7: note:   candidate expects 2 arguments, 1 provided
  85. /usr/include/c++/8.2.1/bits/stl_vector.h:480:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&, const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  86.        vector(const vector& __x, const allocator_type& __a)
  87.        ^~~~~~
  88. /usr/include/c++/8.2.1/bits/stl_vector.h:480:7: note:   candidate expects 2 arguments, 1 provided
  89. /usr/include/c++/8.2.1/bits/stl_vector.h:476:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  90.        vector(vector&& __x) noexcept
  91.        ^~~~~~
  92. /usr/include/c++/8.2.1/bits/stl_vector.h:476:7: note:   no known conversion for argument 1 from ‘const as::transition<as::lexer::states, as::lexer::lexer_data>’ to ‘std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >&&’
  93. /usr/include/c++/8.2.1/bits/stl_vector.h:458:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  94.        vector(const vector& __x)
  95.        ^~~~~~
  96. /usr/include/c++/8.2.1/bits/stl_vector.h:458:7: note:   no known conversion for argument 1 from ‘const as::transition<as::lexer::states, as::lexer::lexer_data>’ to ‘const std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >&’
  97. /usr/include/c++/8.2.1/bits/stl_vector.h:427:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = as::transition<as::lexer::states, as::lexer::lexer_data>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  98.        vector(size_type __n, const value_type& __value,
  99.        ^~~~~~
  100. /usr/include/c++/8.2.1/bits/stl_vector.h:427:7: note:   candidate expects 3 arguments, 1 provided
  101. /usr/include/c++/8.2.1/bits/stl_vector.h:415:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  102.        vector(size_type __n, const allocator_type& __a = allocator_type())
  103.        ^~~~~~
  104. /usr/include/c++/8.2.1/bits/stl_vector.h:415:7: note:   no known conversion for argument 1 from ‘const as::transition<as::lexer::states, as::lexer::lexer_data>’ to ‘std::vector<as::transition<as::lexer::states, as::lexer::lexer_data>, std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> > >::size_type’ {aka ‘long unsigned int’}
  105. /usr/include/c++/8.2.1/bits/stl_vector.h:402:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  106.        vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
  107.        ^~~~~~
  108. /usr/include/c++/8.2.1/bits/stl_vector.h:402:7: note:   no known conversion for argument 1 from ‘const as::transition<as::lexer::states, as::lexer::lexer_data>’ to ‘const allocator_type&’ {aka ‘const std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >&’}
  109. /usr/include/c++/8.2.1/bits/stl_vector.h:391:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector() [with _Tp = as::transition<as::lexer::states, as::lexer::lexer_data>; _Alloc = std::allocator<as::transition<as::lexer::states, as::lexer::lexer_data> >]’
  110.        vector()
  111.        ^~~~~~
  112. /usr/include/c++/8.2.1/bits/stl_vector.h:391:7: note:   candidate expects 0 arguments, 1 provided
  113. make[3]: *** [CMakeFiles/mips_asm.dir/build.make:76: CMakeFiles/mips_asm.dir/lexer/lexer.cpp.o] Error 1
  114. make[2]: *** [CMakeFiles/Makefile2:73: CMakeFiles/mips_asm.dir/all] Error 2
  115. make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/mips_asm.dir/rule] Error 2
  116. make: *** [Makefile:118: mips_asm] Error 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top