Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 17:25:16 **** Incremental Build of configuration Debug for project Project 3 ****
- make all
- Building file: ../src/Environment.cpp
- Invoking: GCC C++ Compiler
- 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"
- In file included from /usr/include/c++/4.8.3/vector:60:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /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*]’:
- /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*]’
- /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> >]’
- /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> >]’
- /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>]’
- ../src/Environment.cpp:12:16: required from here
- /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Robot& Robot::operator=(const Robot&)’
- *__result = *__first;
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: note: ‘Robot& Robot::operator=(const Robot&)’ is implicitly deleted because the default definition would be ill-formed:
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- /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
- const sc_module& operator = ( const sc_module& );
- ^
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- this_type& operator = ( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- this_type& operator = ( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- this_type& operator = ( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/include/c++/4.8.3/vector:60:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /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*]’:
- /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*]’
- /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*]’
- /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*]’
- /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>]’
- ../src/Environment.cpp:12:16: required from here
- /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Robot& Robot::operator=(const Robot&)’
- *__result = *__first;
- ^
- In file included from /usr/include/c++/4.8.3/vector:62:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Robot; _Args = {Robot&}]’:
- /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]’
- /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*]’
- /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]’
- /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>]’
- ../src/Environment.cpp:12:16: required from here
- /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Robot::Robot(const Robot&)’
- { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: note: ‘Robot::Robot(const Robot&)’ is implicitly deleted because the default definition would be ill-formed:
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- /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
- sc_module( const sc_module& );
- ^
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- sc_in( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- sc_in( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- sc_in( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- sc_out( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Robot.h:16:12: error: within this context
- SC_MODULE (Robot)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/include/c++/4.8.3/vector:60:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /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*]’:
- /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*]’
- /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> >]’
- /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> >]’
- /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>]’
- ../src/Environment.cpp:13:16: required from here
- /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Person& Person::operator=(const Person&)’
- *__result = *__first;
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Person.h:16:11: note: ‘Person& Person::operator=(const Person&)’ is implicitly deleted because the default definition would be ill-formed:
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- /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
- const sc_module& operator = ( const sc_module& );
- ^
- ../src/Person.h:16:11: error: within this context
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- this_type& operator = ( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Person.h:16:11: error: within this context
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/include/c++/4.8.3/vector:60:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /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*]’:
- /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*]’
- /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*]’
- /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*]’
- /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>]’
- ../src/Environment.cpp:13:16: required from here
- /usr/include/c++/4.8.3/bits/stl_algobase.h:335:18: error: use of deleted function ‘Person& Person::operator=(const Person&)’
- *__result = *__first;
- ^
- In file included from /usr/include/c++/4.8.3/vector:62:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Person; _Args = {Person&}]’:
- /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]’
- /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*]’
- /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]’
- /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>]’
- ../src/Environment.cpp:13:16: required from here
- /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Person::Person(const Person&)’
- { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Person.h:16:11: note: ‘Person::Person(const Person&)’ is implicitly deleted because the default definition would be ill-formed:
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- /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
- sc_module( const sc_module& );
- ^
- ../src/Person.h:16:11: error: within this context
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/local/systemc-2.3.1/include/sysc/communication/sc_clock_ports.h:31:0,
- from /usr/local/systemc-2.3.1/include/systemc:79,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- /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
- sc_in( const this_type& );
- ^
- In file included from /usr/local/systemc-2.3.1/include/systemc:72:0,
- from /usr/local/systemc-2.3.1/include/systemc.h:208,
- from ../src/Environment.h:12,
- from ../src/Environment.cpp:8:
- ../src/Person.h:16:11: error: within this context
- SC_MODULE(Person)
- ^
- /usr/local/systemc-2.3.1/include/sysc/kernel/sc_module.h:395:12: note: in definition of macro ‘SC_MODULE’
- struct user_module_name : ::sc_core::sc_module
- ^
- In file included from /usr/include/c++/4.8.3/vector:62:0,
- from ../src/Environment.h:11,
- from ../src/Environment.cpp:8:
- /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Robot; _Args = {const Robot&}]’:
- /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]’
- /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*]’
- /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]’
- /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]’
- /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>]’
- ../src/Environment.cpp:12:16: required from here
- /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Robot::Robot(const Robot&)’
- { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
- ^
- /usr/include/c++/4.8.3/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = Person; _Args = {const Person&}]’:
- /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]’
- /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*]’
- /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]’
- /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]’
- /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>]’
- ../src/Environment.cpp:13:16: required from here
- /usr/include/c++/4.8.3/bits/stl_construct.h:75:7: error: use of deleted function ‘Person::Person(const Person&)’
- make: *** [src/Environment.o] Error 1
- 17:25:17 Build Finished (took 1s.326ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement