Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2014
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 26.83 KB | None | 0 0
  1. 17:25:16 **** Incremental Build of configuration Debug for project Project 3 ****
  2. make all
  3. Building file: ../src/Environment.cpp
  4. Invoking: GCC C++ Compiler
  5. g++ -I/usr/local/systemc-2.3.1/include -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP -MF"src/Environment.d" -MT"src/Environment.d" -o "src/Environment.o" "../src/Environment.cpp"
  6. In file included from /usr/include/c++/4.8.3/vector:60:0,
  7.                  from ../src/Environment.h:11,
  8.                  from ../src/Environment.cpp:8:
  9. /usr/include/c++/4.8.3/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const Robot*; _OI = Robot*]:
  10. /usr/include/c++/4.8.3/bits/stl_algobase.h:390:70:   required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const Robot*; _OI = Robot*]
  11. /usr/include/c++/4.8.3/bits/stl_algobase.h:428:38:   required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _OI = __gnu_cxx::__normal_iterator<Robot*, std::vector<Robot> >]
  12. /usr/include/c++/4.8.3/bits/stl_algobase.h:460:17:   required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _OI = __gnu_cxx::__normal_iterator<Robot*, std::vector<Robot> >]
  13. /usr/include/c++/4.8.3/bits/vector.tcc:199:63:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Robot; _Alloc = std::allocator<Robot>]
  14. ../src/Environment.cpp:12:16:   required from here
  15. /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Robot& Robot::operator=(const Robot&)
  16.         *__result = *__first;
  17.                   ^
  18. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  19.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  20.                  from ../src/Environment.h:12,
  21.                  from ../src/Environment.cpp:8:
  22. ../src/Robot.h:16:12: note: ‘Robot& Robot::operator=(const Robot&)’ is implicitly deleted because the default definition would be ill-formed:
  23.  SC_MODULE (Robot)
  24.             ^
  25. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  26.      struct user_module_name : ::sc_core::sc_module
  27.             ^
  28. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:303:22: error:const sc_core::sc_module& sc_core::sc_module::operator=(const sc_core::sc_module&)’ is private
  29.      const sc_module& operator = ( const sc_module& );
  30.                       ^
  31. ../src/Robot.h:16:12: error: within this context
  32.  SC_MODULE (Robot)
  33.             ^
  34. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  35.      struct user_module_name : ::sc_core::sc_module
  36.             ^
  37. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  38.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  39.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  40.                  from ../src/Environment.h:12,
  41.                  from ../src/Environment.cpp:8:
  42. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:644:16: error: ‘sc_core::sc_in<bool>::this_type& sc_core::sc_in<bool>::operator=(const this_type&)’ is private
  43.      this_type& operator = ( const this_type& );
  44.                 ^
  45. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  46.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  47.                  from ../src/Environment.h:12,
  48.                  from ../src/Environment.cpp:8:
  49. ../src/Robot.h:16:12: error: within this context
  50.  SC_MODULE (Robot)
  51.             ^
  52. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  53.      struct user_module_name : ::sc_core::sc_module
  54.             ^
  55. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  56.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  57.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  58.                  from ../src/Environment.h:12,
  59.                  from ../src/Environment.cpp:8:
  60. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:644:16: error: ‘sc_core::sc_in<bool>::this_type& sc_core::sc_in<bool>::operator=(const this_type&)’ is private
  61.      this_type& operator = ( const this_type& );
  62.                 ^
  63. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  64.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  65.                  from ../src/Environment.h:12,
  66.                  from ../src/Environment.cpp:8:
  67. ../src/Robot.h:16:12: error: within this context
  68.  SC_MODULE (Robot)
  69.             ^
  70. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  71.      struct user_module_name : ::sc_core::sc_module
  72.             ^
  73. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  74.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  75.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  76.                  from ../src/Environment.h:12,
  77.                  from ../src/Environment.cpp:8:
  78. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:273:16: error: ‘sc_core::sc_in<T>::this_type& sc_core::sc_in<T>::operator=(const this_type&) [with T = unsigned int; sc_core::sc_in<T>::this_type = sc_core::sc_in<unsigned int>]’ is private
  79.      this_type& operator = ( const this_type& );
  80.                 ^
  81. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  82.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  83.                  from ../src/Environment.h:12,
  84.                  from ../src/Environment.cpp:8:
  85. ../src/Robot.h:16:12: error: within this context
  86.  SC_MODULE (Robot)
  87.             ^
  88. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  89.      struct user_module_name : ::sc_core::sc_module
  90.             ^
  91. In file included from /usr/include/c++/4.8.3/vector:60:0,
  92.                  from ../src/Environment.h:11,
  93.                  from ../src/Environment.cpp:8:
  94. /usr/include/c++/4.8.3/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = Robot*; _OI = Robot*]:
  95. /usr/include/c++/4.8.3/bits/stl_algobase.h:390:70:   required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = Robot*; _OI = Robot*]
  96. /usr/include/c++/4.8.3/bits/stl_algobase.h:428:38:   required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = Robot*; _OI = Robot*]
  97. /usr/include/c++/4.8.3/bits/stl_algobase.h:460:17:   required from ‘_OI std::copy(_II, _II, _OI) [with _II = Robot*; _OI = Robot*]
  98. /usr/include/c++/4.8.3/bits/vector.tcc:205:26:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Robot; _Alloc = std::allocator<Robot>]
  99. ../src/Environment.cpp:12:16:   required from here
  100. /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Robot& Robot::operator=(const Robot&)
  101.         *__result = *__first;
  102.                   ^
  103. In file included from /usr/include/c++/4.8.3/vector:62:0,
  104.                  from ../src/Environment.h:11,
  105.                  from ../src/Environment.cpp:8:
  106. /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Robot; _Args = {Robot&}]:
  107. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:75:53:   required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = Robot*; _ForwardIterator = Robot*; bool _TrivialValueTypes = false]
  108. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:117:41:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = Robot*; _ForwardIterator = Robot*]
  109. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:258:63:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = Robot*; _ForwardIterator = Robot*; _Tp = Robot]
  110. /usr/include/c++/4.8.3/bits/vector.tcc:209:29:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Robot; _Alloc = std::allocator<Robot>]
  111. ../src/Environment.cpp:12:16:   required from here
  112. /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Robot::Robot(const Robot&)
  113.      { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
  114.        ^
  115. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  116.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  117.                  from ../src/Environment.h:12,
  118.                  from ../src/Environment.cpp:8:
  119. ../src/Robot.h:16:12: note: ‘Robot::Robot(const Robot&)’ is implicitly deleted because the default definition would be ill-formed:
  120.  SC_MODULE (Robot)
  121.             ^
  122. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  123.      struct user_module_name : ::sc_core::sc_module
  124.             ^
  125. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:302:5: error: ‘sc_core::sc_module::sc_module(const sc_core::sc_module&)’ is private
  126.      sc_module( const sc_module& );
  127.      ^
  128. ../src/Robot.h:16:12: error: within this context
  129.  SC_MODULE (Robot)
  130.             ^
  131. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  132.      struct user_module_name : ::sc_core::sc_module
  133.             ^
  134. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  135.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  136.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  137.                  from ../src/Environment.h:12,
  138.                  from ../src/Environment.cpp:8:
  139. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:642:5: error: ‘sc_core::sc_in<bool>::sc_in(const this_type&)’ is private
  140.      sc_in( const this_type& );
  141.      ^
  142. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  143.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  144.                  from ../src/Environment.h:12,
  145.                  from ../src/Environment.cpp:8:
  146. ../src/Robot.h:16:12: error: within this context
  147.  SC_MODULE (Robot)
  148.             ^
  149. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  150.      struct user_module_name : ::sc_core::sc_module
  151.             ^
  152. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  153.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  154.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  155.                  from ../src/Environment.h:12,
  156.                  from ../src/Environment.cpp:8:
  157. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:642:5: error: ‘sc_core::sc_in<bool>::sc_in(const this_type&)’ is private
  158.      sc_in( const this_type& );
  159.      ^
  160. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  161.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  162.                  from ../src/Environment.h:12,
  163.                  from ../src/Environment.cpp:8:
  164. ../src/Robot.h:16:12: error: within this context
  165.  SC_MODULE (Robot)
  166.             ^
  167. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  168.      struct user_module_name : ::sc_core::sc_module
  169.             ^
  170. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  171.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  172.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  173.                  from ../src/Environment.h:12,
  174.                  from ../src/Environment.cpp:8:
  175. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:272:5: error: ‘sc_core::sc_in<T>::sc_in(const this_type&) [with T = unsigned int; sc_core::sc_in<T>::this_type = sc_core::sc_in<unsigned int>]’ is private
  176.      sc_in( const this_type& );
  177.      ^
  178. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  179.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  180.                  from ../src/Environment.h:12,
  181.                  from ../src/Environment.cpp:8:
  182. ../src/Robot.h:16:12: error: within this context
  183.  SC_MODULE (Robot)
  184.             ^
  185. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  186.      struct user_module_name : ::sc_core::sc_module
  187.             ^
  188. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  189.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  190.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  191.                  from ../src/Environment.h:12,
  192.                  from ../src/Environment.cpp:8:
  193. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:1777:5: error: ‘sc_core::sc_out<T>::sc_out(const this_type&) [with T = bool; sc_core::sc_out<T>::this_type = sc_core::sc_out<bool>]’ is private
  194.      sc_out( const this_type& );
  195.      ^
  196. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  197.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  198.                  from ../src/Environment.h:12,
  199.                  from ../src/Environment.cpp:8:
  200. ../src/Robot.h:16:12: error: within this context
  201.  SC_MODULE (Robot)
  202.             ^
  203. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  204.      struct user_module_name : ::sc_core::sc_module
  205.             ^
  206. In file included from /usr/include/c++/4.8.3/vector:60:0,
  207.                  from ../src/Environment.h:11,
  208.                  from ../src/Environment.cpp:8:
  209. /usr/include/c++/4.8.3/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = const Person*; _OI = Person*]:
  210. /usr/include/c++/4.8.3/bits/stl_algobase.h:390:70:   required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const Person*; _OI = Person*]
  211. /usr/include/c++/4.8.3/bits/stl_algobase.h:428:38:   required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _OI = __gnu_cxx::__normal_iterator<Person*, std::vector<Person> >]
  212. /usr/include/c++/4.8.3/bits/stl_algobase.h:460:17:   required from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _OI = __gnu_cxx::__normal_iterator<Person*, std::vector<Person> >]
  213. /usr/include/c++/4.8.3/bits/vector.tcc:199:63:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Person; _Alloc = std::allocator<Person>]
  214. ../src/Environment.cpp:13:16:   required from here
  215. /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Person& Person::operator=(const Person&)
  216.         *__result = *__first;
  217.                   ^
  218. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  219.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  220.                  from ../src/Environment.h:12,
  221.                  from ../src/Environment.cpp:8:
  222. ../src/Person.h:16:11: note: ‘Person& Person::operator=(const Person&)’ is implicitly deleted because the default definition would be ill-formed:
  223.  SC_MODULE(Person)
  224.            ^
  225. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  226.      struct user_module_name : ::sc_core::sc_module
  227.             ^
  228. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:303:22: error:const sc_core::sc_module& sc_core::sc_module::operator=(const sc_core::sc_module&)’ is private
  229.      const sc_module& operator = ( const sc_module& );
  230.                       ^
  231. ../src/Person.h:16:11: error: within this context
  232.  SC_MODULE(Person)
  233.            ^
  234. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  235.      struct user_module_name : ::sc_core::sc_module
  236.             ^
  237. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  238.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  239.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  240.                  from ../src/Environment.h:12,
  241.                  from ../src/Environment.cpp:8:
  242. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:644:16: error: ‘sc_core::sc_in<bool>::this_type& sc_core::sc_in<bool>::operator=(const this_type&)’ is private
  243.      this_type& operator = ( const this_type& );
  244.                 ^
  245. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  246.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  247.                  from ../src/Environment.h:12,
  248.                  from ../src/Environment.cpp:8:
  249. ../src/Person.h:16:11: error: within this context
  250.  SC_MODULE(Person)
  251.            ^
  252. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  253.      struct user_module_name : ::sc_core::sc_module
  254.             ^
  255. In file included from /usr/include/c++/4.8.3/vector:60:0,
  256.                  from ../src/Environment.h:11,
  257.                  from ../src/Environment.cpp:8:
  258. /usr/include/c++/4.8.3/bits/stl_algobase.h: In instantiation of ‘static _OI std::__copy_move<false, false, std::random_access_iterator_tag>::__copy_m(_II, _II, _OI) [with _II = Person*; _OI = Person*]:
  259. /usr/include/c++/4.8.3/bits/stl_algobase.h:390:70:   required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = Person*; _OI = Person*]
  260. /usr/include/c++/4.8.3/bits/stl_algobase.h:428:38:   required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = Person*; _OI = Person*]
  261. /usr/include/c++/4.8.3/bits/stl_algobase.h:460:17:   required from ‘_OI std::copy(_II, _II, _OI) [with _II = Person*; _OI = Person*]
  262. /usr/include/c++/4.8.3/bits/vector.tcc:205:26:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Person; _Alloc = std::allocator<Person>]
  263. ../src/Environment.cpp:13:16:   required from here
  264. /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Person& Person::operator=(const Person&)
  265.         *__result = *__first;
  266.                   ^
  267. In file included from /usr/include/c++/4.8.3/vector:62:0,
  268.                  from ../src/Environment.h:11,
  269.                  from ../src/Environment.cpp:8:
  270. /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Person; _Args = {Person&}]:
  271. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:75:53:   required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = Person*; _ForwardIterator = Person*; bool _TrivialValueTypes = false]
  272. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:117:41:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = Person*; _ForwardIterator = Person*]
  273. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:258:63:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = Person*; _ForwardIterator = Person*; _Tp = Person]
  274. /usr/include/c++/4.8.3/bits/vector.tcc:209:29:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Person; _Alloc = std::allocator<Person>]
  275. ../src/Environment.cpp:13:16:   required from here
  276. /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Person::Person(const Person&)
  277.      { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
  278.        ^
  279. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  280.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  281.                  from ../src/Environment.h:12,
  282.                  from ../src/Environment.cpp:8:
  283. ../src/Person.h:16:11: note: ‘Person::Person(const Person&)’ is implicitly deleted because the default definition would be ill-formed:
  284.  SC_MODULE(Person)
  285.            ^
  286. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  287.      struct user_module_name : ::sc_core::sc_module
  288.             ^
  289. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:302:5: error: ‘sc_core::sc_module::sc_module(const sc_core::sc_module&)’ is private
  290.      sc_module( const sc_module& );
  291.      ^
  292. ../src/Person.h:16:11: error: within this context
  293.  SC_MODULE(Person)
  294.            ^
  295. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  296.      struct user_module_name : ::sc_core::sc_module
  297.             ^
  298. In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
  299.                  from /usr/local/systemc-2.3.1/include/systemc:79,
  300.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  301.                  from ../src/Environment.h:12,
  302.                  from ../src/Environment.cpp:8:
  303. /usr/local/systemc-2.3.1/include/sysc/communication/sc_signal_ports.h:642:5: error: ‘sc_core::sc_in<bool>::sc_in(const this_type&)’ is private
  304.      sc_in( const this_type& );
  305.      ^
  306. In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
  307.                  from /usr/local/systemc-2.3.1/include/systemc.h:208,
  308.                  from ../src/Environment.h:12,
  309.                  from ../src/Environment.cpp:8:
  310. ../src/Person.h:16:11: error: within this context
  311.  SC_MODULE(Person)
  312.            ^
  313. /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
  314.      struct user_module_name : ::sc_core::sc_module
  315.             ^
  316. In file included from /usr/include/c++/4.8.3/vector:62:0,
  317.                  from ../src/Environment.h:11,
  318.                  from ../src/Environment.cpp:8:
  319. /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Robot; _Args = {const Robot&}]:
  320. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:75:53:   required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _ForwardIterator = Robot*; bool _TrivialValueTypes = false]
  321. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:117:41:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _ForwardIterator = Robot*]
  322. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:258:63:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _ForwardIterator = Robot*; _Tp = Robot]
  323. /usr/include/c++/4.8.3/bits/stl_vector.h:1142:29:   required from ‘std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const Robot*, std::vector<Robot> >; _Tp = Robot; _Alloc = std::allocator<Robot>; std::vector<_Tp, _Alloc>::pointer = Robot*; std::vector<_Tp, _Alloc>::size_type = long unsigned int]
  324. /usr/include/c++/4.8.3/bits/vector.tcc:188:19:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Robot; _Alloc = std::allocator<Robot>]
  325. ../src/Environment.cpp:12:16:   required from here
  326. /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Robot::Robot(const Robot&)
  327.      { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
  328.        ^
  329. /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Person; _Args = {const Person&}]:
  330. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:75:53:   required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _ForwardIterator = Person*; bool _TrivialValueTypes = false]
  331. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:117:41:   required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _ForwardIterator = Person*]
  332. /usr/include/c++/4.8.3/bits/stl_uninitialized.h:258:63:   required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _ForwardIterator = Person*; _Tp = Person]
  333. /usr/include/c++/4.8.3/bits/stl_vector.h:1142:29:   required from ‘std::vector<_Tp, _Alloc>::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(std::vector<_Tp, _Alloc>::size_type, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = __gnu_cxx::__normal_iterator<const Person*, std::vector<Person> >; _Tp = Person; _Alloc = std::allocator<Person>; std::vector<_Tp, _Alloc>::pointer = Person*; std::vector<_Tp, _Alloc>::size_type = long unsigned int]
  334. /usr/include/c++/4.8.3/bits/vector.tcc:188:19:   required from ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = Person; _Alloc = std::allocator<Person>]
  335. ../src/Environment.cpp:13:16:   required from here
  336. /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Person::Person(const Person&)
  337. make: *** [src/Environment.o] Error 1
  338.  
  339. 17:25:17 Build Finished (took 1s.326ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement