Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/11/ext/alloc_traits.h:34,
- from /usr/include/c++/11/bits/stl_uninitialized.h:64,
- from /usr/include/c++/11/vector:66,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /usr/include/c++/11/bits/alloc_traits.h: In instantiation of ‘static constexpr void std::allocator_traits<std::allocator<_Up> >::construct(std::allocator_traits<std::allocator<_Up> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const int, IR_Block>; _Args = {const std::pair<const int, IR_Block>&}; _Tp = std::_Rb_tree_node<std::pair<const int, IR_Block> >; std::allocator_traits<std::allocator<_Up> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const int, IR_Block> > >]’:
- /usr/include/c++/11/bits/stl_tree.h:595: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::pair<const int, IR_Block>&}; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:472:25: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Reuse_or_alloc_node::operator()(_Arg&&) [with _Arg = const std::pair<const int, IR_Block>&; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:645:18: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_clone_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _NodeGen&) [with bool _MoveValue = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:1847:47: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr, _NodeGen&) [with bool _MoveValues = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr = std::_Rb_tree_node_base*]’
- /usr/include/c++/11/bits/stl_tree.h:890:26: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, _NodeGen&) [with bool _MoveValues = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:1755:38: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::operator=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) [with _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >]’
- /usr/include/c++/11/bits/stl_map.h:319:7: required from here
- /usr/include/c++/11/bits/alloc_traits.h:514:28: error: no matching function for call to ‘construct_at(std::pair<const int, IR_Block>*&, const std::pair<const int, IR_Block>&)’
- 514 | std::construct_at(__p, std::forward<_Args>(__args)...);
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/11/bits/stl_tempbuf.h:60,
- from /usr/include/c++/11/bits/stl_algo.h:62,
- from /usr/include/c++/11/vector:62,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /usr/include/c++/11/bits/stl_construct.h:94:5: note: candidate: ‘template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)’
- 94 | construct_at(_Tp* __location, _Args&&... __args)
- | ^~~~~~~~~~~~
- /usr/include/c++/11/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
- /usr/include/c++/11/bits/stl_construct.h: In substitution of ‘template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = std::pair<const int, IR_Block>; _Args = {const std::pair<const int, IR_Block>&}]’:
- /usr/include/c++/11/bits/alloc_traits.h:514:21: required from ‘static constexpr void std::allocator_traits<std::allocator<_Up> >::construct(std::allocator_traits<std::allocator<_Up> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const int, IR_Block>; _Args = {const std::pair<const int, IR_Block>&}; _Tp = std::_Rb_tree_node<std::pair<const int, IR_Block> >; std::allocator_traits<std::allocator<_Up> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const int, IR_Block> > >]’
- /usr/include/c++/11/bits/stl_tree.h:595: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::pair<const int, IR_Block>&}; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:472:25: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Reuse_or_alloc_node::operator()(_Arg&&) [with _Arg = const std::pair<const int, IR_Block>&; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:645:18: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_clone_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _NodeGen&) [with bool _MoveValue = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:1847:47: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr, _NodeGen&) [with bool _MoveValues = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Base_ptr = std::_Rb_tree_node_base*]’
- /usr/include/c++/11/bits/stl_tree.h:890:26: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_copy(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, _NodeGen&) [with bool _MoveValues = false; _NodeGen = std::_Rb_tree<int, std::pair<const int, IR_Block>, std::_Select1st<std::pair<const int, IR_Block> >, std::less<int>, std::allocator<std::pair<const int, IR_Block> > >::_Reuse_or_alloc_node; _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const int, IR_Block> >*]’
- /usr/include/c++/11/bits/stl_tree.h:1755:38: required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::operator=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) [with _Key = int; _Val = std::pair<const int, IR_Block>; _KeyOfValue = std::_Select1st<std::pair<const int, IR_Block> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, IR_Block> >]’
- /usr/include/c++/11/bits/stl_map.h:319:7: required from here
- /usr/include/c++/11/bits/stl_construct.h:96:17: error: use of deleted function ‘constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const int; _T2 = IR_Block]’
- 96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/11/bits/stl_algobase.h:64,
- from /usr/include/c++/11/vector:60,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /usr/include/c++/11/bits/stl_pair.h:314:17: note: ‘constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const int; _T2 = IR_Block]’ is implicitly deleted because the default definition would be ill-formed:
- 314 | constexpr pair(const pair&) = default; ///< Copy constructor
- | ^~~~
- /usr/include/c++/11/bits/stl_pair.h:314:17: error: use of deleted function ‘IR_Block::IR_Block(const IR_Block&)’
- In file included from /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/unit.hpp:9,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/ir_transformer.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:5,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/nodes.hpp:174:7: note: ‘IR_Block::IR_Block(const IR_Block&)’ is implicitly deleted because the default definition would be ill-formed:
- 174 | class IR_Block {
- | ^~~~~~~~
- /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/nodes.hpp:174:7: error: use of deleted function ‘std::optional<IR_Node>::optional(const std::optional<IR_Node>&)’
- In file included from /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/nodes.hpp:7,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/unit.hpp:9,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/ir_transformer.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:5,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /usr/include/c++/11/optional:663:11: note: ‘std::optional<IR_Node>::optional(const std::optional<IR_Node>&)’ is implicitly deleted because the default definition would be ill-formed:
- 663 | class optional
- | ^~~~~~~~
- /usr/include/c++/11/optional:663:11: error: use of deleted function ‘constexpr std::_Enable_copy_move<false, false, true, true, _Tag>::_Enable_copy_move(const std::_Enable_copy_move<false, false, true, true, _Tag>&) [with _Tag = std::optional<IR_Node>]’
- In file included from /usr/include/c++/11/optional:43,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/nodes.hpp:7,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/ir/unit.hpp:9,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/ir_transformer.hpp:4,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.hpp:5,
- from /mnt/HDD/Projects/Studing/diploma/cw39/src/transformations/tailrec_eliminator.cpp:1:
- /usr/include/c++/11/bits/enable_special_members.h:159:15: note: declared here
- 159 | constexpr _Enable_copy_move(_Enable_copy_move const&) noexcept = delete;
- | ^~~~~~~~~~~~~~~~~
- make[3]: *** [CMakeFiles/cw39.dir/build.make:440: CMakeFiles/cw39.dir/src/transformations/tailrec_eliminator.cpp.o] Error 1
- make[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/cw39.dir/all] Error 2
- make[1]: *** [CMakeFiles/Makefile2:94: CMakeFiles/cw39.dir/rule] Error 2
- make: *** [Makefile:124: cw39] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement